NimBLE-Arduino 2.1.2
Loading...
Searching...
No Matches

#include <ble_gatt.h>

Public Attributes

uint8_t format
 
int8_t exponent
 
uint16_t unit
 
uint8_t name_space
 
uint16_t description
 

Detailed 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 | +----------—+---------—+

Member Data Documentation

◆ description

uint16_t ble_gatt_cpfd::description

The description of this characteristic. Depends on name space.

◆ exponent

int8_t ble_gatt_cpfd::exponent

Exponent field. Multiplies the value to 10^exponent. Type: sint8

◆ format

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.

◆ name_space

uint8_t ble_gatt_cpfd::name_space

The name space of the description.

◆ unit

uint16_t ble_gatt_cpfd::unit

The unit of this characteristic. e.g. meters per second