Skip to content

Commit f289288

Browse files
committed
ESP-NOW: Add module comment
1 parent dfab621 commit f289288

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

Firmware/RTK_Everywhere/ESPNOW.ino

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,18 @@
22
ESPNOW.ino
33
44
Handle the ESP-NOW events
5+
Use ESP NOW protocol to transmit RTCM between RTK Products via 2.4GHz
6+
7+
How pairing works:
8+
1. Device enters pairing mode
9+
2. Device adds the broadcast MAC (all 0xFFs) as peer
10+
3. Device waits for incoming pairing packet from remote
11+
4. If valid pairing packet received, add peer, immediately transmit a pairing packet to that peer and exit.
12+
13+
ESP NOW is bare metal, there is no guaranteed packet delivery. For RTCM byte transmissions using ESP NOW:
14+
We don't care about dropped packets or packets out of order. The ZED will check the integrity of the RTCM packet.
15+
We don't care if the ESP NOW packet is corrupt or not. RTCM has its own CRC. RTK needs valid RTCM once every
16+
few seconds so a single dropped frame is not critical.
517
**********************************************************************/
618

719
#ifdef COMPILE_ESPNOW

0 commit comments

Comments
 (0)