sl_bt_evt_gatt_server_characteristic_statusGATT Server#
Indicates either that a local Client Characteristic Configuration descriptor was changed by the remote GATT client, or that a confirmation from the remote GATT client was received upon a successful reception of the indication.
Data Structures#
struct | sl_bt_evt_gatt_server_characteristic_status_s Data structure of the characteristic_status event. |
Macros#
#define | sl_bt_evt_gatt_server_characteristic_status_id 0x030a00a0 Identifier of the characteristic_status event. |
Detailed Description#
Indicates either that a local Client Characteristic Configuration descriptor was changed by the remote GATT client, or that a confirmation from the remote GATT client was received upon a successful reception of the indication.
Confirmation by the remote GATT client should be received within 30 seconds after an indication was sent with the sl_bt_gatt_server_send_characteristic_notification command, otherwise further GATT transactions over this connection are not allowed by the stack.
Data Structure Documentation#
sl_bt_evt_gatt_server_characteristic_status_s#
struct sl_bt_evt_gatt_server_characteristic_status_s
Data structure of the characteristic_status event.
Data Fields | ||
---|---|---|
uint8_t | connection | Connection handle |
uint16_t | characteristic | GATT characteristic handle. This value is normally received from the gatt_characteristic event. |
uint8_t | status_flags | Enum gatt_server_characteristic_status_flag_t. Describes whether Client Characteristic Configuration was changed or if a confirmation was received. Values:
|
uint16_t | client_config_flags | Enum gatt_client_config_flag_t. This field carries the new value of the Client Characteristic Configuration. If the status_flags is 0x2 (confirmation received), the value of this field can be ignored. |