diff --git a/bumble/device.py b/bumble/device.py index f0f4ee184..e6fe8aef8 100644 --- a/bumble/device.py +++ b/bumble/device.py @@ -1586,6 +1586,16 @@ async def refresh_resolving_list(self) -> None: if self.address_resolution_offload: await self.send_command(HCI_LE_Clear_Resolving_List_Command()) + # Add an empty entry for non-directed address generation. + await self.send_command( + HCI_LE_Add_Device_To_Resolving_List_Command( + peer_identity_address_type=Address.ANY.address_type, + peer_identity_address=Address.ANY, + peer_irk=bytes(16), + local_irk=self.irk, + ) + ) + for irk, address in resolving_keys: await self.send_command( HCI_LE_Add_Device_To_Resolving_List_Command(