diff options
author | Gilles Boccon-Gibod <boccongibod@google.com> | 2023-09-22 11:41:04 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-22 11:41:04 -0700 |
commit | 762d3e92de38d42ec485c8d48b23b951be6ccadb (patch) | |
tree | 1a4bb227727a1d6b772d2be9fd29b1841bf655eb | |
parent | 2f97531d78507165fb0de3cd0ac6d4a4fc54edc6 (diff) | |
parent | f6c7cae6615b0abb9b7a4028436a9c4bc25a512f (diff) | |
download | bumble-762d3e92de38d42ec485c8d48b23b951be6ccadb.tar.gz |
Merge pull request #300 from google/gbg/issue-299
use correct own_address_type when restarting advertising
-rw-r--r-- | bumble/device.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bumble/device.py b/bumble/device.py index 9a784e7..57ecc76 100644 --- a/bumble/device.py +++ b/bumble/device.py @@ -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, ), ) |