akarunakaran@mindlogic.com
Forum Replies Created
-
AuthorPosts
-
October 16, 2019 at 12:54 am in reply to: LoRa packet forwarder – failed to start the concentrator #29793
akarunakaran@mindlogic.com
ParticipantThe command
sudo ./lora_pkt_fwd
gives the following response
##### 2019-10-16 05:51:00 GMT ##### ### [UPSTREAM] ### # RF packets received by concentrator: 2 # CRC_OK: 100.00%, CRC_FAIL: 0.00%, NO_CRC: 0.00% # RF packets forwarded: 2 (46 bytes) # PUSH_DATA datagrams sent: 3 (523 bytes) # PUSH_DATA acknowledged: 0.00% ### [DOWNSTREAM] ### # PULL_DATA sent: 2 (0.00% acknowledged) # PULL_RESP(onse) datagrams received: 0 (0 bytes) # RF packets sent to concentrator: 0 (0 bytes) # TX errors: 0 # BEACON queued: 0 # BEACON sent so far: 0 # BEACON rejected: 0 ### [JIT] ### # SX1301 time (PPS): 182520464 src/jitqueue.c:449:jit_print_queue(): INFO: [jit] queue is empty ### [GPS] ### # Invalid time reference (age: 1571205060 sec) # no valid GPS coordinates available yet ##### END ##### JSON up: {"stat":{"time":"2019-10-16 05:51:00 GMT","rxnb":2,"rxok":2,"rxfw":2,"ackr":0.0,"dwnb":0,"txnb":0}} INFO: Received pkt from mote: D002382E (fcnt=46037) JSON up: {"rxpk":[{"tmst":210834980,"chan":7,"rfch":1,"freq":903.700000,"stat":1,"modu":"LORA","datr":"SF10BW125","codr":"4/5","lsnr":8.0,"rssi":-26,"size":23,"data":"AC44AtB+1bNweOow//8kr/g1+StzNmY="}]}
-
This reply was modified 5 years, 6 months ago by
akarunakaran@mindlogic.com.
-
This reply was modified 5 years, 6 months ago by
akarunakaran@mindlogic.com.
-
This reply was modified 5 years, 6 months ago by
akarunakaran@mindlogic.com.
akarunakaran@mindlogic.com
ParticipantI used sudo and was able to start the concentrator manually.
sudo ./lora_pkt_fwd
I have installed LoRa gateway bridge in my system and to make sure the packet forwarder send data to the bridge i used the below command
sudo tcpdump -AUq port 1700
but no response. I followed the below link for trouble shooting
October 15, 2019 at 10:50 pm in reply to: LoRa packet forwarder – failed to start the concentrator #29787akarunakaran@mindlogic.com
ParticipantThank you. I used sudo and it worked.
Also used
sudo ./lora_pkt_fwd
and i was able to start the concentrator manually.
I have installed LoRa gateway bridge in my system and to make sure the packet forwarder send data to the bridge i used the below command
sudo tcpdump -AUq port 1700
but no response. I followed the below link for trouble shooting
https://www.loraserver.io/guides/troubleshooting/gateway/
-
This reply was modified 5 years, 6 months ago by
akarunakaran@mindlogic.com.
-
This reply was modified 5 years, 6 months ago by
akarunakaran@mindlogic.com.
-
This reply was modified 5 years, 6 months ago by
akarunakaran@mindlogic.com.
-
This reply was modified 5 years, 6 months ago by
akarunakaran@mindlogic.com.
October 15, 2019 at 3:37 am in reply to: LoRa packet forwarder – failed to start the concentrator #28906akarunakaran@mindlogic.com
ParticipantI have been facing the same issue. I tried running the below commands,
cd /opt/lora/gateway-utils
./test_loragw_spi
./util_spi_stressfor which i got the following results
admin@mtcdt:/opt/lora/gateway-utils$ ./test_loragw_spi
Beginning of test for loragw_spi.c
data received (simple read): 0
End of test for loragw_spi.c
admin@mtcdt:/opt/lora/gateway-utils$ ./util_spi_stress
INFO: Starting LoRa concentrator SPI stress-test number 1
ERROR: lgw_connect() did not return SUCCESSadmin@mtcdt:/opt/lora/gateway-utils$akarunakaran@mindlogic.com
ParticipantI tried changing the global_config.json file but still getting the same erroe.Can you please help me out with this?
-
This reply was modified 5 years, 6 months ago by
akarunakaran@mindlogic.com.
akarunakaran@mindlogic.com
ParticipantHi,
Thanks for the response. I trid running the above steps and i got the below response.
`*** Beacon Packet Forwarder for Lora Gateway ***
Version: 4.0.1
*** Lora concentrator HAL library version info ***
Version: 5.0.1;
***
INFO: Little endian host
INFO: found global configuration file global_conf.json, parsing it
INFO: global_conf.json does contain a JSON object named SX1301_conf, parsing SX1301 parameters
INFO: lorawan_public 1, clksrc 0
INFO: LBT is disabled
INFO: antenna_gain 0 dBi
INFO: Configuring TX LUT with 16 indexes
INFO: radio 0 enabled (type SX1257), center frequency 902700000, RSSI offset -162.000000, tx enabled 1, tx_notch_freq 0
INFO: radio 1 enabled (type SX1257), center frequency 903500000, RSSI offset -162.000000, tx enabled 0, tx_notch_freq 0
INFO: Lora multi-SF channel 0> radio 0, IF -400000 Hz, 125 kHz bw, SF 7 to 12
INFO: Lora multi-SF channel 1> radio 0, IF -200000 Hz, 125 kHz bw, SF 7 to 12
INFO: Lora multi-SF channel 2> radio 0, IF 0 Hz, 125 kHz bw, SF 7 to 12
INFO: Lora multi-SF channel 3> radio 0, IF 200000 Hz, 125 kHz bw, SF 7 to 12
INFO: Lora multi-SF channel 4> radio 1, IF -400000 Hz, 125 kHz bw, SF 7 to 12
INFO: Lora multi-SF channel 5> radio 1, IF -200000 Hz, 125 kHz bw, SF 7 to 12
INFO: Lora multi-SF channel 6> radio 1, IF 0 Hz, 125 kHz bw, SF 7 to 12
INFO: Lora multi-SF channel 7> radio 1, IF 200000 Hz, 125 kHz bw, SF 7 to 12
INFO: Lora std channel> radio 0, IF 300000 Hz, 500000 Hz bw, SF 8
INFO: FSK channel 8 disabled
INFO: global_conf.json does contain a JSON object named gateway_conf, parsing gateway parameters
INFO: gateway MAC address is configured to 00800000A000474D
INFO: server hostname or IP address is configured to “192.168.1.123”
INFO: upstream port is configured to “1700”
INFO: downstream port is configured to “1700”
INFO: downstream keep-alive interval is configured to 1 seconds
INFO: statistics display interval is configured to 30 seconds
INFO: upstream PUSH_DATA time-out is configured to 100 ms
INFO: duplicate packets received with low SNR will NOT be forwarded
INFO: packets received with a valid CRC will be forwarded
INFO: packets received with a CRC error will be forwarded
INFO: packets received with no CRC will NOT be forwarded
INFO: Auto-quit after 60 non-acknowledged PULL_DATA
ERROR: [main] failed to start the concentratorakarunakaran@mindlogic.com
ParticipantThank you.The problem has been sorted out. There was an issue with Ethernet connection. I have a LoRa GPS tracker turned on. I wanted to check if the gateway is receiving the data for which i used this command
sudo tcpdump -AUq -i lo port 1700I followed this link.
https://www.loraserver.io/guides/troubleshooting/gateway/I tried using this command in terminal
mosquitto_sub -h xx.xx.xx.xx -p 1883 -t application/#
but there was no response
-
This reply was modified 5 years, 6 months ago by
akarunakaran@mindlogic.com.
-
This reply was modified 5 years, 6 months ago by
akarunakaran@mindlogic.com.
-
This reply was modified 5 years, 6 months ago by
akarunakaran@mindlogic.com.
-
This reply was modified 5 years, 6 months ago by
akarunakaran@mindlogic.com.
-
This reply was modified 5 years, 6 months ago by
akarunakaran@mindlogic.com.
-
This reply was modified 5 years, 6 months ago by
akarunakaran@mindlogic.com.
-
This reply was modified 5 years, 6 months ago by
akarunakaran@mindlogic.com.
akarunakaran@mindlogic.com
ParticipantI tried the above command and this is the response i got
admin@mtcdt:/var/run/lora/1$ sudo ./lora_pkt_fwd
*** Beacon Packet Forwarder for Lora Gateway ***
Version: 4.0.1
*** Lora concentrator HAL library version info ***
Version: 5.0.1;
***
INFO: Little endian host
INFO: found global configuration file global_conf.json, parsing it
INFO: global_conf.json does contain a JSON object named SX1301_conf, parsing SX1301 parameters
INFO: lorawan_public 1, clksrc 0
INFO: LBT is disabled
INFO: antenna_gain 0 dBi
INFO: Configuring TX LUT with 16 indexes
INFO: radio 0 enabled (type SX1257), center frequency 904300000, RSSI offset -162.000000, tx enabled 1, tx_notch_freq 0
INFO: radio 1 enabled (type SX1257), center frequency 905100000, RSSI offset -162.000000, tx enabled 0, tx_notch_freq 0
INFO: Lora multi-SF channel 0> radio 0, IF -400000 Hz, 125 kHz bw, SF 7 to 12
INFO: Lora multi-SF channel 1> radio 0, IF -200000 Hz, 125 kHz bw, SF 7 to 12
INFO: Lora multi-SF channel 2> radio 0, IF 0 Hz, 125 kHz bw, SF 7 to 12
INFO: Lora multi-SF channel 3> radio 0, IF 200000 Hz, 125 kHz bw, SF 7 to 12
INFO: Lora multi-SF channel 4> radio 1, IF -400000 Hz, 125 kHz bw, SF 7 to 12
INFO: Lora multi-SF channel 5> radio 1, IF -200000 Hz, 125 kHz bw, SF 7 to 12
INFO: Lora multi-SF channel 6> radio 1, IF 0 Hz, 125 kHz bw, SF 7 to 12
INFO: Lora multi-SF channel 7> radio 1, IF 200000 Hz, 125 kHz bw, SF 7 to 12
INFO: Lora std channel> radio 0, IF 300000 Hz, 500000 Hz bw, SF 8
INFO: FSK channel 8 disabled
INFO: global_conf.json does contain a JSON object named gateway_conf, parsing gateway parameters
INFO: gateway MAC address is configured to 00800000A000474D
INFO: server hostname or IP address is configured to “xx.xx.xx.xx”
INFO: upstream port is configured to “1700”
INFO: downstream port is configured to “1700”
INFO: downstream keep-alive interval is configured to 10 seconds
INFO: statistics display interval is configured to 20 seconds
INFO: upstream PUSH_DATA time-out is configured to 100 ms
INFO: duplicate packets received with low SNR will NOT be forwarded
INFO: packets received with a valid CRC will be forwarded
INFO: packets received with a CRC error will be forwarded
INFO: packets received with no CRC will NOT be forwarded
INFO: Reference latitude is configured to 0.000000 deg
INFO: Reference longitude is configured to 0.000000 deg
INFO: Reference altitude is configured to 0 meters
INFO: GPS is enabled
INFO: Auto-quit after 60 non-acknowledged PULL_DATA
INFO: [main] GPSD polling open for GPS synchronization
ERROR: [up] connect returned Network is unreachable-
This reply was modified 5 years, 6 months ago by
akarunakaran@mindlogic.com.
akarunakaran@mindlogic.com
ParticipantHi Jason Reiss,
That solved my issue thanks.
But I am still having problems receiving the data to the gateway.Can you please help me with the configuration?
I have installed the LoRa Gateway bridge in the gateway and also setup the packet forwarder(AEP module).I am still unable to get the data from device.
I tried the below command to check if the packet forwarder is getting the data,but no response.
sudo tcpdump -AUq -i lo port 1700
-
This reply was modified 5 years, 6 months ago by
akarunakaran@mindlogic.com.
-
This reply was modified 5 years, 6 months ago by
akarunakaran@mindlogic.com.
-
This reply was modified 5 years, 6 months ago by
akarunakaran@mindlogic.com.
-
This reply was modified 5 years, 6 months ago by
akarunakaran@mindlogic.com.
-
This reply was modified 5 years, 6 months ago by
-
AuthorPosts