diff --git a/bumble/device.py b/bumble/device.py index f9d62b6f..60129ff7 100644 --- a/bumble/device.py +++ b/bumble/device.py @@ -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( diff --git a/bumble/gatt.py b/bumble/gatt.py index ef944fd4..48baa51d 100644 --- a/bumble/gatt.py +++ b/bumble/gatt.py @@ -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 "*"}'