Zephyr API Documentation 4.1.99
A Scalable Open Source RTOS
|
|
4.1.99 |
GATT Characteristic Presentation Format Attribute Value. More...
#include <gatt.h>
Data Fields | |
uint8_t | format |
Format of the value of the characteristic. | |
int8_t | exponent |
Exponent field for value formatting. | |
uint16_t | unit |
UUID of the unit of the characteristic. | |
uint8_t | name_space |
Name space of the description. | |
uint16_t | description |
Description of the characteristic as defined in a higher layer profile. | |
GATT Characteristic Presentation Format Attribute Value.
Used in the discovery of standard characteristic descriptor values. Can be used with the BT_GATT_CPF macro to declare the CPF descriptor.
uint16_t bt_gatt_cpf::description |
Description of the characteristic as defined in a higher layer profile.
An enumerated value defined by the organization identified by the name_space field. See section 2.4.2.1 of the Bluetooth SIG Assigned Numbers document.
int8_t bt_gatt_cpf::exponent |
Exponent field for value formatting.
Only used on integer format types. actual value = Characteristic Value x 10^Exponent
uint8_t bt_gatt_cpf::format |
Format of the value of the characteristic.
The format types can be found in section 2.4.1 of the Bluetooth SIG Assigned Numbers document.
uint8_t bt_gatt_cpf::name_space |
Name space of the description.
Used to identify the organization that is responsible for defining the enumerations for the description field. See section 2.4.2 of the Bluetooth SIG Assigned Numbers document.
uint16_t bt_gatt_cpf::unit |
UUID of the unit of the characteristic.
The units can be found in section 3.5 of the Bluetooth SIG Assigned Numbers document.