code style update

This commit is contained in:
Yuyang Huang
2022-12-01 10:50:15 -08:00
parent 87aa4f617e
commit 697d5df3f8
2 changed files with 0 additions and 3 deletions

View File

@@ -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(

View File

@@ -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 "*"}'