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:
Sep 25 21:38:14 pc-desktop loraserver: time=“2018-09-25T21:38:14-04:00” level=info msg=“backend/gateway: gateway stats packet received” gateway_id=647fdafffe005124
I am stuck on Device management (loraserver.io/lora-app-server/use/devices/) trying to understand how to activate my device which is a GPS asset tracker from Tektelic (tektelic.com/iot/lorawan-sensors/).
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.
Sep 25 21:53:23 pc-desktop loraserver: time=“2018-09-25T21:53:23-04:00” level=info msg=“packet(s) collected” dev_eui=647fda00000007bc gw_count=1 gw_ids=647fdafffe005124 mtype=JoinRequest
Sep 25 21:53:23 pc-desktop loraserver: 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”
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.
Any advice would be appreciated. Thank you.