![](/media/cache/profiles/1b8833c58d3a24b62eb45027f94d093e.jpg.50x50_q85.jpg)
Knight Rider PIO sample for teckBASIC, konashi.js
Dependencies: BLE_API_Native_IRC mbed
Fork of BLE_konashi_PIO_test by
GattCharacteristic::PresentationFormat Struct Reference
GATT presentation format wrapper. More...
#include <GattCharacteristic.h>
Data Fields | |
uint8_t | gatt_format |
Format of the value, see ble_gatt_format_t. | |
int8_t | exponent |
Exponent for integer data types. | |
uint16_t | gatt_unit |
UUID from Bluetooth Assigned Numbers, see ble_gatt_unit_t. | |
uint8_t | gatt_namespace |
Namespace from Bluetooth Assigned Numbers, normally '1', see GATT Bluetooth Namespaces. | |
uint16_t | gatt_nsdesc |
Namespace description from Bluetooth Assigned Numbers, normally '0', see GATT Bluetooth Namespaces. |
Detailed Description
GATT presentation format wrapper.
- Note:
- See Bluetooth Specification 4.0 (Vol. 3), Part G, Section 3.3.3.5
- See https://developer.bluetooth.org/gatt/descriptors/Pages/DescriptorViewer.aspx?u=org.bluetooth.descriptor.gatt.characteristic_presentation_format.xml
Definition at line 297 of file GattCharacteristic.h.
Field Documentation
int8_t exponent |
Exponent for integer data types.
Ex. if Exponent = -3 and the char value is 3892, the actual value is 3.892
Definition at line 300 of file GattCharacteristic.h.
uint8_t gatt_format |
Format of the value, see ble_gatt_format_t.
Definition at line 299 of file GattCharacteristic.h.
uint8_t gatt_namespace |
Namespace from Bluetooth Assigned Numbers, normally '1', see GATT Bluetooth Namespaces.
Definition at line 302 of file GattCharacteristic.h.
uint16_t gatt_nsdesc |
Namespace description from Bluetooth Assigned Numbers, normally '0', see GATT Bluetooth Namespaces.
Definition at line 303 of file GattCharacteristic.h.
uint16_t gatt_unit |
UUID from Bluetooth Assigned Numbers, see ble_gatt_unit_t.
Definition at line 301 of file GattCharacteristic.h.
Generated on Tue Jul 12 2022 16:55:09 by
![doxygen](doxygen.png)