40 #define RSCS_ISLMS_FEATURE_BIT (1<<0) 41 #define RSCS_TDMS_FEATURE_BIT (1<<1) 42 #define RSCS_WRSS_FEATURE_BIT (1<<2) 43 #define RSCS_CPS_FEATURE_BIT (1<<3) 44 #define RSCS_MSLS_FEATURE_BIT (1<<4) 47 #define RSCS_ALL_FEATURES (0x7) 58 #define RSCS_START_HDL 0x04A0 59 #define RSCS_END_HDL (RSCS_MAX_HDL - 1) void SvcRscsCbackRegister(attsReadCback_t readCback, attsWriteCback_t writeCback)
Register callbacks for the service.
#define RSCS_START_HDL
Start handle.
Running Speed Feature characteristic.
Running Speed Sensor Location.
Running Speed Measurement characteristic.
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.
Running Speed Measurement.
void SvcRscsRemoveGroup(void)
Remove the services from the attribute server.
Running Speed Server Service declaration.
Running Speed Sensor Location characteristic.
Running Speed Measurement Client Characteristic Configuration Descriptor.
void SvcRscsAddGroup(void)
Add the services to the attribute server.
uint8_t(* attsReadCback_t)(dmConnId_t connId, uint16_t handle, uint8_t operation, uint16_t offset, attsAttr_t *pAttr)
Attribute group read callback.
Attribute protocol client and server API.