Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions micropython/bluetooth/aioble/examples/l2cap_file_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
_CONTROL_CHARACTERISTIC_UUID = bluetooth.UUID("0492fcec-7194-11eb-9439-0242ac130003")

# How frequently to send advertising beacons.
_ADV_INTERVAL_MS = 250_000
_ADV_INTERVAL_US = 250_000


_COMMAND_SEND = const(0)
Expand Down Expand Up @@ -162,7 +162,7 @@ async def peripheral_task():
while True:
print("Waiting for connection")
connection = await aioble.advertise(
_ADV_INTERVAL_MS,
_ADV_INTERVAL_US,
name="mpy-file",
services=[_FILE_SERVICE_UUID],
)
Expand Down
Loading