nRF51 SDK - S110 SoftDevice
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Characteristic Presentation Formats

Macros

#define BLE_GATT_CPF_FORMAT_RFU   0x00
 
#define BLE_GATT_CPF_FORMAT_BOOLEAN   0x01
 
#define BLE_GATT_CPF_FORMAT_2BIT   0x02
 
#define BLE_GATT_CPF_FORMAT_NIBBLE   0x03
 
#define BLE_GATT_CPF_FORMAT_UINT8   0x04
 
#define BLE_GATT_CPF_FORMAT_UINT12   0x05
 
#define BLE_GATT_CPF_FORMAT_UINT16   0x06
 
#define BLE_GATT_CPF_FORMAT_UINT24   0x07
 
#define BLE_GATT_CPF_FORMAT_UINT32   0x08
 
#define BLE_GATT_CPF_FORMAT_UINT48   0x09
 
#define BLE_GATT_CPF_FORMAT_UINT64   0x0A
 
#define BLE_GATT_CPF_FORMAT_UINT128   0x0B
 
#define BLE_GATT_CPF_FORMAT_SINT8   0x0C
 
#define BLE_GATT_CPF_FORMAT_SINT12   0x0D
 
#define BLE_GATT_CPF_FORMAT_SINT16   0x0E
 
#define BLE_GATT_CPF_FORMAT_SINT24   0x0F
 
#define BLE_GATT_CPF_FORMAT_SINT32   0x10
 
#define BLE_GATT_CPF_FORMAT_SINT48   0x11
 
#define BLE_GATT_CPF_FORMAT_SINT64   0x12
 
#define BLE_GATT_CPF_FORMAT_SINT128   0x13
 
#define BLE_GATT_CPF_FORMAT_FLOAT32   0x14
 
#define BLE_GATT_CPF_FORMAT_FLOAT64   0x15
 
#define BLE_GATT_CPF_FORMAT_SFLOAT   0x16
 
#define BLE_GATT_CPF_FORMAT_FLOAT   0x17
 
#define BLE_GATT_CPF_FORMAT_DUINT16   0x18
 
#define BLE_GATT_CPF_FORMAT_UTF8S   0x19
 
#define BLE_GATT_CPF_FORMAT_UTF16S   0x1A
 
#define BLE_GATT_CPF_FORMAT_STRUCT   0x1B
 

Detailed Description

Note
Found at http://developer.bluetooth.org/gatt/descriptors/Pages/DescriptorViewer.aspx?u=org.bluetooth.descriptor.gatt.characteristic_presentation_format.xml

Macro Definition Documentation

#define BLE_GATT_CPF_FORMAT_2BIT   0x02

Unsigned 2-bit integer.

#define BLE_GATT_CPF_FORMAT_BOOLEAN   0x01

Boolean.

#define BLE_GATT_CPF_FORMAT_DUINT16   0x18

IEEE-20601 format.

#define BLE_GATT_CPF_FORMAT_FLOAT   0x17

IEEE-11073 32-bit FLOAT.

#define BLE_GATT_CPF_FORMAT_FLOAT32   0x14

IEEE-754 32-bit floating point.

#define BLE_GATT_CPF_FORMAT_FLOAT64   0x15

IEEE-754 64-bit floating point.

#define BLE_GATT_CPF_FORMAT_NIBBLE   0x03

Unsigned 4-bit integer.

#define BLE_GATT_CPF_FORMAT_RFU   0x00

Reserved For Future Use.

#define BLE_GATT_CPF_FORMAT_SFLOAT   0x16

IEEE-11073 16-bit SFLOAT.

#define BLE_GATT_CPF_FORMAT_SINT12   0x0D

Signed 12-bit integer.

#define BLE_GATT_CPF_FORMAT_SINT128   0x13

Signed 128-bit integer.

#define BLE_GATT_CPF_FORMAT_SINT16   0x0E

Signed 16-bit integer.

#define BLE_GATT_CPF_FORMAT_SINT24   0x0F

Signed 24-bit integer.

#define BLE_GATT_CPF_FORMAT_SINT32   0x10

Signed 32-bit integer.

#define BLE_GATT_CPF_FORMAT_SINT48   0x11

Signed 48-bit integer.

#define BLE_GATT_CPF_FORMAT_SINT64   0x12

Signed 64-bit integer.

#define BLE_GATT_CPF_FORMAT_SINT8   0x0C

Signed 2-bit integer.

#define BLE_GATT_CPF_FORMAT_STRUCT   0x1B

Opaque Structure.

#define BLE_GATT_CPF_FORMAT_UINT12   0x05

Unsigned 12-bit integer.

#define BLE_GATT_CPF_FORMAT_UINT128   0x0B

Unsigned 128-bit integer.

#define BLE_GATT_CPF_FORMAT_UINT16   0x06

Unsigned 16-bit integer.

#define BLE_GATT_CPF_FORMAT_UINT24   0x07

Unsigned 24-bit integer.

#define BLE_GATT_CPF_FORMAT_UINT32   0x08

Unsigned 32-bit integer.

#define BLE_GATT_CPF_FORMAT_UINT48   0x09

Unsigned 48-bit integer.

#define BLE_GATT_CPF_FORMAT_UINT64   0x0A

Unsigned 64-bit integer.

#define BLE_GATT_CPF_FORMAT_UINT8   0x04

Unsigned 8-bit integer.

#define BLE_GATT_CPF_FORMAT_UTF16S   0x1A

UTF-16 string.

#define BLE_GATT_CPF_FORMAT_UTF8S   0x19

UTF-8 string.