ArduinoBLE - BLE.address()

Query the Bluetooth® address of the Bluetooth® Low Energy device.

Syntax

BLE.address()

Parameters

None

Returns

  • The Bluetooth® address of the Bluetooth® Low Energy device (as a String).

Example


  **String** address = BLE.address();

  Serial.print(Local address is: );
  Serial.println(address);