ESP-NOW Peer Telemetry
Exchange short peer-to-peer frames between ESP boards without a Wi-Fi access point.
Topology and objective
ESP sensor peer → ESP-NOW receiver/gateway; optional Wi-Fi forwarding after validation.
Hardware and tools
- Supported development board
- USB data cable
- Current-limited supply
- Serial monitor and logic analyser when applicable
Security and RF safety
- Use peer encryption where supported.nDo not treat MAC filtering as authentication.nStay within local radio regulations and board power limits.
Practical procedure
- Record both peer MAC addresses.nUse a versioned compact packet structure.nRegister send and receive callbacks.nMeasure delivery success and RSSI versus distance.nAdd sequence number and duplicate detection.
Telemetry / payload
{"version":1,"node":3,"seq":104,"temperature_x10":251}Starter code / config
typedef struct { uint8_t version,node; uint32_t seq; int16_t temperature_x10; } packet_t;Expected results
| Checkpoint | Expected | Tool |
|---|---|---|
| Peer delivery | Sequence increments without gaps nearby | SerialnRange |
Troubleshooting
| Symptom | Check | Action |
|---|---|---|
| Peer not found | Verify channel and MAC | Align channel and re-add peernCorrupt fields |
Local-only sandbox
Commands & telemetry simulator
Send command
Simulator ready. No network connection is used.
