![]() |
Cordio Stack and Cordio Profiles
r2p3-02rel0
|
Functions | |
| void | SvcRscsAddGroup (void) |
| Add the services to the attribute server. More... | |
| void | SvcRscsRemoveGroup (void) |
| Remove the services from the attribute server. More... | |
| void | SvcRscsCbackRegister (attsReadCback_t readCback, attsWriteCback_t writeCback) |
| Register callbacks for the service. More... | |
RSC Feature Bits | |
Running Speed and Cadence Feature Bits of the Feature Characteristic | |
| #define | RSCS_ISLMS_FEATURE_BIT (1<<0) |
| Instantaneous Stride Length Measurement Supported Feature Mask Bit. | |
| #define | RSCS_TDMS_FEATURE_BIT (1<<1) |
| Total Distance Measurement Supported Feature Mask Bit. | |
| #define | RSCS_WRSS_FEATURE_BIT (1<<2) |
| Walking or Running Status Supported Feature Mask Bit. | |
| #define | RSCS_CPS_FEATURE_BIT (1<<3) |
| Calibration Procedure Supported Feature Mask Bit. | |
| #define | RSCS_MSLS_FEATURE_BIT (1<<4) |
| Multiple Sensor Locations Supporte Feature Mask Bit. | |
| #define | RSCS_ALL_FEATURES (0x7) |
| TODO: Set to all supported features. More... | |
Running Speed and Cadence Service Handles | |
| enum | { RSCS_SVC_HDL = RSCS_START_HDL, RSCS_RSF_CH_HDL, RSCS_RSF_HDL, RSCS_RSM_CH_HDL, RSCS_RSM_HDL, RSCS_RSM_CH_CCC_HDL, RSCS_SL_CH_HDL, RSCS_SL_HDL, RSCS_MAX_HDL } |
| Running Speed Service Handles. More... | |
| #define | RSCS_START_HDL 0x04A0 |
| Start handle. | |
| #define | RSCS_END_HDL (RSCS_MAX_HDL - 1) |
| End handle. | |
| #define RSCS_ALL_FEATURES (0x7) |
TODO: Set to all supported features.
All Supported Feature Mask
Definition at line 47 of file svc_rscs.h.
| anonymous enum |
Running Speed Service Handles.
Definition at line 66 of file svc_rscs.h.
| void SvcRscsAddGroup | ( | void | ) |
Add the services to the attribute server.
| void SvcRscsRemoveGroup | ( | void | ) |
Remove the services from the attribute server.
| void SvcRscsCbackRegister | ( | attsReadCback_t | readCback, |
| attsWriteCback_t | writeCback | ||
| ) |
Register callbacks for the service.
| readCback | Read callback function. |
| writeCback | Write callback function. |