NimBLE-Arduino 2.1.2
|
#include <ble_gatt.h>
Public Attributes | |
uint8_t | format |
int8_t | exponent |
uint16_t | unit |
uint8_t | name_space |
uint16_t | description |
Client Presentation Format Descriptor Defines the format of the Characteristic Value.
+----------—+---------—+ | Field Name | Value Size | +----------—+---------—+ | Format | 1 octet | | Exponent | 1 octet | | Unit | 2 octets | | Name Space | 1 octet | | Description | 2 octets | +----------—+---------—+
uint16_t ble_gatt_cpfd::description |
The description of this characteristic. Depends on name space.
int8_t ble_gatt_cpfd::exponent |
Exponent field. Multiplies the value to 10^exponent. Type: sint8
uint8_t ble_gatt_cpfd::format |
Format of the value of this characteristic. e.g. UINT32 Cannot be 0x00. 0x00 represents CPFD array is ended.
uint8_t ble_gatt_cpfd::name_space |
The name space of the description.
uint16_t ble_gatt_cpfd::unit |
The unit of this characteristic. e.g. meters per second