Thank you both for your answers. So I went and unplugged the LR1301 board from the adapter, to see them both better (see pictures below). I’m pretty sure this “adapter” is not the one you directed me to, I’m guessing it’s a “special” one created specially for this gateway setup (just a supposition). Once again, I couldn’t find any documentation on this one precisely (but I’ve been proven I’m not the best at finding docs, so who knows), it doesn’t even appear to have a model name or reference. But it looks pretty similar to the other one, so I suppose the pin numbers and connections shouldn’t be too different. That said, I couldn’t trace back the reset pin physically (unlike this user), or I don’t know how to do so. I still tried to set the GPIO4 pin to both 0 or 1 (as someone suggested in this comment to “try inverting the reset”).
As @bei recommended, I recompiled using make platform=rpi variant=debug ARCH=$(gcc --print-multiarch)
in the basicstation
directory, but I’m not sure how to “execute station”. The log I posted comes from executing execute sudo RADIODEV=/dev/spidev0.0 /opt/ttn-station/bin/start.sh
. When I try this again, I end up with the same log message, so I guess I’m messing something up.
About that:
I’m using an OS specifically made for this arduino gateway, provided here. When using cat /etc/os-release
I get the following:
PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)"
NAME="Raspbian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
So, not a lot of information on the OS provided. Before that, I also tried using a more “classic” raspbian OS (and with GUI), but for some reason I couldn’t get it connected to the internet. Or more precisely, it could connect to the internet normally, but the device still appeared offline in the arduino manager for linux (and the fan would blow at full power too).
EDIT: I tried ./build-rpi-std/bin/station --version
to check if the new build I did worked, but the file isn’t here (No such file or directory
). There are only 4 directories: bin
, inlcude
, lib
, s2core
.