Merge pull request #300 from google/gbg/issue-299

use correct own_address_type when restarting advertising
This commit is contained in:
Gilles Boccon-Gibod
2023-09-22 11:41:04 -07:00
committed by GitHub

View File

@@ -2758,7 +2758,9 @@ class Device(CompositeEventEmitter):
self.abort_on(
'flush',
self.start_advertising(
advertising_type=self.advertising_type, auto_restart=True
advertising_type=self.advertising_type,
own_address_type=self.advertising_own_address_type,
auto_restart=True,
),
)