Patched version of nrf51822 FOTA compatible driver, with GPTIO disabled, as it clashed with the mbed definitions...

Fork of nRF51822 by Nordic Semiconductor

Embed: (wiki syntax)

« Back to documentation index

ble_gattc_evt_t Struct Reference

ble_gattc_evt_t Struct Reference
[Structures]

GATTC event type. 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 type.

Definition at line 216 of file ble_gattc.h.


Field Documentation

Characteristic Discovery Response Event Parameters.

Definition at line 225 of file ble_gattc.h.

Characteristic Value Read by UUID Response Event Parameters.

Definition at line 227 of file ble_gattc.h.

Characteristic Values Read Response Event Parameters.

Definition at line 229 of file ble_gattc.h.

uint16_t conn_handle

Connection Handle on which event occured.

Definition at line 218 of file ble_gattc.h.

Descriptor Discovery Response Event Parameters.

Definition at line 226 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 220 of file ble_gattc.h.

uint16_t gatt_status

GATT status code for the operation, see GATT Status Codes.

Definition at line 219 of file ble_gattc.h.

Handle Value Notification/Indication Event Parameters.

Definition at line 231 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 223 of file ble_gattc.h.

Read Response Event Parameters.

Definition at line 228 of file ble_gattc.h.

Relationship Discovery Response Event Parameters.

Definition at line 224 of file ble_gattc.h.

Timeout Event Parameters.

Definition at line 232 of file ble_gattc.h.

Write Response Event Parameters.

Definition at line 230 of file ble_gattc.h.