![]() |
Cordio Stack and Cordio Profiles
r2p3-02rel0
|
Functions | |
void | SvcCscsAddGroup (void) |
Add the services to the attribute server. More... | |
void | SvcCscsRemoveGroup (void) |
Remove the services from the attribute server. More... | |
void | SvcCscsCbackRegister (attsReadCback_t readCback, attsWriteCback_t writeCback) |
Register callbacks for the service. More... | |
CSC Feature Bits | |
Cycle Speed and Cadence Feature Bits of the Feature Characteristic. | |
#define | CSCS_WRDS_FEATURE_BIT (1<<0) |
Wheel Revolution Data Supported Feature Mask Bit. | |
#define | CSCS_CRDS_FEATURE_BIT (1<<1) |
Crank Revolution Data Supported Feature Mask Bit. | |
#define | CSCS_MSLS_FEATURE_BIT (1<<2) |
Multiple Sensor Locations Supporte Feature Mask Bit. | |
#define | CSCS_ALL_FEATURES (0x3) |
TODO: Set to all supported features. More... | |
Cycling Speed and Cadence Service Handles | |
enum | { CSCS_SVC_HDL = CSCS_START_HDL, CSCS_CSF_CH_HDL, CSCS_CSF_HDL, CSCS_CSM_CH_HDL, CSCS_CSM_HDL, CSCS_CSM_CH_CCC_HDL, CSCS_SL_CH_HDL, CSCS_SL_HDL, CSCS_MAX_HDL } |
Cycling Speed Service Handles. More... | |
#define | CSCS_START_HDL 0x0450 |
Start handle. | |
#define | CSCS_END_HDL (CSCS_MAX_HDL - 1) |
End handle. | |
#define CSCS_ALL_FEATURES (0x3) |
TODO: Set to all supported features.
All Supported Feature Mask
Definition at line 46 of file svc_cscs.h.
anonymous enum |
Cycling Speed Service Handles.
Definition at line 65 of file svc_cscs.h.
void SvcCscsAddGroup | ( | void | ) |
Add the services to the attribute server.
void SvcCscsRemoveGroup | ( | void | ) |
Remove the services from the attribute server.
void SvcCscsCbackRegister | ( | attsReadCback_t | readCback, |
attsWriteCback_t | writeCback | ||
) |
Register callbacks for the service.
readCback | Read callback function. |
writeCback | Write callback function. |