Could you try and post the output of test_loragw_spi and test_loragw_reg commands tools that is generated during the build process of the lora gateway HAL.
There is also a util_tx_test command that will just run and do some transmission testing
you can run it like so from a linux terminal:
Iām new to LoRaWan and what a lot is there to read. Even so, I absolutely do not understand everything I read. Trying though!
So, after ābuildingā a ESP8266/RFM95 single channel gateway, that did not work, and making a Raspberry/RFM95 single channel gateway (singel_chan_pkg_fwd) that does work I realize that a real TTN gateway is the way to go, providing a part of Almere Haven a TheThingsNetwork coveridge. So I ordered the RAK831 and in the mean time configuring a RPi for the RAK831.
My question to the community is: is there a ābest practiceā? Foremost: what software to install to make a āconfigure once and never look at it again gatewayā?
After that there is enough to learn and research for creating nodesā¦ (I have bought some ESP8266 and RFM95 modules, but the RFM95ās seem not to be the lora modules of choice. Any help in pointing to the right direction for that is also welcome).
Thanks in advance!
Start with the TTN packet forwarder. The github contains all instructions for deploying and running a gateway unattended on a Raspberry Pi, which is pretty much the most common way people run TTN gateways for now;
I will do that although it raises an other question: What is the difference between a Gateway and a PackeT Forwarder??
EDIT: Host: embedded computer on which the packet forwarder is run. Gateway: a device composed of at least one radio concentrator, a host, some network connection to the internet
So, if I get it right: The Gateway is the combination of the RPi and the Concentrator (in my case the RAK831).
Itās all there in the documentation ā¦ but there is so much of it
Also: There is no āRaspberry Pi + RAK831 installations manualā
Is the IMST ic880a āthe sameā/ācompatibleā with the RAK831 (I think I have seen a reference to the ic880a in the setup instructions from RAKWIRELESS in the document āGetting started with the RAK 831 Lora Gateway and RPi3.pdfā)?
LoRaWAN seems getting more complicated by every question I have
@kersing & @jezd: keep us posted!!! You are ahead of my order delivery.
The packet forwarder is the piece of software that runs on a gateway and forwards all LoraWAN packets to and from the network server. The gateway is the hardware consisting out of the antenna, the concentrator (e.g. RAK831) and a host computer running the packet forwarder.
The packet forwarder should work with most concentrator boards, including the RAK831. You only need to find the relevant wiring diagrams, the software should function the same.
If youāre new to this, best start with reading the wiki .
Does this mean you are the first to have a working interface PCB for the RAK831 + Pi (well in Europe at least)?
Do you intend to sell these as I have a RAK board somewhere between Asia and Ireland as I typeā¦
Technically itās perfectly possible. There already has been some discussion on the subject, I think in the TTN gateway thread. However no-one actually bothered to invest time in it because you can buy ā¬9 miniature Raspberry Pi clones that do the job just as well.
The official TTN gateway will use a PIC32 and afaik they will release the firmware under an open-source license. The chip is quite expensive in single quantities though.
For me, this is where the confusion continuous. The blog you suggest uses āhttps://github.com/ttn-zh/ic880a-gateway.gitā and it has some strange remote config repository whilst the option @Epyon suggests does not have that at all.
I copied the TTN Packet Forwarder binary to my RPi and that seems to work (I have not received my RAK831 yet, so not really sureā¦)
@GryKyo
Iām not the first to have a PCB, Kilobyte had boards days ago, but as I got a RAK831 early on Iām one of the first with a tested board.
I have a limited number of boards available for sale @ 4.50 euro plus postage (just PCB, no connectors).
Later this week I will put the design files somewhere public so anyone can download them and order their own board(s) at a PCB house. (Cheap PCBs == a couple of weeks wait time, faster == more expensive)
That would be strange as a packet forwarder generally requires a concentrator and the packet forwarders I know abort when no concentrator is available.
@kersing is correct, no concentrator, no packet forwarder, and more than that, packet forwarder relies on low level SPI concentrator library named libloragw