forked from auracaster/bumble_mirror
format
This commit is contained in:
@@ -1946,9 +1946,7 @@ class Device(CompositeEventEmitter):
|
||||
|
||||
@property
|
||||
def supports_le_extended_advertising(self):
|
||||
return self.supports_le_features(
|
||||
LeFeatureMask.LE_EXTENDED_ADVERTISING
|
||||
)
|
||||
return self.supports_le_features(LeFeatureMask.LE_EXTENDED_ADVERTISING)
|
||||
|
||||
async def start_advertising(
|
||||
self,
|
||||
|
||||
@@ -42,7 +42,7 @@ async def main() -> None:
|
||||
await device.power_on()
|
||||
|
||||
if not device.supports_le_extended_advertising:
|
||||
print("Device does not support extended adverising")
|
||||
print("Device does not support extended advertising")
|
||||
return
|
||||
|
||||
print("Max advertising sets:", device.host.number_of_supported_advertising_sets)
|
||||
|
||||
Reference in New Issue
Block a user