nRF51 SDK - S130 SoftDevice
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
ble_cts_c_s Struct Reference

Current Time Service client structure. This structure contains status information for the client. More...

#include <ble_cts_c.h>

Data Fields

ble_cts_c_evt_handler_t evt_handler
 
ble_srv_error_handler_t error_handler
 
uint16_t current_time_handle
 
uint16_t cts_cccd_handle
 
uint16_t conn_handle
 

Detailed Description

Current Time Service client structure. This structure contains status information for the client.

Field Documentation

uint16_t ble_cts_c_s::conn_handle

Handle of the current connection. BLE_CONN_HANDLE_INVALID if not in a connection.

uint16_t ble_cts_c_s::cts_cccd_handle

Handle of the CCCD of the Current Time Characteristic at the peer.

uint16_t ble_cts_c_s::current_time_handle

Handle of Current Time Characteristic at the peer (handles are provided by the BLE stack through the DB Discovery module).

ble_srv_error_handler_t ble_cts_c_s::error_handler

Function to be called if an error occurs.

ble_cts_c_evt_handler_t ble_cts_c_s::evt_handler

Event handler to be called for handling events from the Current Time Service client.