From b059f992e2b23c4030643c8a91eaf89aafe6df8a Mon Sep 17 00:00:00 2001 From: Garry W <32130780+garywill@users.noreply.github.com> Date: Sun, 24 Nov 2024 08:36:49 +0000 Subject: [PATCH] Fix aioble README const name: ADDR_PUBLIC Signed-off-by: Garry W <32130780+garywill@users.noreply.github.com> --- micropython/bluetooth/aioble/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/micropython/bluetooth/aioble/README.md b/micropython/bluetooth/aioble/README.md index 83ae00209..559594850 100644 --- a/micropython/bluetooth/aioble/README.md +++ b/micropython/bluetooth/aioble/README.md @@ -93,7 +93,7 @@ async with aioble.scan(duration_ms=5000, interval_us=30000, window_us=30000, act # Either from scan result device = result.device # Or with known address -device = aioble.Device(aioble.PUBLIC, "aa:bb:cc:dd:ee:ff") +device = aioble.Device(aioble.ADDR_PUBLIC, "aa:bb:cc:dd:ee:ff") try: connection = await device.connect(timeout_ms=2000)