Reference   Language | Libraries | Comparison | Changes

ArduinoBLE : BLEDescriptor class

BLEDescriptor()

Description

Create a new BLE descriptor.

Syntax

BLEDescriptor(uuid, value, valueSize)
BLEDescriptor(uuid, stringValue)

Parameters

uuid: 16-bit or 128-bit UUID in string format
value: byte array value
valueSize: size of byte array value
stringValue: value as a string

Returns

New BLEDescriptor with the specified UUID and value

Example


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

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.