We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c266d30 commit 6ae440aCopy full SHA for 6ae440a
micropython/bluetooth/aioble/examples/l2cap_file_server.py
@@ -33,7 +33,7 @@
33
_CONTROL_CHARACTERISTIC_UUID = bluetooth.UUID("0492fcec-7194-11eb-9439-0242ac130003")
34
35
# How frequently to send advertising beacons.
36
-_ADV_INTERVAL_MS = 250_000
+_ADV_INTERVAL_US = 250_000
37
38
39
_COMMAND_SEND = const(0)
@@ -162,7 +162,7 @@ async def peripheral_task():
162
while True:
163
print("Waiting for connection")
164
connection = await aioble.advertise(
165
- _ADV_INTERVAL_MS,
+ _ADV_INTERVAL_US,
166
name="mpy-file",
167
services=[_FILE_SERVICE_UUID],
168
)
0 commit comments