Address Resolving List#
Address Resolving List.
Provides support for adding and removing devices from the Resolving List in controller-based privacy.
Adding a peer device to the Resolving List allows the Bluetooth controller to resolve the address when the peer device is using privacy and is transmitting with a Resolvable Private Address (RPA). When the controller has resolved an address in a received Bluetooth packet such as an advertisement, the corresponding event will report the peer device's identity address even if a Resolvable Private Address was used over the air.
When the application has added a peer device to the Resolving List, the application may use the peer device's identity address in commands such as sl_bt_connection_open or sl_bt_sync_scanner_open even if the peer device is using privacy and is using a Resolvable Private Address over the air.
Enumerations#
Specifies the Privacy Mode used for a peer device in the Resolving List.
Functions#
Enumeration Documentation#
sl_bt_resolving_list_privacy_mode_t#
sl_bt_resolving_list_privacy_mode_t
Specifies the Privacy Mode used for a peer device in the Resolving List.
Enumerator | |
---|---|
sl_bt_resolving_list_privacy_mode_network | (0x0) Use Network Privacy Mode for the peer device |
sl_bt_resolving_list_privacy_mode_device | (0x1) Use Device Privacy Mode for the peer device |
11926
of file /mnt/raid/workspaces/ws.pY3F1RWXq/overlay/gsdk/protocol/bluetooth/build_release/bt_api/sw/bgapi/inc/sl_bt_api.h
Function Documentation#
sl_bt_resolving_list_add_device_by_bonding#
sl_status_t sl_bt_resolving_list_add_device_by_bonding (uint32_t bonding, uint8_t privacy_mode)
[in] | bonding | The bonding handle |
[in] | privacy_mode | Enum sl_bt_resolving_list_privacy_mode_t. The Privacy Mode to use for the peer device. Values:
Default: sl_bt_resolving_list_privacy_mode_network (Use Network Privacy Mode for the peer device) |
Add a device to the Resolving List based on its bonding handle.
This command is not available if the application uses the external bonding database provided by the component bluetooth_feature_external_bonding_database. In that configuration the application can use the command sl_bt_resolving_list_add_device_by_address and provide the peer's identity address and its Identity Resolving Key (IRK).
Returns
SL_STATUS_OK if successful. Error code otherwise.
11962
of file /mnt/raid/workspaces/ws.pY3F1RWXq/overlay/gsdk/protocol/bluetooth/build_release/bt_api/sw/bgapi/inc/sl_bt_api.h
sl_bt_resolving_list_add_device_by_address#
sl_status_t sl_bt_resolving_list_add_device_by_address (bd_addr address, uint8_t address_type, aes_key_128 key, uint8_t privacy_mode)
[in] | address | Bluetooth address of the peer device |
[in] | address_type | Enum sl_bt_gap_address_type_t. The peer device address type. Values:
|
[in] | key | Identity Resolving Key (IRK) of the peer device in little endian format. |
[in] | privacy_mode | Enum sl_bt_resolving_list_privacy_mode_t. The Privacy Mode to use for the peer device. Values:
Default: sl_bt_resolving_list_privacy_mode_network (Use Network Privacy Mode for the peer device) |
Add a device to the Resolving List based on its identity address and its Identity Resolving Key (IRK).
This command is typically only needed when the application uses the external bonding database provided by the component bluetooth_feature_external_bonding_database. When the application uses the built-in bonding database, the command sl_bt_resolving_list_add_device_by_bonding is more convenient.
Returns
SL_STATUS_OK if successful. Error code otherwise.
11998
of file /mnt/raid/workspaces/ws.pY3F1RWXq/overlay/gsdk/protocol/bluetooth/build_release/bt_api/sw/bgapi/inc/sl_bt_api.h
sl_bt_resolving_list_remove_device_by_bonding#
sl_status_t sl_bt_resolving_list_remove_device_by_bonding (uint32_t bonding)
[in] | bonding | The bonding handle |
Remove a device from the Resolving List based on its bonding handle.
This command is not available if the application uses the external bonding database provided by the component bluetooth_feature_external_bonding_database. In that configuration the application can use the command sl_bt_resolving_list_remove_device_by_address and provide the peer's identity address.
Returns
SL_STATUS_OK if successful. Error code otherwise.
12019
of file /mnt/raid/workspaces/ws.pY3F1RWXq/overlay/gsdk/protocol/bluetooth/build_release/bt_api/sw/bgapi/inc/sl_bt_api.h
sl_bt_resolving_list_remove_device_by_address#
sl_status_t sl_bt_resolving_list_remove_device_by_address (bd_addr address, uint8_t address_type)
[in] | address | Bluetooth address of the peer device |
[in] | address_type | Enum sl_bt_gap_address_type_t. The peer device address type. Values:
|
Remove a device from the Resolving List based on its identity address.
Returns
SL_STATUS_OK if successful. Error code otherwise.
12034
of file /mnt/raid/workspaces/ws.pY3F1RWXq/overlay/gsdk/protocol/bluetooth/build_release/bt_api/sw/bgapi/inc/sl_bt_api.h
sl_bt_resolving_list_remove_all_devices#
sl_status_t sl_bt_resolving_list_remove_all_devices ()
Remove all devices from the Resolving List.
Returns
SL_STATUS_OK if successful. Error code otherwise.
12045
of file /mnt/raid/workspaces/ws.pY3F1RWXq/overlay/gsdk/protocol/bluetooth/build_release/bt_api/sw/bgapi/inc/sl_bt_api.h
Macro Definition Documentation#
sl_bt_cmd_resolving_list_add_device_by_bonding_id#
#define sl_bt_cmd_resolving_list_add_device_by_bonding_idValue:
0x005d0020
11911
of file /mnt/raid/workspaces/ws.pY3F1RWXq/overlay/gsdk/protocol/bluetooth/build_release/bt_api/sw/bgapi/inc/sl_bt_api.h
sl_bt_cmd_resolving_list_add_device_by_address_id#
#define sl_bt_cmd_resolving_list_add_device_by_address_idValue:
0x015d0020
11912
of file /mnt/raid/workspaces/ws.pY3F1RWXq/overlay/gsdk/protocol/bluetooth/build_release/bt_api/sw/bgapi/inc/sl_bt_api.h
sl_bt_cmd_resolving_list_remove_device_by_bonding_id#
#define sl_bt_cmd_resolving_list_remove_device_by_bonding_idValue:
0x025d0020
11913
of file /mnt/raid/workspaces/ws.pY3F1RWXq/overlay/gsdk/protocol/bluetooth/build_release/bt_api/sw/bgapi/inc/sl_bt_api.h
sl_bt_cmd_resolving_list_remove_device_by_address_id#
#define sl_bt_cmd_resolving_list_remove_device_by_address_idValue:
0x035d0020
11914
of file /mnt/raid/workspaces/ws.pY3F1RWXq/overlay/gsdk/protocol/bluetooth/build_release/bt_api/sw/bgapi/inc/sl_bt_api.h
sl_bt_cmd_resolving_list_remove_all_devices_id#
#define sl_bt_cmd_resolving_list_remove_all_devices_idValue:
0x045d0020
11915
of file /mnt/raid/workspaces/ws.pY3F1RWXq/overlay/gsdk/protocol/bluetooth/build_release/bt_api/sw/bgapi/inc/sl_bt_api.h
sl_bt_rsp_resolving_list_add_device_by_bonding_id#
#define sl_bt_rsp_resolving_list_add_device_by_bonding_idValue:
0x005d0020
11916
of file /mnt/raid/workspaces/ws.pY3F1RWXq/overlay/gsdk/protocol/bluetooth/build_release/bt_api/sw/bgapi/inc/sl_bt_api.h
sl_bt_rsp_resolving_list_add_device_by_address_id#
#define sl_bt_rsp_resolving_list_add_device_by_address_idValue:
0x015d0020
11917
of file /mnt/raid/workspaces/ws.pY3F1RWXq/overlay/gsdk/protocol/bluetooth/build_release/bt_api/sw/bgapi/inc/sl_bt_api.h
sl_bt_rsp_resolving_list_remove_device_by_bonding_id#
#define sl_bt_rsp_resolving_list_remove_device_by_bonding_idValue:
0x025d0020
11918
of file /mnt/raid/workspaces/ws.pY3F1RWXq/overlay/gsdk/protocol/bluetooth/build_release/bt_api/sw/bgapi/inc/sl_bt_api.h
sl_bt_rsp_resolving_list_remove_device_by_address_id#
#define sl_bt_rsp_resolving_list_remove_device_by_address_idValue:
0x035d0020
11919
of file /mnt/raid/workspaces/ws.pY3F1RWXq/overlay/gsdk/protocol/bluetooth/build_release/bt_api/sw/bgapi/inc/sl_bt_api.h
sl_bt_rsp_resolving_list_remove_all_devices_id#
#define sl_bt_rsp_resolving_list_remove_all_devices_idValue:
0x045d0020
11920
of file /mnt/raid/workspaces/ws.pY3F1RWXq/overlay/gsdk/protocol/bluetooth/build_release/bt_api/sw/bgapi/inc/sl_bt_api.h