GATTS_HandleValueParams_T

C

typedef struct GATTS_HandleValueParams_T
{
    uint16_t    charHandle;
    uint16_t    charLength;
    uint8_t     charValue[BLE_ATT_MAX_MTU_LEN - ATT_HANDLE_VALUE_HEADER_SIZE];
    uint8_t     sendType;
}   GATTS_HandleValueParams_T;

Description

GATT Handle Value Notification/Indication parameters.

Field Documentation

FieldDescription
charHandleHandle of the characteristic to be notified/indicated.
charLengthLength of the characteristic to be notified/indicated. Max value limited to size of charValue.
charValueCharacteristic value to be notified/indicated.
sendTypeFlag indicating Notification or Indication. See ATT opcodes. Only ATT_HANDLE_VALUE_NTF/ATT_HANDLE_VALUE_IND are allowed.