Hi,
So I have followed the steps mentioned for the getting started on an Ubuntu machine in the lora server documentation.
The setup went smoothly but now after adding my first gateway/device to lora server, the lora-app-server is showing a constant error in the logs complaining it can’t figure out the data-rate for the band. The log for lora-app-server is as follows:
Oct 14 13:28:48 Loraserver loraserver[16049]: time=“2019-10-14T13:28:48Z” level=info msg=“gateway/mqtt: uplink frame received”
Oct 14 13:28:49 Loraserver loraserver[16049]: time=“2019-10-14T13:28:49Z” level=error msg=“processing uplink frame error” data_base64=“QBG7UACAoQEIFNdRPWgoQvcyGua02a2hXA==” error=“get data-rate index error: lorawan/band: data-rate not found”
Oct 14 13:29:08 Loraserver loraserver[16049]: time=“2019-10-14T13:29:08Z” level=info msg=“gateway/mqtt: gateway stats packet received” gateway_id=60c5a8fffe71a9b0
Oct 14 13:29:08 Loraserver loraserver[16049]: time=“2019-10-14T13:29:08Z” level=info msg=“gateway updated” gateway_id=60c5a8fffe71a9b0
Oct 14 13:29:08 Loraserver loraserver[16049]: time=“2019-10-14T13:29:08Z” level=info msg=“metrics saved” aggregation=“[MINUTE HOUR DAY MONTH]” name=“gw:60c5a8fffe71a9b0”
For reference, here are my specs:
Machine OS: Ubuntu 18.04 (Virtual machine setup on Azure Cloud) Lora Gateway: RAK7249 Packet Forwarder: Semtech UDP GWMP Protocol Server UP & DOWN port: 1700
Here are the gateway logs:
Mon Oct 14 11:49:57 2019 daemon.info md[14492]: mdInit Done.
Mon Oct 14 11:49:57 2019 daemon.info mqttEv[14492]: mqttEvInit Done.
Mon Oct 14 11:49:57 2019 daemon.info unknown[14492]: gwManagerInit: Init gateway Manager
Mon Oct 14 11:49:57 2019 daemon.info bufrd[14492]: bufrdInit Done.
Mon Oct 14 11:49:57 2019 daemon.info bufrd[14492]: ENTER bufrdCreate `gwbridge-rd’
Mon Oct 14 11:49:57 2019 daemon.info gwBridge[14492]: MQTT Init Start
Mon Oct 14 11:49:57 2019 daemon.info gwBridge[14492]: Mqtt - Client ID gwbridge-60c5a8fffe71a9b0
Mon Oct 14 11:49:57 2019 daemon.info gwBridge[14492]: Mqtt - Retain 0
Mon Oct 14 11:49:57 2019 daemon.info gwBridge[14492]: Mqtt - Clean Session 1
Mon Oct 14 11:49:57 2019 daemon.info gwBridge[14492]: Mqtt - Qos 1
Mon Oct 14 11:49:57 2019 daemon.info gwBridge[14492]: Mqtt - keepalive 10
Mon Oct 14 11:49:57 2019 daemon.info mqttEv[14492]: mqttEvRegister : Register mosquitto event [gwBridgeS Mqtt Client]
Mon Oct 14 11:49:57 2019 daemon.info gwBridge[14492]: MQTT Init Done
Mon Oct 14 11:49:57 2019 daemon.info evloop[14492]: ENTER evloopRun
Mon Oct 14 11:49:57 2019 daemon.info gwBridge[14492]: mosqConnectCB: Mqtt Connect Success …
Mon Oct 14 11:50:06 2019 user.notice lora_pkt_fwd[14454]: INFO: [main] concentrator started, packet can now be received
Mon Oct 14 12:05:09 2019 user.warn lora_pkt_fwd[14454]: [up] Receive Downlink Packet! Drop it
Mon Oct 14 12:10:42 2019 user.warn lora_pkt_fwd[14454]: [up] Receive Downlink Packet! Drop it
Mon Oct 14 12:12:25 2019 user.warn lora_pkt_fwd[14454]: [up] Receive Downlink Packet! Drop it
Mon Oct 14 12:20:54 2019 user.warn lora_pkt_fwd[14454]: [up] Receive Downlink Packet! Drop it
Mon Oct 14 12:21:29 2019 user.warn lora_pkt_fwd[14454]: [up] Receive Downlink Packet! Drop it
Mon Oct 14 12:23:09 2019 user.warn lora_pkt_fwd[14454]: [up] Receive Downlink Packet! Drop it
Mon Oct 14 12:26:54 2019 user.warn lora_pkt_fwd[14454]: [up] Receive Downlink Packet! Drop it
Mon Oct 14 12:28:21 2019 user.warn lora_pkt_fwd[14454]: [up] Receive Downlink Packet! Drop it
Mon Oct 14 12:32:07 2019 user.warn lora_pkt_fwd[14454]: [up] Receive Downlink Packet! Drop it
Mon Oct 14 12:32:28 2019 user.warn lora_pkt_fwd[14454]: [up] Receive Downlink Packet! Drop it
Mon Oct 14 12:42:18 2019 user.warn lora_pkt_fwd[14454]: [up] Receive Downlink Packet! Drop
Here is a screenshot from the gateway packet logger which clearly mentions the data-rate was set to SF12BW125:
Is this the correct data-rate for AU915 system?