Reference   Language | Libraries | Comparison | Changes

ArduinoBLE : BLEDescriptor class

valueSize()

Description

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

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.