Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of nrf51-sdk by
ble_gattc_evt_t Struct Reference
[Structures]
GATTC event structure. More...
#include <ble_gattc.h>
Data Fields | |
uint16_t | conn_handle |
Connection Handle on which event occured. | |
uint16_t | gatt_status |
GATT status code for the operation, see GATT Status Codes. | |
uint16_t | error_handle |
In case of error: The handle causing the error. | |
union { | |
ble_gattc_evt_prim_srvc_disc_rsp_t prim_srvc_disc_rsp | |
Primary Service Discovery Response Event Parameters. | |
ble_gattc_evt_rel_disc_rsp_t rel_disc_rsp | |
Relationship Discovery Response Event Parameters. | |
ble_gattc_evt_char_disc_rsp_t char_disc_rsp | |
Characteristic Discovery Response Event Parameters. | |
ble_gattc_evt_desc_disc_rsp_t desc_disc_rsp | |
Descriptor Discovery Response Event Parameters. | |
ble_gattc_evt_char_val_by_uuid_read_rsp_t char_val_by_uuid_read_rsp | |
Characteristic Value Read by UUID Response Event Parameters. | |
ble_gattc_evt_read_rsp_t read_rsp | |
Read Response Event Parameters. | |
ble_gattc_evt_char_vals_read_rsp_t char_vals_read_rsp | |
Characteristic Values Read Response Event Parameters. | |
ble_gattc_evt_write_rsp_t write_rsp | |
Write Response Event Parameters. | |
ble_gattc_evt_hvx_t hvx | |
Handle Value Notification/Indication Event Parameters. | |
ble_gattc_evt_timeout_t timeout | |
Timeout Event Parameters. | |
} | params |
Event Parameters. |
Detailed Description
GATTC event structure.
Definition at line 240 of file ble_gattc.h.
Field Documentation
Characteristic Discovery Response Event Parameters.
Definition at line 249 of file ble_gattc.h.
Characteristic Value Read by UUID Response Event Parameters.
Definition at line 251 of file ble_gattc.h.
Characteristic Values Read Response Event Parameters.
Definition at line 253 of file ble_gattc.h.
uint16_t conn_handle |
Connection Handle on which event occured.
Definition at line 242 of file ble_gattc.h.
Descriptor Discovery Response Event Parameters.
Definition at line 250 of file ble_gattc.h.
uint16_t error_handle |
In case of error: The handle causing the error.
In all other cases BLE_GATT_HANDLE_INVALID.
Definition at line 244 of file ble_gattc.h.
uint16_t gatt_status |
GATT status code for the operation, see GATT Status Codes.
Definition at line 243 of file ble_gattc.h.
Handle Value Notification/Indication Event Parameters.
Definition at line 255 of file ble_gattc.h.
union { ... } params |
Event Parameters.
- Note:
- Only valid if gatt_status == BLE_GATT_STATUS_SUCCESS.
Primary Service Discovery Response Event Parameters.
Definition at line 247 of file ble_gattc.h.
Read Response Event Parameters.
Definition at line 252 of file ble_gattc.h.
Relationship Discovery Response Event Parameters.
Definition at line 248 of file ble_gattc.h.
Timeout Event Parameters.
Definition at line 256 of file ble_gattc.h.
Write Response Event Parameters.
Definition at line 254 of file ble_gattc.h.
Generated on Tue Jul 12 2022 14:11:24 by
