This group includes GAP address APIs.
Functions | |
at_ble_status_t | at_ble_addr_get (at_ble_addr_t *address) |
Get device BT Address. More... | |
at_ble_status_t | at_ble_addr_set (at_ble_addr_t *address) |
Set device BT Address. More... | |
at_ble_status_t | at_ble_random_address_resolve (uint8_t nb_key, at_ble_addr_t *rand_addr, uint8_t *irk_key) |
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. More... | |
at_ble_status_t at_ble_addr_get | ( | at_ble_addr_t * | address | ) |
Get device BT Address.
[out] | address | pointer to save returned BT Address |
Get device BT Address.
[out] | address | The current BT address |
References at_ble_addr_t::addr, AT_BLE_ADDRESS_PUBLIC, AT_BLE_INVALID_PARAM, dbg_le_get_bd_addr_req_handler(), NULL, and at_ble_addr_t::type.
at_ble_status_t at_ble_addr_set | ( | at_ble_addr_t * | address | ) |
Set device BT Address.
[in] | address | the new BT address |
Set device BT Address.
[in] | address | The new BT address |
References at_ble_addr_t::addr, device_info::addr_auto_gen, device_info::at_addr_set, AT_BLE_ADDR_LEN, AT_BLE_ADDRESS_PUBLIC, AT_BLE_ADDRESS_RANDOM_PRIVATE_NON_RESOLVABLE, AT_BLE_ADDRESS_RANDOM_PRIVATE_RESOLVABLE, AT_BLE_ADDRESS_RANDOM_STATIC, AT_BLE_INVALID_PARAM, AT_BLE_SUCCESS, device_info::at_dev_addr, dbg_le_set_bd_addr_req_handler(), device, NULL, device_info::privacy_flags, status, and at_ble_addr_t::type.
at_ble_status_t at_ble_random_address_resolve | ( | uint8_t | nb_key, |
at_ble_addr_t * | rand_addr, | ||
uint8_t * | irk_key | ||
) |
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.
[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 |
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.
[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 |
References at_ble_addr_t::addr, AT_BLE_ADDRESS_RANDOM_PRIVATE_RESOLVABLE, AT_BLE_INVALID_PARAM, gapm_resolv_addr_cmd_handler(), NULL, and at_ble_addr_t::type.