![]() |
Cordio Stack and Cordio Profiles
r2p3-02rel0
|
Functions | |
void | SvcCoreAddGroup (void) |
Add the services to the attribute server. More... | |
void | SvcCoreRemoveGroup (void) |
Remove the services from the attribute server. More... | |
void | SvcCoreGattCbackRegister (attsReadCback_t readCback, attsWriteCback_t writeCback) |
Register callbacks for the service. More... | |
void | SvcCoreGapCbackRegister (attsReadCback_t readCback, attsWriteCback_t writeCback) |
Register callbacks for the service. More... | |
void | SvcCoreGapCentAddrResUpdate (bool_t value) |
Update the central address resolution attribute value. More... | |
void | SvcCoreGapAddRpaoCh (void) |
Add the Resolvable Private Address Only (RPAO) characteristic to the GAP service. The RPAO characteristic should be added only when DM Privacy is enabled. More... | |
GAP Service Handles | |
enum | { GAP_SVC_HDL = GAP_START_HDL, GAP_DN_CH_HDL, GAP_DN_HDL, GAP_AP_CH_HDL, GAP_AP_HDL, GAP_CAR_CH_HDL, GAP_CAR_HDL, GAP_RPAO_CH_HDL, GAP_RPAO_HDL, GAP_MAX_HDL } |
GAP service handle. More... | |
#define | GAP_START_HDL 0x01 |
GAP start handle. | |
#define | GAP_END_HDL (GAP_MAX_HDL - 3) |
GAP end handle. | |
GATT Service Handles | |
enum | { GATT_SVC_HDL = GATT_START_HDL, GATT_SC_CH_HDL, GATT_SC_HDL, GATT_SC_CH_CCC_HDL, GATT_MAX_HDL } |
GATT service handles. More... | |
#define | GATT_START_HDL 0x10 |
GATT start handle. | |
#define | GATT_END_HDL (GATT_MAX_HDL - 1) |
GATT end handle. | |
anonymous enum |
GAP service handle.
Definition at line 60 of file svc_core.h.
anonymous enum |
GATT service handles.
Definition at line 80 of file svc_core.h.
void SvcCoreAddGroup | ( | void | ) |
Add the services to the attribute server.
void SvcCoreRemoveGroup | ( | void | ) |
Remove the services from the attribute server.
void SvcCoreGattCbackRegister | ( | attsReadCback_t | readCback, |
attsWriteCback_t | writeCback | ||
) |
Register callbacks for the service.
readCback | Read callback function. |
writeCback | Write callback function. |
void SvcCoreGapCbackRegister | ( | attsReadCback_t | readCback, |
attsWriteCback_t | writeCback | ||
) |
Register callbacks for the service.
readCback | Read callback function. |
writeCback | Write callback function. |
void SvcCoreGapCentAddrResUpdate | ( | bool_t | value | ) |
Update the central address resolution attribute value.
value | New value. |
void SvcCoreGapAddRpaoCh | ( | void | ) |
Add the Resolvable Private Address Only (RPAO) characteristic to the GAP service. The RPAO characteristic should be added only when DM Privacy is enabled.