33 #include "ll_common.h" 47 #define linkDB_Up( connectionHandle ) linkDB_State( (connectionHandle), LINK_CONNECTED ) 57 #define linkDB_Encrypted( connectionHandle ) linkDB_State( (connectionHandle), LINK_ENCRYPTED ) 67 #define linkDB_Authenticated( connectionHandle ) linkDB_State( (connectionHandle), LINK_AUTHENTICATED ) 77 #define linkDB_Bonded( connectionHandle ) linkDB_State( (connectionHandle), LINK_BOUND ) 94 #define LINKDB_CONNHANDLE_ALL LL_CONNHANDLE_ALL 96 #define LINKDB_CONNHANDLE_LOOPBACK LL_CONNHANDLE_LOOPBACK 98 #define LINKDB_CONNHANDLE_INVALID LL_CONNHANDLE_INVALID 106 #define LINK_NOT_CONNECTED 0x00 107 #define LINK_CONNECTED 0x01 108 #define LINK_AUTHENTICATED 0x02 109 #define LINK_BOUND 0x04 110 #define LINK_ENCRYPTED 0x10 111 #define LINK_SECURE_CONNECTIONS 0x20 112 #define LINK_IN_UPDATE 0x40 113 #define LINK_PAIR_TIMEOUT 0x80 120 #define LINKDB_ERR_INSUFFICIENT_AUTHEN 0x05 121 #define LINBDB_ERR_INSUFFICIENT_KEYSIZE 0x0c 122 #define LINKDB_ERR_INSUFFICIENT_ENCRYPTION 0x0f 196 extern uint8
linkDB_State( uint16 connectionHandle, uint8 state );
uint16 connTimeout
current connection timeout
Definition: linkdb.h:149
uint8 addrType
Address type of connected device.
Definition: linkdb.h:143
uint16 connLatency
current connection latency
Definition: linkdb.h:150
uint16 connInterval
The connection's interval (n * 1.23 ms)
Definition: linkdb.h:147
uint8 linkDB_NumActive(void)
uint8 stateFlags
LinkDB Connection State Flags
Definition: linkdb.h:142
uint16 MTU
The connection's MTU size.
Definition: linkdb.h:148
uint8 linkDB_State(uint16 connectionHandle, uint8 state)
#define B_ADDR_LEN
Default Public and Random Address Length.
Definition: bcomdef.h:108
uint8 linkDB_GetInfo(uint16 connectionHandle, linkDBInfo_t *pInfo)
Information pertaining to the linklinkDB info.
Definition: linkdb.h:140
uint8 connRole
Connection formed as Master or Slave.
Definition: linkdb.h:146
uint8 linkDB_NumConns(void)