diff --git a/examples/run_gatt_client_and_server.py b/examples/run_gatt_client_and_server.py index 092e6d1..3cef295 100644 --- a/examples/run_gatt_client_and_server.py +++ b/examples/run_gatt_client_and_server.py @@ -83,6 +83,7 @@ async def main() -> None: GATT_DEVICE_INFORMATION_SERVICE, [manufacturer_name_characteristic] ) server_device.add_service(device_info_service) + await server_device.start_advertising() # Connect the client to the server connection = await client_device.connect(server_device.random_address)