![]() |
Cordio Stack and Cordio Profiles
r2p3-02rel0
|
Functions | |
void | SvcGlsAddGroup (void) |
Add the services to the attribute server. More... | |
void | SvcGlsRemoveGroup (void) |
Remove the services from the attribute server. More... | |
void | SvcGlsCbackRegister (attsReadCback_t readCback, attsWriteCback_t writeCback) |
Register callbacks for the service. More... | |
Error Codes | |
#define | GLS_ERR_IN_PROGRESS 0x80 |
Procedure already in progress. | |
#define | GLS_ERR_CCCD 0x81 |
CCCD improperly configured. | |
Glucose Service Handles | |
enum | { GLS_SVC_HDL = GLS_START_HDL, GLS_GLM_CH_HDL, GLS_GLM_HDL, GLS_GLM_CH_CCC_HDL, GLS_GLMC_CH_HDL, GLS_GLMC_HDL, GLS_GLMC_CH_CCC_HDL, GLS_GLF_CH_HDL, GLS_GLF_HDL, GLS_RACP_CH_HDL, GLS_RACP_HDL, GLS_RACP_CH_CCC_HDL, GLS_MAX_HDL } |
Glucose Service Handles. More... | |
#define | GLS_START_HDL 0xF0 |
Start handle. | |
#define | GLS_END_HDL (GLS_MAX_HDL - 1) |
End handle. | |
anonymous enum |
Glucose Service Handles.
Definition at line 58 of file svc_gls.h.
void SvcGlsAddGroup | ( | void | ) |
Add the services to the attribute server.
void SvcGlsRemoveGroup | ( | void | ) |
Remove the services from the attribute server.
void SvcGlsCbackRegister | ( | attsReadCback_t | readCback, |
attsWriteCback_t | writeCback | ||
) |
Register callbacks for the service.
readCback | Read callback function. |
writeCback | Write callback function. |