This group includes GAP address APIs.
Get device BT Address.
- Parameters
-
[out] | address | pointer to save returned BT Address |
- Returns
- Upon successful completion the function shall return AT_BLE_SUCCESS, Otherwise the function shall return at_ble_status_t
Referenced by ble_set_address().
Set device BT Address.
- Parameters
-
[in] | address | the new BT address |
- Precondition
- In case of using resolvable random address, at_ble_set_dev_config is used to set device IRK key otherwise default randomness IRK key values will be used.
- Note
-
- Returns
- Upon successful completion the function shall return AT_BLE_SUCCESS, Otherwise the function shall return at_ble_status_t
Referenced by ble_set_address().
Handles request of resolving a resolvable random address ,AT_BLE_RESOLV_RAND_ADDR_STATUS event is used to inform which key has been used to perform resolution for the returned address.
- Parameters
-
[in] | nb_key | number of provided IRK |
[in] | rand_addr | pointer to the random address |
[in] | irk_key | array of IRK used for address resolution |
- Note
- irk_key argument, should be known after exchanging keys at security level (bonding).
- Returns
- Upon successful completion the function shall return AT_BLE_SUCCESS, Otherwise the function shall return at_ble_status_t