ArduinoBLE - uuid()

Query the UUID of the specified BLEDescriptor.

Syntax

bleDescriptor.uuid()

Parameters

None

Returns

UUID of the BLE descriptor (as a String).

Example


BLEDescriptor millisLabelDescriptor("2901", "millis");


Serial.print(millis label descriptor UUID = );
Serial.println(millisLabelDescriptor.uuid());