![]() |
Cordio Stack and Cordio Profiles
r2p3-02rel0
|
Functions | |
| void | SvcCpsAddGroup (void) |
| Add the services to the attribute server. More... | |
| void | SvcCpsRemoveGroup (void) |
| Remove the services from the attribute server. More... | |
| void | SvcCpsCbackRegister (attsReadCback_t readCback, attsWriteCback_t writeCback) |
| Register callbacks for the service. More... | |
Cycling Power Feature Bits | |
| #define | CPP_PPBS_FEATURE_BIT (1<<0) |
| Pedal Power Balance Supported Feature Mask Bit. | |
| #define | CPP_ATS_FEATURE_BIT (1<<1) |
| Accumulated Torque Supported Feature Mask Bit. | |
| #define | CPP_WRDS_FEATURE_BIT (1<<2) |
| Wheel Revolution Data Supported Feature Mask Bit. | |
| #define | CPP_CRDS_FEATURE_BIT (1<<3) |
| Crank Revolution Data Supported Feature Mask Bit. | |
| #define | CPP_EMS_FEATURE_BIT (1<<4) |
| Extreme Magnitudes Supported Feature Mask Bit. | |
| #define | CPP_EAS_FEATURE_BIT (1<<5) |
| Extreme Angles Supported Feature Mask Bit. | |
| #define | CPP_TABDSAS_FEATURE_BIT (1<<6) |
| Top and Bottom Dead Spot Angles Supported Feature Mask Bit. | |
| #define | CPP_AES_FEATURE_BIT (1<<7) |
| Accumulated Energy Supported Feature Mask Bit. | |
| #define | CPP_OCIS_FEATURE_BIT (1<<8) |
| Offset Compensation Indicator Supported Feature Mask Bit. | |
| #define | CPP_OCS_FEATURE_BIT (1<<9) |
| Offset Compensation Supported Feature Mask Bit. | |
| #define | CPP_CPMCCM_FEATURE_BIT (1<<10) |
| Cycling Power Measurement Characteristic Content Masking Supported Offset Compensation Supported Feature Mask Bit. | |
| #define | CPP_MSLS_FEATURE_BIT (1<<11) |
| Multiple Sensor Locations Supported Feature Mask Bit. | |
| #define | CPP_CLAS_FEATURE_BIT (1<<12) |
| Crank Length Adjustment Supported Feature Mask Bit. | |
| #define | CPP_CHLAS_FEATURE_BIT (1<<13) |
| Chain Length Adjustment Supported Feature Mask Bit. | |
| #define | CPP_CHWAS_FEATURE_BIT (1<<14) |
| Chain Weight Adjustment Supported Feature Mask Bit. | |
| #define | CPP_SLAS_FEATURE_BIT (1<<15) |
| Span Length Adjustment Supported Feature Mask Bit. | |
| #define | CPP_SMC_FEATURE_BIT (1<<16) |
| Sensor Measurement Contex (0: FORCE, 1: TORQUE) | |
| #define | CPP_IMDS_FEATURE_BIT (1<<17) |
| Instantaneous Measurement Direction Supported. | |
| #define | CPP_FCDS_FEATURE_BIT (1<<18) |
| Factory Calibration Date Supported Feature Mask Bit. | |
| #define | CPP_EOCS_FEATURE_BIT (1<<19) |
| Enhanced Offset Compensation Supported Feature Mask Bit. | |
| #define | CPP_DSS_FEATURE_BIT (1<<20) |
| Distribute System Support Feature Mask Bit. | |
| #define | CPP_ALL_FEATURES (0xff) |
| TODO: Set to all supported features. More... | |
Cycling Power Service Handles | |
| enum | { CPS_SVC_HDL = CPS_START_HDL, CPS_CPF_CH_HDL, CPS_CPF_HDL, CPS_CPM_CH_HDL, CPS_CPM_HDL, CPS_CPM_CH_CCC_HDL, CPS_CPSL_CH_HDL, CPS_CPSL_HDL, CPS_MAX_HDL } |
| Cycling Power Service Handles. More... | |
| #define | CPS_START_HDL 0x0400 |
| Start handle. | |
| #define | CPS_END_HDL (CPS_MAX_HDL - 1) |
| End handle. | |
| #define CPP_ALL_FEATURES (0xff) |
| anonymous enum |
Cycling Power Service Handles.
Definition at line 82 of file svc_cps.h.
| void SvcCpsAddGroup | ( | void | ) |
Add the services to the attribute server.
| void SvcCpsRemoveGroup | ( | void | ) |
Remove the services from the attribute server.
| void SvcCpsCbackRegister | ( | attsReadCback_t | readCback, |
| attsWriteCback_t | writeCback | ||
| ) |
Register callbacks for the service.
| readCback | Read callback function. |
| writeCback | Write callback function. |