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

Structure for sending a GATT Handle Value Notification or Indication.

Field Documentation

FieldDescription
charHandleCharacteristic handle for the notification or indication.
charLengthLength of the characteristic data to be sent. Maximum is limited by the array size of charValue.
charValueData buffer containing the characteristic value for notification or indication.
sendTypeType of operation (notification or indication) as defined in ATT opcodes (ATT_HANDLE_VALUE_NTF or ATT_HANDLE_VALUE_IND).