Skip to content

Commit

Permalink
Fix aioble README const name: ADDR_PUBLIC
Browse files Browse the repository at this point in the history
Signed-off-by: Garry W <32130780+garywill@users.noreply.github.com>
  • Loading branch information
garywill authored Nov 24, 2024
1 parent e4cf095 commit b059f99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion micropython/bluetooth/aioble/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit b059f99

Please sign in to comment.