![]() |
Cordio Stack and Cordio Profiles
r2p3-02rel0
|
Enumerations | |
enum | { GATT_SC_HDL_IDX, GATT_SC_CCC_HDL_IDX, GATT_HDL_LIST_LEN } |
Enumeration of handle indexes of characteristics to be discovered. More... | |
Functions | |
void | GattDiscover (dmConnId_t connId, uint16_t *pHdlList) |
Perform service and characteristic discovery for GATT service. Note that pHdlList must point to an array of handles of length GATT_HDL_LIST_LEN. If discovery is successful the handles of discovered characteristics and descriptors will be set in pHdlList. More... | |
uint8_t | GattValueUpdate (uint16_t *pHdlList, attEvt_t *pMsg) |
Process a value received in an ATT read response, notification, or indication message. Parameter pHdlList must point to an array of length GATT_HDL_LIST_LEN. If the attribute handle of the message matches a handle in the handle list the value is processed, otherwise it is ignored. More... | |
anonymous enum |
Enumeration of handle indexes of characteristics to be discovered.
Enumerator | |
---|---|
GATT_SC_HDL_IDX |
Service changed. |
GATT_SC_CCC_HDL_IDX |
Service changed client characteristic configuration descriptor. |
GATT_HDL_LIST_LEN |
Handle list length. |
Definition at line 36 of file gatt_api.h.
void GattDiscover | ( | dmConnId_t | connId, |
uint16_t * | pHdlList | ||
) |
Perform service and characteristic discovery for GATT service. Note that pHdlList must point to an array of handles of length GATT_HDL_LIST_LEN. If discovery is successful the handles of discovered characteristics and descriptors will be set in pHdlList.
connId | Connection identifier. |
pHdlList | Characteristic handle list. |
Process a value received in an ATT read response, notification, or indication message. Parameter pHdlList must point to an array of length GATT_HDL_LIST_LEN. If the attribute handle of the message matches a handle in the handle list the value is processed, otherwise it is ignored.
pHdlList | Characteristic handle list. |
pMsg | ATT callback message. |