nRF51 SDK
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
ble_sc_ctrlpt_s Struct Reference

Data Fields

uint8_t supported_functions
 
uint16_t service_handle
 
ble_gatts_char_handles_t sc_ctrlpt_handles
 
uint16_t conn_handle
 
ble_sensor_location_t list_supported_locations [BLE_NB_MAX_SENSOR_LOCATIONS]
 
uint8_t size_list_supported_locations
 
ble_sc_ctrlpt_evt_handler_t evt_handler
 
uint16_t sensor_location_handle
 
ble_scpt_procedure_status_t procedure_status
 
ble_srv_error_handler_t error_handler
 
ble_sc_ctrlpt_resp_t response
 

Field Documentation

uint8_t supported_functions

supported control point functionnalities see BLE_SRV_SC_CTRLPT_SUPP_FUNC.

uint16_t service_handle

Handle of the parent service (as provided by the BLE stack).

ble_gatts_char_handles_t sc_ctrlpt_handles

Handles related to the Speed and Cadence Control Point characteristic.

uint16_t conn_handle

Handle of the current connection (as provided by the BLE stack, is BLE_CONN_HANDLE_INVALID if not in a connection).

ble_sensor_location_t list_supported_locations[BLE_NB_MAX_SENSOR_LOCATIONS]

list of supported sensor locations.

uint8_t size_list_supported_locations

number of supported sensor locations in the list.

Handle of the parent service (as provided by the BLE stack).

uint16_t sensor_location_handle

handle for the sensor location characteristic (if sensor_location related operation are supported).

ble_scpt_procedure_status_t procedure_status

status of possible procedure

ble_srv_error_handler_t error_handler

Function to be called in case of an error.

pending response data.