Reference   Language | Libraries | Comparison | Changes

ArduinoBLE : BLEDescriptor class

uuid()

Description

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());

See Also



Reference Home

Corrections, suggestions, and new documentation should be posted to the Forum.

The text of the Arduino reference is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.