Skip to content

Commit 5b42366

Browse files
authored
Update ESPNOW badge comms docs (#269)
1 parent 52d7e0b commit 5b42366

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

docs/tildagon-apps/examples/inter-badge-communications.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,10 @@ weight: 3
55

66
[Here is a demo of using ESPNOW to achieve badge-to-badge communication](https://github.com/ntflix/TildaDrop).
77

8-
As noted in the repo, currently this only works when the sender knows the receiver's MAC address.
9-
Broadcast functionality, which does not require the MAC address of a recipient, does not seem to work as it shows in the [espnow docs](https://docs.micropython.org/en/latest/library/espnow.html#broadcast-and-multicast).
8+
~~As noted in the repo, currently this only works when the sender knows the receiver's MAC address.
9+
Broadcast functionality, which does not require the MAC address of a recipient, does not seem to work as it shows in the [espnow docs](https://docs.micropython.org/en/latest/library/espnow.html#broadcast-and-multicast).~~
10+
11+
> As of Tildagon OS 1.9.0, broadcast functionality works, so you can send messages to all badges in 'receiving' mode without needing to know their MAC addresses. Use the broadcast MAC address `b'\xff\xff\xff\xff\xff\xff'` to send messages to all badges.
1012
1113
MAC address can be found through like so:
1214

@@ -23,4 +25,3 @@ print(f"MAC address: {mac_str}")
2325
```
2426

2527
[See the ESPNOW MicroPython docs for more information and inspiration](https://docs.micropython.org/en/latest/library/espnow.html).
26-
If you get broadcast working, please submit a PR on these docs with your solution.

0 commit comments

Comments
 (0)