ArduinoBLE - BLEDescriptor()

Create a new Bluetooth® Low Energy 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");