Unable to receive data from eps32S3
I flashed ESP32-S3 CSI Firmware v0.2.0 onto my ESP32-S3 and used the command python provision.py --port COM6 --ssid "test" --password "test" --target-ip XXX.XX.XXX.X (my local IPv4 address). Everything went smoothly, but when I opened the visualization interface, it showed "No Frames Processed". How can I resolve this?
Look at your logs. The UI isn't important for calibration
Thanks for your reply. In fact, I also use cargo run -p wifi-densepose-hardware --bin aggregator -- --bind 0.0.0.0:5005 --verbose and u I didn't see any data in the debugging mode. By the way, since I don't support csi's Wi-Fi routeing, is it feasible to rely only on esp32s3?
What wifi device are you using?, I've done all my recent testing on esp32 s3 mesh. Typically takes a day or two to get fully trained.
I only used a consumer-grade Wi-Fi router + an esp32 as a test.
Troubleshooting "No Frames Processed"
Based on your screenshots, the ESP32 is provisioned but the server isn't receiving UDP packets.
Step 1: Verify ESP32 is sending data
Connect to the ESP32's serial monitor:
# macOS/Linux
screen /dev/ttyUSB0 115200
# or
idf.py -p /dev/ttyUSB0 monitor
You should see logs like:
CSI: TX frame to 192.168.x.x:5005, 148 bytes
If you see errors like sendto failed or WiFi not connected, the ESP32 isn't on the network.
Step 2: Verify network connectivity
The --target-ip you provided must be:
- Your computer's local IP on the same network (not
127.0.0.1orlocalhost) - Reachable from the ESP32
Find your local IP:
# macOS
ifconfig en0 | grep "inet "
# Linux
ip addr show | grep "inet " | grep -v 127.0.0.1
# Windows
ipconfig | findstr IPv4
Step 3: Verify UDP packets are arriving
Open a terminal and listen:
# macOS/Linux
nc -ul 5005
# Or use tcpdump
sudo tcpdump -i any udp port 5005
If you see hex data arriving, the ESP32 is working. If not:
- Check firewall settings (port 5005 UDP must be open)
- Verify ESP32 and computer are on the same subnet
Step 4: Check the visualization server
Start with debug logging:
RUST_LOG=debug sensing-server --source esp32 --udp-port 5005 --http-port 3000 --ws-port 3001
Look for:
DEBUG: Received CSI frame, magic=0xC5110001, len=148
Common Issues
| Symptom | Cause | Fix |
|---|---|---|
| No UDP packets | Firewall blocking | Open port 5005 UDP |
| No UDP packets | Wrong target IP | Re-run provision.py with correct IP |
| ESP32 not connecting | Wrong WiFi credentials | Re-run provision.py with correct SSID/password |
| Server shows 0 frames | Wrong --source |
Use --source esp32 not --source auto |
Let me know what you find at each step!
Troubleshooting Update
A few things to check:
1. CSI config bug (now fixed)
We discovered the committed sdkconfig had CSI disabled (# CONFIG_ESP_WIFI_CSI_ENABLED is not set). This has been fixed in #241 (ADR-057). If you built from source, pull latest and rebuild. This alone could explain why you're seeing zero frames.
2. Single ESP32-S3 + consumer router
This setup works — you don't need multiple ESP32s. The ESP32 connects to your router's WiFi and captures CSI from all frames it sees in promiscuous mode. The router acts as the RF source.
3. Verify data flow step by step
# Step 1: Check ESP32 serial output — should show CSI callbacks
idf.py -p COM7 monitor
# Look for: "CSI cb #1: len=... rssi=... ch=..."
# Step 2: Check UDP packets arrive on your PC
# Linux/macOS:
nc -ul 5005
# Windows (PowerShell):
# Use Wireshark → filter: udp.port == 5005
# Step 3: Start aggregator with verbose logging
RUST_LOG=debug cargo run -p wifi-densepose-hardware --bin aggregator -- --bind 0.0.0.0:5005 --verbose
If Step 1 shows no CSI callbacks, the CSI config bug was your issue — rebuild with the fix. If Step 1 works but Step 2 shows nothing, it's a network/firewall issue (ESP32's --target-ip must be your PC's local IP, not 127.0.0.1).
Let us know what you find!
Check with v0.4.2-esp32
If your ESP32-S3 isn't sending data to the aggregator, v0.4.2-esp32 may help:
- Auto-channel detection — firmware now auto-detects the AP channel, so CSI collection starts on the correct channel immediately
- Verify provisioning — ensure target IP and port are correct:
python provision.py --port COMX --ssid "YourSSID" --password "YourPass" \ --target-ip YOUR_PC_IP --target-port 5005 - Monitor serial output to confirm WiFi connects and CSI frames are being collected
On the PC side, verify UDP port 5005 is open:
# Linux/Mac
nc -lu 5005
# Windows
python -c "import socket; s=socket.socket(socket.AF_INET,socket.SOCK_DGRAM); s.bind(('0.0.0.0',5005)); print('Listening...'); data,addr=s.recvfrom(4096); print(f'Got {len(data)} bytes from {addr}')"
v0.5.3 includes fixes for data reception issues — RSSI byte offset corrected (#332), edge vitals path now generates detection updates (#323), and per-node state ensures each ESP32 is tracked independently. Please reflash with v0.5.3 and reprovision.
Improved in v0.5.5
v0.5.5 includes several improvements for ESP32 data reception:
-
Multi-frequency channel hopping — If your ESP32 is on a different channel than your AP, it may not capture CSI. The new
--hop-channelsprovisioning ensures coverage:python firmware/esp32-csi-node/provision.py --port COM9 --hop-channels "1,6,11" -
Diagnostic RF scanner — See exactly what your ESP32 is capturing:
node scripts/rf-scan.js --port 5006 --duration 10 -
Feature vector packet (0xC5110003) — New 48-byte packet at 1 Hz with 8-dim normalized features, easier to parse than raw CSI.
-
Detailed tutorial — Step-by-step setup guide: Cognitum Seed Pretraining Tutorial
See v0.5.5 release.
"No Frames Processed" means the server is running but not receiving UDP packets from the ESP32. Most common causes:
- Wrong
--target-ip— the IP passed toprovision.pymust be your host machine's LAN IP (e.g.192.168.1.X), notlocalhostor127.0.0.1 - Firewall blocking UDP 5005 — on Windows, add an inbound rule for UDP port 5005
- Different subnet — the ESP32 and PC must be on the same network/VLAN
See the "No Data Arriving" section in the Known Issues & Setup Troubleshooting Guide (#301) for step-by-step diagnostics.
Generated by Claude Code
Firmware v0.2.0 is very old — please flash the latest release from the Releases page. Many issues with "No Frames Processed" were resolved in subsequent versions.
After upgrading, if you still see "No Frames Processed", the most common cause is that --target-ip in your provision command is set to the wrong address. It must be your host machine's LAN IP (e.g. 192.168.x.x) — not 127.0.0.1 or the router's IP. Run ipconfig (Windows) or ip addr (Linux) to confirm your IP.
Full troubleshooting steps are at #301 under the No Data Arriving section.
Generated by Claude Code
This was filed against firmware v0.2.0, which is many releases old — the current release is v0.6.4. Please flash the latest firmware and re-provision. The troubleshooting guide at #301 also covers the "No Frames Processed" symptom with steps to verify UDP delivery, target IP, and Docker networking.
Generated by Claude Code
The most common cause of "No nodes found" after a successful flash and provision is an incorrect --target-ip. That value must be the IP address of the machine running the aggregator/Docker container (your server or laptop), not the ESP32's own IP.
Quick checklist:
- Confirm
--target-ipmatches your server's LAN IP (e.g.192.168.1.x) — runipconfig(Windows) orip addr(Linux/Mac) on the server to check. - Ensure UDP port 5000 is open inbound on your server's firewall (
netsh advfirewallon Windows,ufwon Linux). - Check Docker logs with
docker logs <container-name>— you should see incoming UDP packets from the ESP32's IP once it starts sending. - If using WiFi with DHCP, re-provision any time the server's IP changes.
See #301 for the full troubleshooting guide covering this and other common setup issues.
Generated by Claude Code
Closing — substantively answered over 13 comments (most recent 2026-05-18). The most common root causes have shipped fixes since this was filed:
--target-ipmismatch (most common): documented in the Tutorial #34 update and the Known Issues guide #301- Node-id clobber on multi-node setups: fixed via the defensive NVS early-capture in csi_collector.c (fix-marker
RuView#232-375-385-386-390), live since v0.6.1-esp32 - Tmr Svc bootloop on fresh 8 MB builds: fixed in v0.6.5-esp32 (sdkconfig.defaults missing the timer-task stack bump)
- WiFi modem sleep starving the CSI callback: fixed via
esp_wifi_set_ps(WIFI_PS_NONE)in v0.6.x (fix-markerRuView#521) - MGMT-only promiscuous filter to prevent SPI flash cache crash: fix-marker
RuView#396
If you're still seeing no data on v0.6.5-esp32 or later with a current sensing-server, please reopen with a fresh serial log from boot + the output of sudo tcpdump -i any -n 'udp port 5005' -c 20 on the host so we can pinpoint where the path is breaking. Thanks.