![]() |
Cordio Stack and Cordio Profiles
r2p3-02rel0
|
Functions | |
void | SvcHrsAddGroup (void) |
Add the services to the attribute server. More... | |
void | SvcHrsRemoveGroup (void) |
Remove the services from the attribute server. More... | |
void | SvcHrsCbackRegister (attsReadCback_t readCback, attsWriteCback_t writeCback) |
Register callbacks for the service. More... | |
Heart Rate Error Codes | |
#define | HRS_ERR_CP_NOT_SUP 0x80 |
Control Point value not supported. | |
Heart Rate Service Handles | |
enum | { HRS_SVC_HDL = HRS_START_HDL, HRS_HRM_CH_HDL, HRS_HRM_HDL, HRS_HRM_CH_CCC_HDL, HRS_SL_CH_HDL, HRS_SL_HDL, HRS_CP_CH_HDL, HRS_CP_HDL, HRS_MAX_HDL } |
Heart Rate Service Handles. More... | |
#define | HRS_START_HDL 0x20 |
Start handle. | |
#define | HRS_END_HDL (HRS_MAX_HDL - 1) |
End handle. | |
anonymous enum |
Heart Rate Service Handles.
Definition at line 57 of file svc_hrs.h.
void SvcHrsAddGroup | ( | void | ) |
Add the services to the attribute server.
void SvcHrsRemoveGroup | ( | void | ) |
Remove the services from the attribute server.
void SvcHrsCbackRegister | ( | attsReadCback_t | readCback, |
attsWriteCback_t | writeCback | ||
) |
Register callbacks for the service.
readCback | Read callback function. |
writeCback | Write callback function. |