Mistake on this page?
Report an issue in GitHub or email us
Data Fields
GattCharacteristic::PresentationFormat_t Struct Reference

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...
 

Detailed Description

Value of a Characteristic Presentation Format descriptor.

Characteristic Presentation Format descriptor expresses the format of a characteristic value.

Note
See Bluetooth Specification 4.0 (Vol. 3), Part G, Section 3.3.3.5.

Definition at line 1320 of file GattCharacteristic.h.

Field Documentation

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 1332 of file GattCharacteristic.h.

uint8_t gatt_format

Format of the value.

Definition at line 1324 of file 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 1349 of file GattCharacteristic.h.

uint16_t gatt_nsdesc

Description.

Note
The value 0x0000 means unknown in the Bluetooth namespace.

Definition at line 1356 of file GattCharacteristic.h.

uint16_t gatt_unit

Unit of the characteristic value.

It is a UUID from Bluetooth Assigned Numbers.

Definition at line 1339 of file GattCharacteristic.h.

Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.