![]() |
![]() |
|
TI BLE5-Stack API Documentation
9.11.01
|
LinkDB layer interface
Go to the source code of this file.
Data Structures | |
| struct | linkDBInfo_t |
| Information pertaining to the linklinkDB info. More... | |
Macros | |
| #define | LINBDB_ERR_INSUFFICIENT_KEYSIZE 0x0c |
| Link is encrypted but the key size is too small. More... | |
| #define | LINK_AUTHENTICATED 0x02 |
| Link is authenticated. More... | |
| #define | LINK_BOUND 0x04 |
| Link is bonded. More... | |
| #define | LINK_CONNECTED 0x01 |
| Link is connected. More... | |
| #define | LINK_ENCRYPTED 0x10 |
| Link is encrypted. More... | |
| #define | LINK_IN_UPDATE 0x40 |
| Link is in update procedure. More... | |
| #define | LINK_NOT_CONNECTED 0x00 |
| Link isn't connected. More... | |
| #define | LINK_PAIR_TIMEOUT 0x80 |
| Pairing attempt has been timed out. More... | |
| #define | LINK_SECURE_CONNECTIONS 0x20 |
| Link uses Secure Connections. More... | |
| #define | linkDB_Authenticated(connectionHandle) linkDB_State( (connectionHandle), LINK_AUTHENTICATED ) |
| #define | linkDB_Bonded(connectionHandle) linkDB_State( (connectionHandle), LINK_BOUND ) |
| #define | LINKDB_CONNHANDLE_ALL LL_CONNHANDLE_ALL |
| Terminates all links. More... | |
| #define | LINKDB_CONNHANDLE_INVALID LL_CONNHANDLE_INVALID |
| Invalid connection handle, used for no connection handle. More... | |
| #define | LINKDB_CONNHANDLE_LOOPBACK LL_CONNHANDLE_LOOPBACK |
| Loopback connection handle, used to loopback a message. More... | |
| #define | linkDB_Encrypted(connectionHandle) linkDB_State( (connectionHandle), LINK_ENCRYPTED ) |
| #define | LINKDB_ERR_INSUFFICIENT_AUTHEN 0x05 |
| Link isn't even encrypted. More... | |
| #define | LINKDB_ERR_INSUFFICIENT_ENCRYPTION 0x0f |
| Link is encrypted but it's not authenticated. More... | |
| #define | linkDB_Up(connectionHandle) linkDB_State( (connectionHandle), LINK_CONNECTED ) |
Functions | |
| uint8 | linkDB_GetActiveConnInfo (uint8 connectionHandle, hciActiveConnInfo_t *activeConnInfo) |
| uint8 | linkDB_GetInfo (uint16 connectionHandle, linkDBInfo_t *pInfo) |
| uint8 | linkDB_NumActive (void) |
| uint8 | linkDB_NumConns (void) |
| uint8 | linkDB_State (uint16 connectionHandle, uint8 state) |