SG RFID nRF51822 fork

Fork of nRF51822 by Nordic Semiconductor

Embed: (wiki syntax)

« Back to documentation index

ble_sc_ctrlpt_s Struct Reference

ble_sc_ctrlpt_s Struct Reference
[Speed and Cadence Control Point]

Speed and Cadence Control Point structure. More...

#include <ble_sc_ctrlpt.h>

Data Fields

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.
ble_sc_ctrlpt_evt_handler_t evt_handler
 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.
ble_sc_ctrlpt_resp_t response
 pending response data.

Detailed Description

Speed and Cadence Control Point structure.

This contains various status information for the Speed and Cadence Control Point behavior.

Definition at line 145 of file ble_sc_ctrlpt.h.


Field Documentation

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).

Definition at line 150 of file ble_sc_ctrlpt.h.

Function to be called in case of an error.

Definition at line 156 of file ble_sc_ctrlpt.h.

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

Definition at line 153 of file ble_sc_ctrlpt.h.

ble_sensor_location_t list_supported_locations[BLE_NB_MAX_SENSOR_LOCATIONS]

list of supported sensor locations.

Definition at line 151 of file ble_sc_ctrlpt.h.

status of possible procedure

Definition at line 155 of file ble_sc_ctrlpt.h.

pending response data.

Definition at line 157 of file ble_sc_ctrlpt.h.

Handles related to the Speed and Cadence Control Point characteristic.

Definition at line 149 of file ble_sc_ctrlpt.h.

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

Definition at line 154 of file ble_sc_ctrlpt.h.

uint16_t service_handle

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

Definition at line 148 of file ble_sc_ctrlpt.h.

number of supported sensor locations in the list.

Definition at line 152 of file ble_sc_ctrlpt.h.

supported control point functionnalities see BLE_SRV_SC_CTRLPT_SUPP_FUNC.

Definition at line 147 of file ble_sc_ctrlpt.h.