38 #define DM_CONN_HCI_HANDLE_NONE             0xFFFF    41 #define DM_CONN_ACT_SET_INIT(n)             ((n) << 4)    44 #define DM_CONN_ACT_SET_ID(action)          ((action) >> 4)    47 #define DM_CONN_ACT_ID(action)              ((action) & 0x0F)    70 #define DM_CONN_NUM_MSGS    (DM_CONN_MSG_HCI_LE_CREATE_CONN_CANCEL_CMD_CMPL - DM_CONN_MSG_API_OPEN + 1)    75   DM_CONN_MSG_API_FEAT  = DM_MSG_START(DM_ID_CONN_2),
    76   DM_CONN_MSG_API_READ_RSSI,
    77   DM_CONN_MSG_API_REM_CONN_PARAM_REQ_REPLY,
    78   DM_CONN_MSG_API_REM_CONN_PARAM_REQ_NEG_REPLY,
    79   DM_CONN_MSG_API_SET_DATA_LEN,
    80   DM_CONN_MSG_API_WRITE_AUTH_TO,
    81   DM_CONN_MSG_API_REQ_PEER_SCA
    97 #define DM_CONN_UPD_NUM_MSGS    (DM_CONN_MSG_L2C_UPDATE_CNF - DM_CONN_MSG_API_UPDATE_MASTER + 1)   102   DM_CONN_ACT_SET_MAIN,
   103   DM_CONN_ACT_SET_MASTER,
   104   DM_CONN_ACT_SET_SLAVE,
   147   DM_CONN_SM_NUM_STATES
   281   uint8_t         peerAddrType;
   282   uint8_t         localAddrType;
   294   bool_t          featuresPresent;
   339 uint8_t dmConnNum(
void);
   340 dmConnId_t dmConnOpenAccept(uint8_t clientId, uint8_t initPhys, uint8_t advHandle, uint8_t advType,
   341                             uint16_t duration, uint8_t maxEaEvents, uint8_t addrType, uint8_t *pAddr,
   346 void dmConnReset(
void);
   348 void dmConnHciHandler(
hciEvt_t *pEvent);
   352 void dmConn2HciHandler(
hciEvt_t *pEvent);
 
uint8_t dmConnId_t
Connection identifier. 
LE connection complete event. 
dmConnAct_t * dmConnActSet[DM_CONN_NUM_ACT_SETS]
void(* dmConnAct_t)(dmConnCcb_t *pCcb, dmConnMsg_t *pMsg)
uint8_t bdAddr_t[6]
BD address data type. 
#define DM_CLIENT_ID_MAX
For internal use only. 
Connection specification type. 
LE connection update complete event. 
void(* dmCback_t)(dmEvt_t *pDmEvt)
Callback type. 
Union of all event types. 
Device Manager subsystem API. 
#define DM_CONN_MAX
Maximum number of connections. 
Disconnect complete event. 
dmConnAct_t * dmConnUpdActSet[DM_CONN_NUM_ACT_SETS]
Common message structure passed to event handler. 
#define DM_NUM_PHYS
Number of scanner and initiator PHYs (LE 1M, LE 2M and LE Coded): must be set to 1 for legacy scanner...