This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

what is BLE_SRV_SC_CTRLPT_SUPP_FUNC

Hello, I try to implement the BLE / Cycling Speed and Cadence Service and try to figure out, how to initialize the ble_cscs_init_t data structure. Currently I'm wonder how the ctrplt_supported_functions field is supposed to be filled. The doxygen documentation refers to BLE_SRV_SC_CTRLPT_SUPP_FUNC and when I search the source code for BLE_SRV_SC_CTRLPT_SUPP_FUNC, I find only comments refering to BLE_SRV_SC_CTRLPT_SUPP_FUNC.

Any hints?

TIA Torsten

  • cscs_init.ctrplt_supported_functions = BLE_SRV_SC_CTRLPT_CUM_VAL_OP_SUPPORTED | BLE_SRV_SC_CTRLPT_SENSOR_LOCATIONS_OP_SUPPORTED | BLE_SRV_SC_CTRLPT_START_CALIB_OP_SUPPORTED;