ArduinoBLE - valueSize()

Query the value size of the specified BLEDescriptor.

Syntax

bleDescriptor.valueSize()

Parameters

None

Returns

Value size (in bytes) of the BLE descriptor.

Example


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


Serial.print(millis label descriptor value size = );
Serial.println(millisLabelDescriptor.valueSize());