sl_bt_evt_gatt_procedure_completedGATT Client#

Indicates that the current GATT procedure was completed successfully or that it failed with an error.

Data Structures#

struct

sl_bt_evt_gatt_procedure_completed_s

Data structure of the procedure_completed event.

Macros#

#define

sl_bt_evt_gatt_procedure_completed_id   0x060900a0

Identifier of the procedure_completed event.

Detailed Description#

Indicates that the current GATT procedure was completed successfully or that it failed with an error.

All GATT commands excluding sl_bt_gatt_write_characteristic_value_without_response and sl_bt_gatt_send_characteristic_confirmation will trigger this event. As a result, the application must wait for this event before issuing another GATT command (excluding the two aforementioned exceptions).

Note: After a failed GATT procedure with SL_STATUS_TIMEOUT error, further GATT transactions over this connection are not allowed by the stack.

Data Structure Documentation#

sl_bt_evt_gatt_procedure_completed_s#

struct sl_bt_evt_gatt_procedure_completed_s Data structure of the procedure_completed event.

Data Fields

uint8_t

connection

Connection handle

uint16_t

result

Result code

  • 0: success

  • Non-zero: an error has occurred