TI BLE-Stack for Bluetooth 4.2 API Documentation
3.01.00.07
|
Parameter Structure for SNP_addDescriptionValue. More...
Data Fields | |
uint8_t | header |
1 Byte Header Field, SNP GATT Descriptors Header | |
snpAddAttrCccd_t * | pCCCD |
Pointer to Parameter Structure, snpAddAttrCccd_t. | |
snpAddAttrFormat_t * | pFormat |
Pointer to Parameter Structure, snpAddAttrFormat_t. | |
snpAddAttrGenLongUUID_t * | pLongUUID |
Pointer to Parameter Structure, snpAddAttrGenLongUUID_t. | |
snpAddAttrGenShortUUID_t * | pShortUUID |
Pointer to Parameter Structure, snpAddAttrGenShortUUID_t. | |
snpAddAttrUserDesc_t * | pUserDesc |
Pointer to Parameter Structure, snpAddAttrUserDesc_t. | |
Parameter Structure for SNP_addDescriptionValue.
snpAddCharDescDeclReq_t::header can add multiple attribute types to the characteristic. When a bit is set corresponding to the attribute type, the corresponding set of Parameter Structures must be present to be added.
Parameters Structures must appear in the same order as the bits appear in snpAddCharDescDeclReq_t::header (from least-significant bit to most-significant bit).
The first byte sent will be snpAddCharDescDeclReq_t::header will be (0x84), followed the CCCD Parameter Structure, snpAddAttrCccd_t (1 Byte), and finally followed by User Descriptor Parameter Structure snpAddAttrUserDesc_t (n Bytes)
This packet structure is not used to create a NPI frame