ble.setValueFormat()

Description

Sets the optional characteristic presentation format descriptor. This is not required for most characteristics, but may be required by certain adopted characteristics or by a custom use case. For integer value formats, the actual value is equal to storedValue*(10^valueExponent)

Syntax

ble.setLogLevel(&bleChar, valueFormat);

ble.setLogLevel(&bleChar, valueFormat, valueExponent);

Parameters

&bleChar: A pointer to a BLE_Char.

valueFormat: An unsigned integer specifying the data type of the characteristic value. Here is a list from the official Bluetooth SIG website.

valueExponent: A signed 8 bit integer only required for integer value formats.

Returns

Nothing

Guide Home