gcm_evt_t

nRF5 SDK v10.0.0

nRF51 SDK v10.0.0

Structure containing an event from the GCM module. More...

#include <gatt_cache_manager.h>

Data Fields

gcm_evt_id_t evt_id
pm_peer_id_t peer_id
union {
gcm_evt_param_conn_handle_t local_db_cache_updated
gcm_evt_param_conn_handle_t local_db_cache_applied
gcm_evt_param_conn_handle_t error_local_db_cache_apply
gcm_evt_param_conn_handle_t service_changed_indication_sent
gcm_evt_param_conn_handle_t error_data_size
gcm_evt_param_conn_handle_t error_no_mem
struct {
uint16_t conn_handle
ret_code_t error
} error_unexpected
} params

Detailed Description

Structure containing an event from the GCM module.

Field Documentation

uint16_t gcm_evt_t::conn_handle

The handle of the connection the event pertains to.

ret_code_t gcm_evt_t::error

The unexpected error that occurred.

gcm_evt_id_t gcm_evt_t::evt_id

The type of event this is.

union { ... } gcm_evt_t::params

Event specific parameters. Chosen based on evt_id.

pm_peer_id_t gcm_evt_t::peer_id

The peer ID this event pertains to.


Please send us your feedback about the documentation! For technical questions, visit the Nordic Developer Zone .