![]() |
Cordio Stack and Cordio Profiles
r2p3-02rel0
|
Enumerations | |
enum | { DIS_MFNS_HDL_IDX, DIS_MNS_HDL_IDX, DIS_SNS_HDL_IDX, DIS_HRS_HDL_IDX, DIS_FRS_HDL_IDX, DIS_SRS_HDL_IDX, DIS_SID_HDL_IDX, DIS_HDL_LIST_LEN } |
Enumeration of handle indexes of characteristics to be discovered. More... | |
Functions | |
void | DisDiscover (dmConnId_t connId, uint16_t *pHdlList) |
Perform service and characteristic discovery for DIS service. Note that pHdlList must point to an array of handles of length DIS_HDL_LIST_LEN. If discovery is successful the handles of discovered characteristics and descriptors will be set in pHdlList. More... | |
uint8_t | DisValueUpdate (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 DIS_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.
Definition at line 36 of file dis_api.h.
void DisDiscover | ( | dmConnId_t | connId, |
uint16_t * | pHdlList | ||
) |
Perform service and characteristic discovery for DIS service. Note that pHdlList must point to an array of handles of length DIS_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 DIS_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. |