I am new and installing, configuring and testing LoRaServer (2.2.0) for the first time locally on Ubuntu 16.04. I have been following the steps on loraserver documentation and everything seems to have worked so far in the sens that I have been able to add the Tektelic Pico Gateway from the UI and see the stats packets in the journal:
Under “Keys (OOTA)” in the UI I entered my APP-KEY in the “Network key *” field and left the “Application key” field empty since otherwise I would not know what to put. Here are the only informations I was given by Tektelic:
Now I can see the Join Request and DEV-EUI in the gateway’s “Live Lora Frame” view in the UI, but I get the following error in the journal. In addition the led keeps blinking on the device indicating no network was joined, and all is greyed out in the “Activation” tab in the UI.
I do not know the LoRaWAN MAC version for my Tektelic device; that could potentially be the source of the problem. The fact that I do not know what to enter in the "“Application key” field and left it empty also bothers me. I am also not familiar with the role of DEVADDR, APPSKEY, and NWKSKEY.
Sep 25 21:53:23 pc-desktop loraserver[6373]: time=“2018-09-25T21:53:23-04:00” level=error msg=“processing uplink frame error” data_base64=“ALwHAACA2n9kvAcAAADaf2RXloffnNs=” error=“get device error: object does not exist”
It looks like the DevEUI in the join-request is unknown to LoRa Server. Please check the join-request in the live frame logs on the gateway page and validate this with the device you have configured in LoRa App server.
From a RAK5146
RAKWireless gateway RAK5146 no LTE version 4.2.7R install from source code.
Gateway ID: DCA632FFFE0704F1.
From the Gateway LoRaWAN Frames I can see traffic.
From here, I can see that the MAC Payload contains:-
joinEUI:“4cf0ed68733057da”
devEUI:“a8610a3234448303”
devNonce:37879
My Arduino MKR 1310 says that it’s
device EUI is a8610a3234448303
Chirpstack App config is showing it’s Device EUI 4cf0ed68733057da
This is most certainly a case of PEBKAC, but I’m not able to see anything in the Application LoRaWAN Frames.
If I tail -f /var/log/syslog, I can see that error=“get device error: object does not exist”.
Which kind of makes sense, but as it’s not shown up in the “Activation” tab, I’m not able to do anything here.