[ESP32] StartHere crashes after findConnection(): Did not Find
I was looking at using PainlessMesh to do some mesh networking, and I figured I should start with the example code (StartHere) provided. With one node, it all seems to be fine. Switching to using two nodes and things fall apart with one of the two nodes rebooting repeatedly.
Component | Version |
---|---|
Arduino IDE | 1.8.8 |
ESP32 | 1.0.1 |
PainlessMesh | 1.3.0 |
AsyncTCP | 1.0.3 |
ArduinoJson | 5.13.4 |
TaskScheduler | 3.0.2 |
The log from the node that crashes looks like:
setDebugTypes: ERROR | CONNECTION | DEBUG |
CONNECTION: stationScan(): whateverYouLike
Sending message: Hello from node 763955186 myFreeMemory: 274480
CONNECTION: eventScanDoneHandler: SYSTEM_EVENT_SCAN_DONE
CONNECTION: scanComplete():-- > scan finished @ 3878642 < --
CONNECTION: scanComplete():-- > Cleared old aps.
CONNECTION: scanComplete(): num = 6
CONNECTION: found : whateverYouLike, -3dBm
CONNECTION: Found 1 nodes
CONNECTION: findConnection(763960686): did not find connection
CONNECTION: connectToAP(): Best AP is 763960686<---
CONNECTION: connectToAP(): Trying to connect, scan rate set to 4*normal
Sending message: Hello from node 763955186 myFreeMemory: 274352
CONNECTION: eventSTAGotIPHandler: SYSTEM_EVENT_STA_GOT_IP
CONNECTION: New STA connection incoming
CONNECTION: meshConnectedCb(): we are STA
CONNECTION: findConnection(): Did not Find
Guru Meditation Error: Core 1 panic'ed (LoadProhibited). Exception was unhandled.
Edited by BlackEdder