From 7188ef08de43f9d427019114a5e85b96a40cdb50 Mon Sep 17 00:00:00 2001 From: Josh Wu Date: Fri, 10 Apr 2026 13:53:30 +0800 Subject: [PATCH] Advertise in run_gatt_client_and_server --- examples/run_gatt_client_and_server.py | 1 + 1 file changed, 1 insertion(+) 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)