41 #define CSCS_WRDS_FEATURE_BIT (1<<0) 42 #define CSCS_CRDS_FEATURE_BIT (1<<1) 43 #define CSCS_MSLS_FEATURE_BIT (1<<2) 46 #define CSCS_ALL_FEATURES (0x3) 57 #define CSCS_START_HDL 0x0450 58 #define CSCS_END_HDL (CSCS_MAX_HDL - 1)
Cycling Speed Sensor Location characteristic.
Cycling Speed Server Service declaration.
uint8_t(* attsWriteCback_t)(dmConnId_t connId, uint16_t handle, uint8_t operation, uint16_t offset, uint16_t len, uint8_t *pValue, attsAttr_t *pAttr)
Attribute group write callback.
Cycling Speed Measurement characteristic.
#define CSCS_START_HDL
Start handle.
Cycling Speed Feature characteristic.
void SvcCscsAddGroup(void)
Add the services to the attribute server.
void SvcCscsCbackRegister(attsReadCback_t readCback, attsWriteCback_t writeCback)
Register callbacks for the service.
Cycling Speed Measurement Client Characteristic Configuration Descriptor.
Cycling Speed Measurement.
uint8_t(* attsReadCback_t)(dmConnId_t connId, uint16_t handle, uint8_t operation, uint16_t offset, attsAttr_t *pAttr)
Attribute group read callback.
Cycling Speed Sensor Location.
void SvcCscsRemoveGroup(void)
Remove the services from the attribute server.
Attribute protocol client and server API.