Skip to content

Commit 96b102e

Browse files
committed
add advertising property
1 parent 7c2c26d commit 96b102e

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

adafruit_ble/__init__.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -324,3 +324,8 @@ def tx_power(self, value):
324324
def address_bytes(self):
325325
"""The device address, as a ``bytes()`` object of length 6."""
326326
return self._adapter.address.address_bytes
327+
328+
@property
329+
def advertising(self):
330+
"""The adverstising state"""
331+
return self._adapter.advertising

0 commit comments

Comments
 (0)