mirror of
https://github.com/google/bumble.git
synced 2026-05-08 03:58:01 +00:00
code style update
This commit is contained in:
@@ -945,7 +945,6 @@ class Device(CompositeEventEmitter):
|
||||
if isinstance(attribute, Service):
|
||||
self.advertising_data += attribute.get_service_advertising_data()
|
||||
|
||||
|
||||
# Set/update the advertising data if the advertising type allows it
|
||||
if advertising_type.has_data:
|
||||
await self.send_command(HCI_LE_Set_Advertising_Data_Command(
|
||||
|
||||
@@ -210,7 +210,6 @@ class Service(Attribute):
|
||||
self.characteristics = characteristics[:]
|
||||
self.primary = primary
|
||||
|
||||
|
||||
def get_service_advertising_data(self):
|
||||
"""
|
||||
Get Service specific advertising data
|
||||
@@ -218,7 +217,6 @@ class Service(Attribute):
|
||||
"""
|
||||
return b''
|
||||
|
||||
|
||||
def __str__(self):
|
||||
return f'Service(handle=0x{self.handle:04X}, end=0x{self.end_group_handle:04X}, uuid={self.uuid}){"" if self.primary else "*"}'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user