Skip to main content

bluetooth.address()

Returns the imp’s Bluetooth MAC address

Availability

Device
Only available on the imp004m (impOS 38+) and imp006 (impOS 42+)

Returns

String — A 12-character hexadecimal address

Description

This method returns the local Bluetooth address, either the hardware-set address or, on the imp004m only, a programmatically applied address set using the mac parameter of bluetooth.open().