dragoon  4383
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
ble_gattc_evt_t Struct Reference

GATTC event structure. More...

#include <ble_gattc.h>

Data Fields

uint16_t conn_handle
 
uint16_t gatt_status
 
uint16_t error_handle
 
union {
   ble_gattc_evt_prim_srvc_disc_rsp_t   prim_srvc_disc_rsp
 
   ble_gattc_evt_rel_disc_rsp_t   rel_disc_rsp
 
   ble_gattc_evt_char_disc_rsp_t   char_disc_rsp
 
   ble_gattc_evt_desc_disc_rsp_t   desc_disc_rsp
 
   ble_gattc_evt_char_val_by_uuid_read_rsp_t   char_val_by_uuid_read_rsp
 
   ble_gattc_evt_read_rsp_t   read_rsp
 
   ble_gattc_evt_char_vals_read_rsp_t   char_vals_read_rsp
 
   ble_gattc_evt_write_rsp_t   write_rsp
 
   ble_gattc_evt_hvx_t   hvx
 
   ble_gattc_evt_exchange_mtu_rsp_t   exchange_mtu_rsp
 
   ble_gattc_evt_timeout_t   timeout
 
   ble_gattc_evt_attr_info_disc_rsp_t   attr_info_disc_rsp
 
   ble_gattc_evt_write_cmd_tx_complete_t   write_cmd_tx_complete
 
params
 

Detailed Description

GATTC event structure.

Definition at line 323 of file ble_gattc.h.

Field Documentation

ble_gattc_evt_attr_info_disc_rsp_t ble_gattc_evt_t::attr_info_disc_rsp

Attribute Information Discovery Event Parameters.

Definition at line 341 of file ble_gattc.h.

ble_gattc_evt_char_disc_rsp_t ble_gattc_evt_t::char_disc_rsp

Characteristic Discovery Response Event Parameters.

Definition at line 332 of file ble_gattc.h.

ble_gattc_evt_char_val_by_uuid_read_rsp_t ble_gattc_evt_t::char_val_by_uuid_read_rsp

Characteristic Value Read by UUID Response Event Parameters.

Definition at line 334 of file ble_gattc.h.

Referenced by sd_ble_gattc_evt_char_val_by_uuid_read_rsp_iter().

ble_gattc_evt_char_vals_read_rsp_t ble_gattc_evt_t::char_vals_read_rsp

Characteristic Values Read Response Event Parameters.

Definition at line 336 of file ble_gattc.h.

uint16_t ble_gattc_evt_t::conn_handle

Connection Handle on which event occurred.

Definition at line 325 of file ble_gattc.h.

ble_gattc_evt_desc_disc_rsp_t ble_gattc_evt_t::desc_disc_rsp

Descriptor Discovery Response Event Parameters.

Definition at line 333 of file ble_gattc.h.

uint16_t ble_gattc_evt_t::error_handle

In case of error: The handle causing the error. In all other cases BLE_GATT_HANDLE_INVALID.

Definition at line 327 of file ble_gattc.h.

ble_gattc_evt_exchange_mtu_rsp_t ble_gattc_evt_t::exchange_mtu_rsp

Exchange MTU Response Event Parameters.

Definition at line 339 of file ble_gattc.h.

uint16_t ble_gattc_evt_t::gatt_status

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

Definition at line 326 of file ble_gattc.h.

ble_gattc_evt_hvx_t ble_gattc_evt_t::hvx

Handle Value Notification/Indication Event Parameters.

Definition at line 338 of file ble_gattc.h.

union { ... } ble_gattc_evt_t::params

Event Parameters.

Note
Only valid if gatt_status == BLE_GATT_STATUS_SUCCESS.

Referenced by sd_ble_gattc_evt_char_val_by_uuid_read_rsp_iter().

ble_gattc_evt_prim_srvc_disc_rsp_t ble_gattc_evt_t::prim_srvc_disc_rsp

Primary Service Discovery Response Event Parameters.

Definition at line 330 of file ble_gattc.h.

ble_gattc_evt_read_rsp_t ble_gattc_evt_t::read_rsp

Read Response Event Parameters.

Definition at line 335 of file ble_gattc.h.

ble_gattc_evt_rel_disc_rsp_t ble_gattc_evt_t::rel_disc_rsp

Relationship Discovery Response Event Parameters.

Definition at line 331 of file ble_gattc.h.

ble_gattc_evt_timeout_t ble_gattc_evt_t::timeout

Timeout Event Parameters.

Definition at line 340 of file ble_gattc.h.

ble_gattc_evt_write_cmd_tx_complete_t ble_gattc_evt_t::write_cmd_tx_complete

Write without Response transmission complete Event Parameters.

Definition at line 342 of file ble_gattc.h.

ble_gattc_evt_write_rsp_t ble_gattc_evt_t::write_rsp

Write Response Event Parameters.

Definition at line 337 of file ble_gattc.h.


The documentation for this struct was generated from the following file: