Closed josephbu closed 9 months ago
Just a quick question before digging in further, when using it with Reticulum, the RNode is in "Normal (host-controlled)" mode, right? As in, it has not been set to TNC mode before being opened by Reticulum/nomadnet?
Thanks for reporting this!
I have been trying to replicate this on macOS, and even trying several different devices I am having no luck in getting the issue to appear :(
I know this is a bit tedious, but to rule out simple causes, could you try the following:
/Library/Extensions/SiLabsUSBDriver.kext
and /Library/Extensions/SiLabsUSBDriver64.kext
.Let me know!
Apologies for not being clearer, I don't (yet) have a setup on MacOS. I'm seeing this on:
Macbook Pro + Ubuntu 20.04 Raspberry PI + Buster
The example of setting the radio into TNC mode was just a example where running rnodeconf
over and over I could see that sometimes radio parameters weren't being set, and sometimes different parameters were applying or failing..
I set the radio back to host mode before trying to start up nomadnet
where I see in the logs that it appears to be failing to set radio parameters.
Happy to try anything you think might be useful to debug/troubleshoot :-)
Ah, of course! Sorry, I misunderstood those details. Just to make sure it is not something basic, could you try with another USB cable, and see if the intermittent behaviour regarding radio configuration still occurs?
If it does, I will try to compile a test version of Reticulum with slightly longer wait times for ESP32-based radio inits.
Also, could you let me know the exact version information printed next to the SMA antenna connector on the T-Beam PCB?
Macbook Pro + Ubuntu 20.04 + T-Beam.
When starting
nomadnet
the RNode interface as configured in~/.reticulum/config
is not starting, from the logs it seems that the radio interface is not being configured correctly.In this first log
TX power mismatch
is the error, and there is noRadio reporting TX power...
echoed back.In the second log from 10 seconds later
Bandwidth mismatch
is the error asRadio reporting bandwidth...
is missing, however this time the TX Power was successfully set.I am assuming that Reticulum is calling rnodeconf to configure the RNode that's defined in the config. Testing with running rnodeconf manually I also see similar intermittent results where some of the settings passed in the config string do not take effect and are not echo'ed back.
Power setting is ignored, no state echo'ed back.
10 seconds later, this time the bandwidth setting is ignored however the power setting sticks.
This T-Beam has worked ok using another other machine I'm using to get my test setup going.
However on that machine (Raspberry PI (buster) with Python3.7.3) using a T-Beam or Lora32 I also see similar where often one of the various radio config options is not applied and the setup of the RNode interface fails.
If I keep restarting nomadnet then it will work eventually.
Failed:
Minutes later worked ok: