Cordio Stack and Cordio Profiles  r2p3-02rel0

Enumerations

enum  {
  FMPL_IAS_AL_HDL_IDX,
  FMPL_IAS_HDL_LIST_LEN
}
 Enumeration of handle indexes of characteristics to be discovered for immediate alert service. More...
 

Functions

void FmplIasDiscover (dmConnId_t connId, uint16_t *pHdlList)
 Perform service and characteristic discovery for Immediate Alert service. Note that pHdlList must point to an array of handles of length FMPL_IAS_HDL_LIST_LEN. If discovery is successful the handles of discovered characteristics and descriptors will be set in pHdlList. More...
 
void FmplSendAlert (dmConnId_t connId, uint16_t handle, uint8_t alert)
 Send an immediate alert to the peer device. More...
 

Description

Enumeration Type Documentation

anonymous enum

Enumeration of handle indexes of characteristics to be discovered for immediate alert service.

Enumerator
FMPL_IAS_AL_HDL_IDX 

Alert level.

FMPL_IAS_HDL_LIST_LEN 

Handle list length.

Definition at line 36 of file fmpl_api.h.

37 {
38  FMPL_IAS_AL_HDL_IDX, /*!< \brief Alert level */
39  FMPL_IAS_HDL_LIST_LEN /*!< \brief Handle list length */
40 };
Alert level.
Definition: fmpl_api.h:38
Handle list length.
Definition: fmpl_api.h:39

Function Documentation

void FmplIasDiscover ( dmConnId_t  connId,
uint16_t pHdlList 
)

Perform service and characteristic discovery for Immediate Alert service. Note that pHdlList must point to an array of handles of length FMPL_IAS_HDL_LIST_LEN. If discovery is successful the handles of discovered characteristics and descriptors will be set in pHdlList.

Parameters
connIdConnection identifier.
pHdlListCharacteristic handle list.
Returns
None.
void FmplSendAlert ( dmConnId_t  connId,
uint16_t  handle,
uint8_t  alert 
)

Send an immediate alert to the peer device.

Parameters
connIdDM connection ID.
handleAttribute handle.
alertAlert value.
Returns
None.