Value of a Characteristic Presentation Format descriptor. More...
#include <GattCharacteristic.h>
Data Fields | |
uint8_t | gatt_format |
Format of the value. More... | |
int8_t | exponent |
Exponent for integer data types. More... | |
uint16_t | gatt_unit |
Unit of the characteristic value. More... | |
uint8_t | gatt_namespace |
Namespace of the description field. More... | |
uint16_t | gatt_nsdesc |
Description. More... | |
Value of a Characteristic Presentation Format descriptor.
Characteristic Presentation Format descriptor expresses the format of a characteristic value.
Definition at line 1331 of file gatt/GattCharacteristic.h.
int8_t exponent |
Exponent for integer data types.
Example: if Exponent = -3 and the char value is 3892, the actual value is 3.892
Definition at line 1343 of file gatt/GattCharacteristic.h.
uint8_t gatt_format |
Format of the value.
Definition at line 1335 of file gatt/GattCharacteristic.h.
uint8_t gatt_namespace |
Namespace of the description field.
This field identifies the organization that is responsible for defining the enumerations for the description field.
The namespace of the Bluetooth Body is 0x01.
Definition at line 1360 of file gatt/GattCharacteristic.h.
uint16_t gatt_nsdesc |
Description.
Definition at line 1367 of file gatt/GattCharacteristic.h.
uint16_t gatt_unit |
Unit of the characteristic value.
It is a UUID from Bluetooth Assigned Numbers.
Definition at line 1350 of file gatt/GattCharacteristic.h.