Transport Instance's Probe Requests Always Fails
Describe the Bug microReticulum's probe destination does not successfully respond to a probe from an rnode. And sometimes it crashes when probed.
To Reproduce
- Turn on microReticulum device configured with
rnodeconf --tnc --freq 915000000 --bw 125000 --sf 8 --cr 5 --txp 0 /dev/ttyUSB0
- Plug microReticulum device to computer and montior program with
pio device monitor -e heltec_wifi_lora_32_V3 --port /dev/ttyUSB0
- Find line that says
Transport Instance will respond to probe requests on {Destination:[DESTINATION]} - Run
rnprobe probe [DESTINATION]on a device running RNode hooked up to a device with RNS. - Watch logs show that it tries to respond, and either of two occurs:
- It does transmit something as indicated by the waterfall on the display, but the probe is not received by rnprobe and fails indicating 100% packet loss.
- It crashes and reboots, and the probe is not received by rnprobe and fails indicating 100% packet loss.
Expected Behavior The probe succeeds and returns info about the connection.
Logs & Screenshots Non-crash failure: log.txt
Crash failures: crash2.txt crash.txt
System Information microReticulum device: Heltec V3 Program version: 1.85.2 Tested with RNode devices Heltec V4 and T-Echo.
Additional context It seems as though it is actually transmitting something when it says it "successfully sent packet!!!" It shows as traffic on all my devices in the waterfall, but it doesn't seem to actually get recognized. This is also different from #9 as it is not related to transport, just probing the device directly.
In my testing (on a different board) I was unable to reproduce this. Note that the command-line I'm using for testing is different from yours though. I'm using:
rnprobe rnstransport.probe [DESTINATION]
Try this and see if you get different results.
I can confirm that using the provided full name of rnstransport.probe does result in a response on the probe.
Should I reopen a new issue regarding the crashing, as it seems to be not related to the focus on this issue?
Regarding crashes, it's clearly happening on write_file, but there's not enough context in your logs to really understand what's going on.
Would it be possible to build and run it from PlatformIO where the ESP32 exception decoder is enabled, and send me those logs when it crashes. Please send complete logs from startup so that I can compare the crashing file write to earlier successful ones.
Here are some more logs, the first is a log where it crashed and rebooted three times. The second is a log where I had it running alone with no other devices on LoRa and it never crashed. It does not seem that this crash is related to specifically the probe functionality.
The crashing bug has been resolved