Macros | |
#define | LL_SUP_STATE_NON_CONN_ADV (UINT64_C(1) << 0) |
#define | LL_SUP_STATE_SCAN_ADV (UINT64_C(1) << 1) |
#define | LL_SUP_STATE_CONN_ADV (UINT64_C(1) << 2) |
#define | LL_SUP_STATE_HI_DUTY_DIR_ADV (UINT64_C(1) << 3) |
#define | LL_SUP_STATE_PASS_SCAN (UINT64_C(1) << 4) |
#define | LL_SUP_STATE_ACT_SCAN (UINT64_C(1) << 5) |
#define | LL_SUP_STATE_INIT (UINT64_C(1) << 6) |
#define | LL_SUP_STATE_CONN_SLV (UINT64_C(1) << 7) |
#define | LL_SUP_STATE_NON_CONN_ADV_AND_PASS_SCAN (UINT64_C(1) << 8) |
#define | LL_SUP_STATE_SCAN_ADV_AND_PASS_SCAN (UINT64_C(1) << 9) |
#define | LL_SUP_STATE_CONN_ADV_AND_PASS_SCAN (UINT64_C(1) << 10) |
#define | LL_SUP_STATE_HI_DUTY_DIR_ADV_AND_PASS_SCAN (UINT64_C(1) << 11) |
#define | LL_SUP_STATE_NON_CONN_ADV_AND_ACT_SCAN (UINT64_C(1) << 12) |
#define | LL_SUP_STATE_SCAN_ADV_AND_ACT_SCAN (UINT64_C(1) << 13) |
#define | LL_SUP_STATE_CONN_ADV_AND_ACT_SCAN (UINT64_C(1) << 14) |
#define | LL_SUP_STATE_HI_DUTY_DIR_ADV_ACT_SCAN (UINT64_C(1) << 15) |
#define | LL_SUP_STATE_NON_CONN_ADV_AND_INIT (UINT64_C(1) << 16) |
#define | LL_SUP_STATE_SCAN_ADV_AND_INIT (UINT64_C(1) << 17) |
#define | LL_SUP_STATE_NON_CONN_ADV_MST (UINT64_C(1) << 18) |
#define | LL_SUP_STATE_SCAN_ADV_MST (UINT64_C(1) << 19) |
#define | LL_SUP_STATE_NON_CONN_ADV_SLV (UINT64_C(1) << 20) |
#define | LL_SUP_STATE_SCAN_ADV_SLV (UINT64_C(1) << 21) |
#define | LL_SUP_STATE_PASS_SCAN_AND_INIT (UINT64_C(1) << 22) |
#define | LL_SUP_STATE_ACT_SCAN_AND_INIT (UINT64_C(1) << 23) |
#define | LL_SUP_STATE_PASS_SCAN_MST (UINT64_C(1) << 24) |
#define | LL_SUP_STATE_ACT_SCAN_MST (UINT64_C(1) << 25) |
#define | LL_SUP_STATE_PASS_SCAN_SLV (UINT64_C(1) << 26) |
#define | LL_SUP_STATE_ACT_SCAN_SLV (UINT64_C(1) << 27) |
#define | LL_SUP_STATE_INIT_MST (UINT64_C(1) << 28) |
#define | LL_SUP_STATE_LO_DUTY_DIR_ADV (UINT64_C(1) << 29) |
#define | LL_SUP_STATE_LO_DUTY_DIR_ADV_AND_PASS_SCAN (UINT64_C(1) << 30) |
#define | LL_SUP_STATE_LO_DUTY_DIR_ADV_AND_ACT_SCAN (UINT64_C(1) << 31) |
#define | LL_SUP_STATE_CONN_ADV_AND_INIT (UINT64_C(1) << 32) |
#define | LL_SUP_STATE_HI_DUTY_DIR_ADV_AND_INIT (UINT64_C(1) << 33) |
#define | LL_SUP_STATE_LO_DUTY_DIR_ADV_AND_INIT (UINT64_C(1) << 34) |
#define | LL_SUP_STATE_CONN_ADV_MST (UINT64_C(1) << 35) |
#define | LL_SUP_STATE_HI_DUTY_DIR_ADV_MST (UINT64_C(1) << 36) |
#define | LL_SUP_STATE_LO_DUTY_DIR_ADV_MST (UINT64_C(1) << 37) |
#define | LL_SUP_STATE_CONN_ADV_SLV (UINT64_C(1) << 38) |
#define | LL_SUP_STATE_HI_DUTY_DIR_ADV_SLV (UINT64_C(1) << 39) |
#define | LL_SUP_STATE_LO_DUTY_DIR_ADV_SLV (UINT64_C(1) << 40) |
#define | LL_SUP_STATE_INIT_SLV (UINT64_C(1) << 41) |
#define | LL_FEAT_ENCRYPTION (UINT64_C(1) << 0) |
#define | LL_FEAT_CONN_PARAM_REQ_PROC (UINT64_C(1) << 1) |
#define | LL_FEAT_EXT_REJECT_IND (UINT64_C(1) << 2) |
#define | LL_FEAT_SLV_INIT_FEAT_EXCH (UINT64_C(1) << 3) |
#define | LL_FEAT_LE_PING (UINT64_C(1) << 4) |
#define | LL_FEAT_DATA_LEN_EXT (UINT64_C(1) << 5) |
#define | LL_FEAT_PRIVACY (UINT64_C(1) << 6) |
#define | LL_FEAT_EXT_SCAN_FILT_POLICY (UINT64_C(1) << 7) |
#define | LL_FEAT_LE_2M_PHY (UINT64_C(1) << 8) |
#define | LL_FEAT_STABLE_MOD_IDX_TRANSMITTER (UINT64_C(1) << 9) |
#define | LL_FEAT_STABLE_MOD_IDX_RECEIVER (UINT64_C(1) << 10) |
#define | LL_FEAT_LE_CODED_PHY (UINT64_C(1) << 11) |
#define | LL_FEAT_LE_EXT_ADV (UINT64_C(1) << 12) |
#define | LL_FEAT_LE_PER_ADV (UINT64_C(1) << 13) |
#define | LL_FEAT_CH_SEL_2 (UINT64_C(1) << 14) |
#define | LL_FEAT_LE_POWER_CLASS_1 (UINT64_C(1) << 15) |
#define | LL_FEAT_MIN_NUM_USED_CHAN (UINT64_C(1) << 16) |
#define | LL_FEAT_CONN_CTE_REQ (UINT64_C(1) << 17) |
#define | LL_FEAT_CONN_CTE_RSP (UINT64_C(1) << 18) |
#define | LL_FEAT_CONNLESS_CTE_TRANS (UINT64_C(1) << 19) |
#define | LL_FEAT_CONNLESS_CTE_RECV (UINT64_C(1) << 20) |
#define | LL_FEAT_ANTENNA_SWITCH_AOD (UINT64_C(1) << 21) |
#define | LL_FEAT_ANTENNA_SWITCH_AOA (UINT64_C(1) << 22) |
#define | LL_FEAT_RECV_CTE (UINT64_C(1) << 23) |
#define | LL_FEAT_PAST_SENDER (UINT64_C(1) << 24) |
#define | LL_FEAT_PAST_RECIPIENT (UINT64_C(1) << 25) |
#define | LL_FEAT_SCA_UPDATE (UINT64_C(1) << 26) |
#define | LL_FEAT_REMOTE_PUB_KEY_VALIDATION (UINT64_C(1) << 27) |
#define | LL_FEAT_CIS_MASTER_ROLE (UINT64_C(1) << 28) |
#define | LL_FEAT_CIS_SLAVE_ROLE (UINT64_C(1) << 29) |
#define | LL_FEAT_ISO_BROADCASTER (UINT64_C(1) << 30) |
#define | LL_FEAT_ISO_SYNC (UINT64_C(1) << 31) |
#define | LL_FEAT_ISO_HOST_SUPPORT (UINT64_C(1) << 32) |
#define | LL_FEAT_POWER_CONTROL_REQUEST (UINT64_C(1) << 33) |
#define | LL_FEAT_POWER_CHANGE_IND (UINT64_C(1) << 34) |
#define | LL_FEAT_PATH_LOSS_MONITOR (UINT64_C(1) << 35) |
#define | LL_HOST_CONTROLLED_FEAT LL_FEAT_ISO_HOST_SUPPORT |
#define | LL_FEAT_ALL_MASK (UINT64_C(0x0000000FFF01FFFF)) |
Enumerations |
Functions | |
void | LlSetBdAddr (const uint8_t *pAddr) |
Set Bluetooth device address. More... | |
void | LlGetBdAddr (uint8_t *pAddr) |
Get Bluetooth device address. More... | |
uint8_t | LlSetRandAddr (const uint8_t *pAddr) |
Set random device address. More... | |
uint8_t | LlGetRandAddr (uint8_t *pAddr) |
Get random device address. More... | |
void | LlGetVersion (uint16_t *pCompId, uint8_t *pBtVer, uint16_t *pImplRev) |
Get versions. More... | |
void | LlGetSupStates (uint8_t *pStates) |
Get supported states. More... | |
void | LlGetFeatures (uint8_t *pFeatures) |
Get features. More... | |
uint8_t | LlSetFeatures (const uint8_t *pFeatures) |
Set features. More... | |
uint8_t | LlSetHostFeatures (uint8_t bitNum, bool_t bitVal) |
Set host feature. More... | |
uint8_t | LlGetRandNum (uint8_t *pRandNum) |
Get random number. More... | |
uint8_t | LlGetWhitelistSize (void) |
Get white list size. More... | |
uint8_t | LlClearWhitelist (void) |
Clear all white list entries. More... | |
uint8_t | LlAddDeviceToWhitelist (uint8_t addrType, bdAddr_t pAddr) |
Add device to the white list. More... | |
uint8_t | LlRemoveDeviceFromWhitelist (uint8_t addrType, bdAddr_t pAddr) |
Remove device from the white list. More... | |
uint8_t | LlAddDeviceToResolvingList (uint8_t peerAddrType, const uint8_t *pPeerIdentityAddr, const uint8_t *pPeerIrk, const uint8_t *pLocalIrk) |
Add device to resolving list. More... | |
uint8_t | LlRemoveDeviceFromResolvingList (uint8_t peerAddrType, const uint8_t *pPeerIdentityAddr) |
Remove device from resolving list. More... | |
uint8_t | LlClearResolvingList (void) |
Clear resolving list. More... | |
uint8_t | LlReadResolvingListSize (uint8_t *pSize) |
Read resolving list size. More... | |
uint8_t | LlReadPeerResolvableAddr (uint8_t addrType, const uint8_t *pIdentityAddr, uint8_t *pRpa) |
Read peer resolvable address. More... | |
uint8_t | LlReadLocalResolvableAddr (uint8_t addrType, const uint8_t *pIdentityAddr, uint8_t *pRpa) |
Read local resolvable address. More... | |
uint8_t | LlSetAddrResolutionEnable (uint8_t enable) |
Enable or disable address resolution. More... | |
uint8_t | LlSetResolvablePrivateAddrTimeout (uint16_t rpaTimeout) |
Set resolvable private address timeout. More... | |
uint8_t | LlSetPrivacyMode (uint8_t peerAddrType, const uint8_t *pPeerIdentityAddr, uint8_t privMode) |
Set privacy mode. More... | |
uint8_t | LlGenerateP256KeyPair (void) |
Generate a P-256 public/private key pair. More... | |
uint8_t | LlGenerateDhKey (const uint8_t pubKey_x[LL_ECC_KEY_LEN], const uint8_t pubKey_y[LL_ECC_KEY_LEN]) |
Generate a Diffie-Hellman key. More... | |
uint8_t | LlGenerateDhKeyV2 (uint8_t pubKey_x[LL_ECC_KEY_LEN], uint8_t pubKey_y[LL_ECC_KEY_LEN], uint8_t keyType) |
Generate a Diffie-Hellman key. More... | |
uint8_t | LlSetP256PrivateKey (const uint8_t privKey[LL_ECC_KEY_LEN]) |
Set P-256 private key for debug purposes. More... | |
uint8_t | LlSetValidatePublicKeyMode (uint8_t validateMode) |
Set validate public key mode. More... | |
uint8_t | LlSetChannelClass (const uint8_t *pChanMap) |
Set channel class. More... | |
uint8_t | LlSetOpFlags (uint32_t flags, bool_t enable) |
Set operational mode flags. More... | |
void | LlSetDefaultExtAdvTxPhyOptions (const uint8_t phyOptions) |
Set the default Ext adv TX PHY options. More... | |
#define LL_FEAT_ALL_MASK (UINT64_C(0x0000000FFF01FFFF)) |
#define LL_FEAT_ANTENNA_SWITCH_AOA (UINT64_C(1) << 22) |
#define LL_FEAT_ANTENNA_SWITCH_AOD (UINT64_C(1) << 21) |
#define LL_FEAT_CH_SEL_2 (UINT64_C(1) << 14) |
#define LL_FEAT_CIS_MASTER_ROLE (UINT64_C(1) << 28) |
#define LL_FEAT_CIS_SLAVE_ROLE (UINT64_C(1) << 29) |
#define LL_FEAT_CONN_CTE_REQ (UINT64_C(1) << 17) |
#define LL_FEAT_CONN_CTE_RSP (UINT64_C(1) << 18) |
#define LL_FEAT_CONN_PARAM_REQ_PROC (UINT64_C(1) << 1) |
#define LL_FEAT_CONNLESS_CTE_RECV (UINT64_C(1) << 20) |
#define LL_FEAT_CONNLESS_CTE_TRANS (UINT64_C(1) << 19) |
#define LL_FEAT_DATA_LEN_EXT (UINT64_C(1) << 5) |
#define LL_FEAT_ENCRYPTION (UINT64_C(1) << 0) |
#define LL_FEAT_EXT_REJECT_IND (UINT64_C(1) << 2) |
#define LL_FEAT_EXT_SCAN_FILT_POLICY (UINT64_C(1) << 7) |
#define LL_FEAT_ISO_BROADCASTER (UINT64_C(1) << 30) |
#define LL_FEAT_ISO_HOST_SUPPORT (UINT64_C(1) << 32) |
#define LL_FEAT_ISO_SYNC (UINT64_C(1) << 31) |
#define LL_FEAT_LE_2M_PHY (UINT64_C(1) << 8) |
#define LL_FEAT_LE_CODED_PHY (UINT64_C(1) << 11) |
#define LL_FEAT_LE_EXT_ADV (UINT64_C(1) << 12) |
#define LL_FEAT_LE_PER_ADV (UINT64_C(1) << 13) |
#define LL_FEAT_LE_PING (UINT64_C(1) << 4) |
#define LL_FEAT_LE_POWER_CLASS_1 (UINT64_C(1) << 15) |
#define LL_FEAT_MIN_NUM_USED_CHAN (UINT64_C(1) << 16) |
#define LL_FEAT_PAST_RECIPIENT (UINT64_C(1) << 25) |
#define LL_FEAT_PAST_SENDER (UINT64_C(1) << 24) |
#define LL_FEAT_PATH_LOSS_MONITOR (UINT64_C(1) << 35) |
#define LL_FEAT_POWER_CHANGE_IND (UINT64_C(1) << 34) |
#define LL_FEAT_POWER_CONTROL_REQUEST (UINT64_C(1) << 33) |
#define LL_FEAT_PRIVACY (UINT64_C(1) << 6) |
#define LL_FEAT_RECV_CTE (UINT64_C(1) << 23) |
#define LL_FEAT_REMOTE_PUB_KEY_VALIDATION (UINT64_C(1) << 27) |
#define LL_FEAT_SCA_UPDATE (UINT64_C(1) << 26) |
#define LL_FEAT_SLV_INIT_FEAT_EXCH (UINT64_C(1) << 3) |
#define LL_FEAT_STABLE_MOD_IDX_RECEIVER (UINT64_C(1) << 10) |
#define LL_FEAT_STABLE_MOD_IDX_TRANSMITTER (UINT64_C(1) << 9) |
#define LL_HOST_CONTROLLED_FEAT LL_FEAT_ISO_HOST_SUPPORT |
#define LL_SUP_STATE_ACT_SCAN (UINT64_C(1) << 5) |
#define LL_SUP_STATE_ACT_SCAN_AND_INIT (UINT64_C(1) << 23) |
#define LL_SUP_STATE_ACT_SCAN_MST (UINT64_C(1) << 25) |
#define LL_SUP_STATE_ACT_SCAN_SLV (UINT64_C(1) << 27) |
#define LL_SUP_STATE_CONN_ADV (UINT64_C(1) << 2) |
#define LL_SUP_STATE_CONN_ADV_AND_ACT_SCAN (UINT64_C(1) << 14) |
#define LL_SUP_STATE_CONN_ADV_AND_INIT (UINT64_C(1) << 32) |
#define LL_SUP_STATE_CONN_ADV_AND_PASS_SCAN (UINT64_C(1) << 10) |
#define LL_SUP_STATE_CONN_ADV_MST (UINT64_C(1) << 35) |
#define LL_SUP_STATE_CONN_ADV_SLV (UINT64_C(1) << 38) |
#define LL_SUP_STATE_CONN_SLV (UINT64_C(1) << 7) |
#define LL_SUP_STATE_HI_DUTY_DIR_ADV (UINT64_C(1) << 3) |
#define LL_SUP_STATE_HI_DUTY_DIR_ADV_ACT_SCAN (UINT64_C(1) << 15) |
#define LL_SUP_STATE_HI_DUTY_DIR_ADV_AND_INIT (UINT64_C(1) << 33) |
#define LL_SUP_STATE_HI_DUTY_DIR_ADV_AND_PASS_SCAN (UINT64_C(1) << 11) |
#define LL_SUP_STATE_HI_DUTY_DIR_ADV_MST (UINT64_C(1) << 36) |
#define LL_SUP_STATE_HI_DUTY_DIR_ADV_SLV (UINT64_C(1) << 39) |
#define LL_SUP_STATE_INIT (UINT64_C(1) << 6) |
#define LL_SUP_STATE_INIT_MST (UINT64_C(1) << 28) |
#define LL_SUP_STATE_INIT_SLV (UINT64_C(1) << 41) |
#define LL_SUP_STATE_LO_DUTY_DIR_ADV (UINT64_C(1) << 29) |
#define LL_SUP_STATE_LO_DUTY_DIR_ADV_AND_ACT_SCAN (UINT64_C(1) << 31) |
#define LL_SUP_STATE_LO_DUTY_DIR_ADV_AND_INIT (UINT64_C(1) << 34) |
#define LL_SUP_STATE_LO_DUTY_DIR_ADV_AND_PASS_SCAN (UINT64_C(1) << 30) |
#define LL_SUP_STATE_LO_DUTY_DIR_ADV_MST (UINT64_C(1) << 37) |
#define LL_SUP_STATE_LO_DUTY_DIR_ADV_SLV (UINT64_C(1) << 40) |
#define LL_SUP_STATE_NON_CONN_ADV (UINT64_C(1) << 0) |
#define LL_SUP_STATE_NON_CONN_ADV_AND_ACT_SCAN (UINT64_C(1) << 12) |
#define LL_SUP_STATE_NON_CONN_ADV_AND_INIT (UINT64_C(1) << 16) |
#define LL_SUP_STATE_NON_CONN_ADV_AND_PASS_SCAN (UINT64_C(1) << 8) |
#define LL_SUP_STATE_NON_CONN_ADV_MST (UINT64_C(1) << 18) |
#define LL_SUP_STATE_NON_CONN_ADV_SLV (UINT64_C(1) << 20) |
#define LL_SUP_STATE_PASS_SCAN (UINT64_C(1) << 4) |
#define LL_SUP_STATE_PASS_SCAN_AND_INIT (UINT64_C(1) << 22) |
#define LL_SUP_STATE_PASS_SCAN_MST (UINT64_C(1) << 24) |
#define LL_SUP_STATE_PASS_SCAN_SLV (UINT64_C(1) << 26) |
#define LL_SUP_STATE_SCAN_ADV (UINT64_C(1) << 1) |
#define LL_SUP_STATE_SCAN_ADV_AND_ACT_SCAN (UINT64_C(1) << 13) |
#define LL_SUP_STATE_SCAN_ADV_AND_INIT (UINT64_C(1) << 17) |
#define LL_SUP_STATE_SCAN_ADV_AND_PASS_SCAN (UINT64_C(1) << 9) |
#define LL_SUP_STATE_SCAN_ADV_MST (UINT64_C(1) << 19) |
#define LL_SUP_STATE_SCAN_ADV_SLV (UINT64_C(1) << 21) |
anonymous enum |
Operational mode flags.
enum LlRole_t |
uint8_t LlAddDeviceToResolvingList | ( | uint8_t | peerAddrType, |
const uint8_t * | pPeerIdentityAddr, | ||
const uint8_t * | pPeerIrk, | ||
const uint8_t * | pLocalIrk | ||
) |
Add device to resolving list.
peerAddrType | Peer identity address type. |
pPeerIdentityAddr | Peer identity address. |
pPeerIrk | Peer IRK. |
pLocalIrk | Local IRK. |
Add device to resolving list.
uint8_t LlAddDeviceToWhitelist | ( | uint8_t | addrType, |
bdAddr_t | pAddr | ||
) |
Add device to the white list.
addrType | Address type. |
pAddr | Bluetooth device address. |
Adds the given address to the white list stored in the LL.
uint8_t LlClearResolvingList | ( | void | ) |
Clear resolving list.
Clear resolving list.
uint8_t LlClearWhitelist | ( | void | ) |
Clear all white list entries.
Clear all white list entries stored in the LL.
uint8_t LlGenerateDhKey | ( | const uint8_t | pubKey_x[LL_ECC_KEY_LEN], |
const uint8_t | pubKey_y[LL_ECC_KEY_LEN] | ||
) |
Generate a Diffie-Hellman key.
pubKey_x | Remote public key x-coordinate. |
pubKey_y | Remote public key y-coordinate. |
Generate a Diffie-Hellman key from a remote public key and the local private key. If another ECC operation (P-256 key pair or Diffie-Hellman key generation) is ongoing, an error will be returned.
uint8_t LlGenerateDhKeyV2 | ( | uint8_t | pubKey_x[LL_ECC_KEY_LEN], |
uint8_t | pubKey_y[LL_ECC_KEY_LEN], | ||
uint8_t | keyType | ||
) |
Generate a Diffie-Hellman key.
pubKey_x | Remote public key x-coordinate. |
pubKey_y | Remote public key y-coordinate. |
keyType | debug enable |
Generate a Diffie-Hellman key from a remote public key and the local private key. If another ECC operation (P-256 key pair or Diffie-Hellman key generation) is ongoing, an error will be returned. If keyType == 1, debug keys will be used in place for the keys.
uint8_t LlGenerateP256KeyPair | ( | void | ) |
Generate a P-256 public/private key pair.
Generate a P-256 public/private key pair. If another ECC operation (P-256 key pair or Diffie- Hellman key generation) is ongoing, an error will be returned.
void LlGetBdAddr | ( | uint8_t * | pAddr | ) |
Get Bluetooth device address.
pAddr | Bluetooth device address. |
Get the BD address currently used by LL or all zeros if address is not set.
void LlGetFeatures | ( | uint8_t * | pFeatures | ) |
Get features.
pFeatures | Supported features bitmask. |
Return the LE features supported by the LL.
uint8_t LlGetRandAddr | ( | uint8_t * | pAddr | ) |
Get random device address.
pAddr | Random Bluetooth device address. |
Get the random address currently used by LL or all zeros if address is not set.
uint8_t LlGetRandNum | ( | uint8_t * | pRandNum | ) |
Get random number.
pRandNum | Buffer to store 8 bytes random data. |
Request the LL to generate a random number.
void LlGetSupStates | ( | uint8_t * | pStates | ) |
Get supported states.
pStates | Supported states bitmask. |
Return the states supported by the LL.
void LlGetVersion | ( | uint16_t * | pCompId, |
uint8_t * | pBtVer, | ||
uint16_t * | pImplRev | ||
) |
Get versions.
pCompId | Company ID. |
pBtVer | Bluetooth version. |
pImplRev | Implementation revision. |
uint8_t LlGetWhitelistSize | ( | void | ) |
Get white list size.
Read the white list capacity supported by the LL.
uint8_t LlReadLocalResolvableAddr | ( | uint8_t | addrType, |
const uint8_t * | pIdentityAddr, | ||
uint8_t * | pRpa | ||
) |
Read local resolvable address.
addrType | Peer identity address type. |
pIdentityAddr | Peer identity address. |
pRpa | Storage for peer resolvable private address |
Get the local resolvable private address that is currently being used for the peer identity address.
uint8_t LlReadPeerResolvableAddr | ( | uint8_t | addrType, |
const uint8_t * | pIdentityAddr, | ||
uint8_t * | pRpa | ||
) |
Read peer resolvable address.
addrType | Peer identity address type. |
pIdentityAddr | Peer identity address. |
pRpa | Storage for peer resolvable private address |
Get the peer resolvable private address that is currently being used for the peer identity address.
uint8_t LlReadResolvingListSize | ( | uint8_t * | pSize | ) |
Read resolving list size.
pSize | Storage for resolving list size. |
Read number of address translation entries that can be stored in the resolving list.
uint8_t LlRemoveDeviceFromResolvingList | ( | uint8_t | peerAddrType, |
const uint8_t * | pPeerIdentityAddr | ||
) |
Remove device from resolving list.
peerAddrType | Peer identity address type. |
pPeerIdentityAddr | Peer identity address. |
Remove device from resolving list.
uint8_t LlRemoveDeviceFromWhitelist | ( | uint8_t | addrType, |
bdAddr_t | pAddr | ||
) |
Remove device from the white list.
addrType | Address type. |
pAddr | Bluetooth device address. |
Removes the given address from the white list stored in the LL.
uint8_t LlSetAddrResolutionEnable | ( | uint8_t | enable | ) |
Enable or disable address resolution.
enable | Set to TRUE to enable address resolution or FALSE to disable address resolution. |
Enable or disable address resolution so that received local or peer resolvable private addresses are resolved.
void LlSetBdAddr | ( | const uint8_t * | pAddr | ) |
Set Bluetooth device address.
pAddr | Bluetooth device address. |
Set the BD address to be used by LL.
uint8_t LlSetChannelClass | ( | const uint8_t * | pChanMap | ) |
Set channel class.
pChanMap | Channel map (0=bad, 1=usable). |
Set the channel class. At least 2 bits must be set.
void LlSetDefaultExtAdvTxPhyOptions | ( | const uint8_t | phyOptions | ) |
Set the default Ext adv TX PHY options.
phyOptions | PHY options. |
Set the default TX PHY options for extended adv slave primary and secondary channel.
uint8_t LlSetFeatures | ( | const uint8_t * | pFeatures | ) |
Set features.
pFeatures | Supported features bitmask. |
Set the LE features supported by the LL.
uint8_t LlSetHostFeatures | ( | uint8_t | bitNum, |
bool_t | bitVal | ||
) |
Set host feature.
bitNum | Bit position in the FeatureSet. |
bitVal | Enable or disable feature. |
Set or clear a bit in the feature controlled by the Host in the Link Layer FeatureSet stored in the Controller.
uint8_t LlSetOpFlags | ( | uint32_t | flags, |
bool_t | enable | ||
) |
Set operational mode flags.
flags | Flags. |
enable | TRUE to set flags or FALSE to clear flags. |
Set mode flags governing LL operations.
uint8_t LlSetP256PrivateKey | ( | const uint8_t | privKey[LL_ECC_KEY_LEN] | ) |
Set P-256 private key for debug purposes.
privKey | Private key, or all zeros to clear set private key. |
Set P-256 private key or clear set private key. The private key will be used for generate key pairs and Diffie-Hellman keys until cleared.
uint8_t LlSetPrivacyMode | ( | uint8_t | peerAddrType, |
const uint8_t * | pPeerIdentityAddr, | ||
uint8_t | privMode | ||
) |
Set privacy mode.
peerAddrType | Peer identity address type. |
pPeerIdentityAddr | Peer identity address. |
privMode | Privacy mode. |
Allow the host to specify the privacy mode to be used for a given entry on the resolving list.
uint8_t LlSetRandAddr | ( | const uint8_t * | pAddr | ) |
Set random device address.
pAddr | Random Bluetooth device address. |
Set the random address to be used by LL.
uint8_t LlSetResolvablePrivateAddrTimeout | ( | uint16_t | rpaTimeout | ) |
Set resolvable private address timeout.
rpaTimeout | Timeout measured in seconds. |
Set the time period between automatic generation of new resolvable private addresses.
uint8_t LlSetValidatePublicKeyMode | ( | uint8_t | validateMode | ) |
Set validate public key mode.
validateMode | ALT1 or ALT2. |