38 #define TEMP_HANDLE_START 0x60 39 #define TEMP_HANDLE_END (TEMP_HANDLE_END_PLUS_ONE - 1) 75 #define TEMP_ATT_CONFIG_DISABLE 0x00u 76 #define TEMP_ATT_CONFIG_ENABLE 0x01u 83 #define TEMP_ATT_PERIOD_MAX 250u 84 #define TEMP_ATT_PERIOD_DEFAULT 100u 85 #define TEMP_ATT_PERIOD_MIN 10u 92 #define TEMP_SIZE_CONFIG_ATT 1u 93 #define TEMP_SIZE_PERIOD_ATT 1u 94 #define TEMP_SIZE_DATA_ATT 6u Period characteristc value.
void SvcTempRemoveGroup(void)
Remove the services from the attribute server.
Configruation characteristic value.
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.
Data characteristic CCCD.
#define TEMP_HANDLE_START
Start handle.
Configruation characteristic declaration.
Data characteristic declaration.
Data characteristic user description.
Data characteristic value.
void SvcTempAddGroup(void)
Add the services to the attribute server.
void SvcTempCbackRegister(attsWriteCback_t writeCback)
Register callbacks for the service.
Configruation characteristic user description.
Period characteristc user description.
Period characteristc declaration.