40 #define CPP_PPBS_FEATURE_BIT (1<<0) 41 #define CPP_ATS_FEATURE_BIT (1<<1) 42 #define CPP_WRDS_FEATURE_BIT (1<<2) 43 #define CPP_CRDS_FEATURE_BIT (1<<3) 44 #define CPP_EMS_FEATURE_BIT (1<<4) 45 #define CPP_EAS_FEATURE_BIT (1<<5) 46 #define CPP_TABDSAS_FEATURE_BIT (1<<6) 47 #define CPP_AES_FEATURE_BIT (1<<7) 48 #define CPP_OCIS_FEATURE_BIT (1<<8) 49 #define CPP_OCS_FEATURE_BIT (1<<9) 50 #define CPP_CPMCCM_FEATURE_BIT (1<<10) 51 #define CPP_MSLS_FEATURE_BIT (1<<11) 52 #define CPP_CLAS_FEATURE_BIT (1<<12) 53 #define CPP_CHLAS_FEATURE_BIT (1<<13) 54 #define CPP_CHWAS_FEATURE_BIT (1<<14) 55 #define CPP_SLAS_FEATURE_BIT (1<<15) 56 #define CPP_SMC_FEATURE_BIT (1<<16) 57 #define CPP_IMDS_FEATURE_BIT (1<<17) 58 #define CPP_FCDS_FEATURE_BIT (1<<18) 59 #define CPP_EOCS_FEATURE_BIT (1<<19) 60 #define CPP_DSS_FEATURE_BIT (1<<20) 63 #define CPP_ALL_FEATURES (0xff) 74 #define CPS_START_HDL 0x0400 75 #define CPS_END_HDL (CPS_MAX_HDL - 1)
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.
#define CPS_START_HDL
Start handle.
void SvcCpsCbackRegister(attsReadCback_t readCback, attsWriteCback_t writeCback)
Register callbacks for the service.
Cycling Power Feature characteristic.
void SvcCpsRemoveGroup(void)
Remove the services from the attribute server.
Cycling Power Sensor Location.
Cycling Power Sensor Location characteristic.
Cycling Power Server Service declaration.
void SvcCpsAddGroup(void)
Add the services to the attribute server.
Cycling Power Measurement characteristic.
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.
Cycling Power Measurement Client Characteristic Configuration Descriptor.
Cycling Power Measurement.