mirror of
https://github.com/google/bumble.git
synced 2026-04-16 00:25:31 +00:00
Merge pull request #907 from zxzxwu/example-gatt-client-and-server
Advertise in run_gatt_client_and_server
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user