High packet loss


#1

My configuration is up a running (Arduino AT328 with Dragino shield and LMIC library) sensors and the IC880A concentrator on a Raspberry PI. I’m using quarter wave antennas on both (indoors and within 5-75 feet of one another). I’m using the Semtech packet forwarder.

However, I’m losing probably 80 percent of the packets. This seems to be true with both LoRaServer and TTN.

The gateway doesn’t see most of the packets and of those it does, there are lots of CRC errors. I can see the packets being queued on the Arduino but there’s nothing (most of the time) on the other side.

I’m sending a message every 1-2 minutes.

Any suggestions on what I might try?

I’ve attached the startup from the packet forwarder

*** 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 1
INFO: no configuration for LBT
INFO: antenna_gain 0 dBi
INFO: Configuring TX LUT with 16 indexes
INFO: radio 0 enabled (type SX1257), center frequency 902700000, RSSI offset -166.000000, tx enabled 1, tx_notch_freq 0
INFO: radio 1 enabled (type SX1257), center frequency 903400000, RSSI offset -166.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 -300000 Hz, 125 kHz bw, SF 7 to 12
INFO: Lora multi-SF channel 5> radio 1, IF -100000 Hz, 125 kHz bw, SF 7 to 12
INFO: Lora multi-SF channel 6> radio 1, IF 100000 Hz, 125 kHz bw, SF 7 to 12
INFO: Lora multi-SF channel 7> radio 1, IF 300000 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: server hostname or IP address is configured to "localhost"
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 30 seconds
INFO: upstream PUSH_DATA time-out is configured to 300 ms
INFO: packets received with a valid CRC will be forwarded
INFO: packets received with a CRC error will NOT be forwarded
INFO: packets received with no CRC will NOT be forwarded
INFO: Beaconing period is configured to 128 seconds
INFO: Beaconing signal will be emitted at 923300000 Hz
INFO: Beaconing channel number is set to 8
INFO: Beaconing channel frequency step is set to 600000Hz
INFO: Beaconing datarate is set to SF12
INFO: Beaconing modulation bandwidth is set to 500000Hz
INFO: Beaconing TX power is set to 14dBm
INFO: Beaconing information descriptor is set to 0
INFO: found local configuration file local_conf.json, parsing it
INFO: redefined parameters will overwrite global parameters
INFO: local_conf.json does not contain a JSON object named SX1301_conf
INFO: local_conf.json does contain a JSON object named gateway_conf, parsing gateway parameters
INFO: gateway MAC address is configured to B827EBFFFE8BF012
INFO: server hostname or IP address is configured to "localhost"
INFO: packets received with a valid CRC will be forwarded
INFO: packets received with a CRC error will NOT be forwarded
INFO: packets received with no CRC will NOT be forwarded
INFO: Reference latitude is configured to XX.XX deg
INFO: Reference longitude is configured to XX.XX deg
INFO: Reference altitude is configured to 244 meters
INFO: fake GPS is enabled
INFO: [main] concentrator started, packet can now be received

INFO: Disabling GPS mode for concentrator’s counter…
INFO: host/sx1301 time offset=(1518569808s:53243µs) - drift=-1778793477µs
INFO: Enabling GPS mode for concentrator’s counter.

INFO: [down] PULL_ACK received in 2 ms
INFO: [down] PULL_ACK received in 1 ms
INFO: [down] PULL_ACK received in 1 ms

2018-02-14 00:57:20 GMT

[UPSTREAM]

RF packets received by concentrator: 1

CRC_OK: 0.00%, CRC_FAIL: 100.00%, NO_CRC: 0.00%

RF packets forwarded: 0 (0 bytes)

PUSH_DATA datagrams sent: 0 (0 bytes)

PUSH_DATA acknowledged: 0.00%

[DOWNSTREAM]

PULL_DATA sent: 3 (100.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): 2441308

src/jitqueue.c:448:jit_print_queue(): INFO: [jit] queue is empty

[GPS]

GPS FAKE coordinates: latitude 41.71638, longitude -91.56787, altitude 244 m

END

JSON up: {“stat”:{“time”:“2018-02-14 00:57:20 GMT”,“lati”:XX.XX,“long”:XX.XX,“alti”:244,“rxnb”:1,“rxok”:0,“rxfw”:0,“ackr”:0.0,“dwnb”:0,“txnb”:0}}

INFO: [up] PUSH_ACK received in 2 ms
INFO: [down] PULL_ACK received in 1 ms
INFO: [down] PULL_ACK received in 5 ms
INFO: [down] PULL_ACK received in 1 ms


HELP: High packet loss
#2

Are you using US915?

I had try that frequency and had a lot of problems because of the transmission power and proximity of both the end device and gateway.

If you are too close to the gateway you will se a lot of invalid CRC.


#3

Beside moving a bit away, for close nodes use SF7 (or ADR if available), and try to use minimum 3 minute interval.
Can you send one message so we can check signal strength?


#4

I am using SF7 and yes, I’ve configured for US915. I finally got it to work by specifying band 0 in the client. With that, I get ~100% delivery. Omitting that, means reception is very spotty.

Perhaps someone can explain how the gateway cycles among frequencies to me


#5

Multi channel Gateway does not cycle it receives all frequencyes at the same time.
But when sending message it cannot receive on any channel.

Node should cycle …


#6

Yes, I understand that. My working assumption is that what I was experiencing was high interference. TTN, for example, recommends using band 1 on the clients. I tried band 0 on the clients and it worked.


#7

DId you checked supply voltage on IMST board? Try to run constant_tx at 20dBm and measure Vcc. Using cables below AWG30 may cause strange issues.


#9

hi,I had CRC faild issue also,but I find out my power supply to IMST board is 3V,it’s too low voltage to IMST board,after change it to 5V,it works much better than before.sometimes still have CRC faild,but most are CRC OK.I think there must be some interference makes the CRC faild,It can not always be CRC OK,right?


#10

Hey guys, I need your help! I already put some efforts to solve this problem but I didn’t have any solution yet. My gateway is receiving packets spaced between 8 loss. For example:
fCnt: 0, 1, 8, 16, 24, 32, ...

I noticed that my gateway is receiving packets only in specific channels: 0 and 8.

I tried to change all frequencies on global_conf.json but I didn’t have any success. I tried to put another global_conf.json of a gateway that is working and receiving all packets but I didn’t have success as well. I already tried to change both hardware tho.

There are my configs:
global_conf.json
endpoint.ino
Gateway log:

##### 2018-04-24 23:02:14 GMT ##### 
### [UPSTREAM] ### 
# RF packets received by concentrator: 0 
# CRC_OK: 0.00%, CRC_FAIL: 0.00%, NO_CRC: 0.00% 
# RF packets forwarded: 0 (0 bytes) 
# PUSH_DATA datagrams sent: 1 (113 bytes) 
# PUSH_DATA acknowledged: 100.00% 
### [DOWNSTREAM] ### 
# PULL_DATA sent: 3 (100.00% acknowledged) 
# PULL_RESP(onse) datagrams received: 0 (0 bytes) 
# RF packets sent to concentrator: 0 (0 bytes) 
# TX errors: 0 
# TX rejected (collision packet): 0.00% (req:537, rej:0) 
# TX rejected (collision beacon): 0.00% (req:537, rej:0) 
# TX rejected (too late): 0.00% (req:537, rej:0) 
# TX rejected (too early): 0.56% (req:537, rej:3) 
# BEACON queued: 0 
# BEACON sent so far: 0 
# BEACON rejected: 0 
### [JIT] ### 
# SX1301 time (PPS): 3163111079 
src/jitqueue.c:448:jit_print_queue(): INFO: [jit] queue is empty 
### [GPS] ### 
# GPS sync is disabled 
##### END ##### 

JSON up: {"stat":{"time":"2018-04-24 23:02:14 GMT","rxnb":0,"rxok":0,"rxfw":0,"ackr":100.0,"dwnb":0,"txnb":0}} 
INFO: [up] PUSH_ACK received in 26 ms 
INFO: [down] PULL_ACK received in 25 ms 
INFO: [down] PULL_ACK received in 24 ms 

INFO: Received pkt from mote: 06B6E7AB (fcnt=4193) 

JSON up: {"rxpk":[{"tmst":3220332755,"chan":8,"rfch":0,"freq":904.600000,"stat":1,"modu":"LORA","datr":"SF8BW500","codr":"4/8","lsnr":9.8,"rssi":-65,"size":27,"data":"QKvntgbAYRABmMVuEwsq/+X/RozBtVUJd4cf"}]}
INFO: [up] PUSH_ACK received in 25 ms 
INFO: [down] PULL_RESP received - token[255:112] :) 

JSON down: {"txpk":{"imme":false,"tmst":3221332755,"freq":923.9,"rfch":0,"powe":20,"modu":"LORA","datr":"SF7BW500","codr":"4/8","ipol":true,"size":24,"data":"YKvntgaMSAIDRP//AwUIaOKMCAFhto/J","brd":0,"ant":0}}
INFO: tx_start_delay=1497 (1497.000000) - (1497, bw_delay=0.000000, notch_delay=0.000000) 
INFO: [down] PULL_ACK received in 24 ms 

INFO: Disabling GPS mode for concentrator's counter... 
INFO: host/sx1301 time offset=(1524607740s:975155µs) - drift=102µs 
INFO: Enabling GPS mode for concentrator's counter. 


##### 2018-04-24 23:02:44 GMT ##### 
### [UPSTREAM] ### 
# RF packets received by concentrator: 1 
# CRC_OK: 100.00%, CRC_FAIL: 0.00%, NO_CRC: 0.00% 
# RF packets forwarded: 1 (27 bytes) 
# PUSH_DATA datagrams sent: 2 (323 bytes) 
# PUSH_DATA acknowledged: 100.00% 
### [DOWNSTREAM] ### 
# PULL_DATA sent: 3 (100.00% acknowledged) 
# PULL_RESP(onse) datagrams received: 1 (202 bytes) 
# RF packets sent to concentrator: 1 (24 bytes) 
# TX errors: 0 
# TX rejected (collision packet): 0.00% (req:538, rej:0) 
# TX rejected (collision beacon): 0.00% (req:538, rej:0) 
# TX rejected (too late): 0.00% (req:538, rej:0) 
# TX rejected (too early): 0.56% (req:538, rej:3) 
# BEACON queued: 0 
# BEACON sent so far: 0 
# BEACON rejected: 0 
### [JIT] ### 
# SX1301 time (PPS): 3223111269 
src/jitqueue.c:448:jit_print_queue(): INFO: [jit] queue is empty 
### [GPS] ### 
# GPS sync is disabled 
##### END ##### 

JSON up: {"stat":{"time":"2018-04-24 23:02:44 GMT","rxnb":1,"rxok":1,"rxfw":1,"ackr":100.0,"dwnb":1,"txnb":1}} 
INFO: [up] PUSH_ACK received in 29 ms 
INFO: [down] PULL_ACK received in 24 ms 
INFO: [down] PULL_ACK received in 23 ms 
INFO: [down] PULL_ACK received in 24 ms 

##### 2018-04-24 23:03:14 GMT ##### 
### [UPSTREAM] ### 
# RF packets received by concentrator: 0 
# CRC_OK: 0.00%, CRC_FAIL: 0.00%, NO_CRC: 0.00% 
# RF packets forwarded: 0 (0 bytes) 
# PUSH_DATA datagrams sent: 1 (113 bytes) 
# PUSH_DATA acknowledged: 100.00% 
### [DOWNSTREAM] ### 
# PULL_DATA sent: 3 (100.00% acknowledged) 
# PULL_RESP(onse) datagrams received: 0 (0 bytes) 
# RF packets sent to concentrator: 0 (0 bytes) 
# TX errors: 0 
# TX rejected (collision packet): 0.00% (req:538, rej:0) 
# TX rejected (collision beacon): 0.00% (req:538, rej:0) 
# TX rejected (too late): 0.00% (req:538, rej:0) 
# TX rejected (too early): 0.56% (req:538, rej:3) 
# BEACON queued: 0 
# BEACON sent so far: 0 
# BEACON rejected: 0 
### [JIT] ### 
# SX1301 time (PPS): 3223111269 
src/jitqueue.c:448:jit_print_queue(): INFO: [jit] queue is empty 
### [GPS] ### 
# GPS sync is disabled 
##### END ##### 

JSON up: {"stat":{"time":"2018-04-24 23:03:14 GMT","rxnb":0,"rxok":0,"rxfw":0,"ackr":100.0,"dwnb":0,"txnb":0}} 
INFO: [up] PUSH_ACK received in 25 ms 
INFO: [down] PULL_ACK received in 23 ms 
INFO: [down] PULL_ACK received in 24 ms 
INFO: [down] PULL_ACK received in 27 ms 

INFO: Disabling GPS mode for concentrator's counter... 
INFO: host/sx1301 time offset=(1524607740s:975258µs) - drift=103µs 
INFO: Enabling GPS mode for concentrator's counter. 


##### 2018-04-24 23:03:44 GMT ##### 
### [UPSTREAM] ### 
# RF packets received by concentrator: 0 
# CRC_OK: 0.00%, CRC_FAIL: 0.00%, NO_CRC: 0.00% 
# RF packets forwarded: 0 (0 bytes) 
# PUSH_DATA datagrams sent: 1 (113 bytes) 
# PUSH_DATA acknowledged: 100.00% 
### [DOWNSTREAM] ### 
# PULL_DATA sent: 3 (100.00% acknowledged) 
# PULL_RESP(onse) datagrams received: 0 (0 bytes) 
# RF packets sent to concentrator: 0 (0 bytes) 
# TX errors: 0 
# TX rejected (collision packet): 0.00% (req:538, rej:0) 
# TX rejected (collision beacon): 0.00% (req:538, rej:0) 
# TX rejected (too late): 0.00% (req:538, rej:0) 
# TX rejected (too early): 0.56% (req:538, rej:3) 
# BEACON queued: 0 
# BEACON sent so far: 0 
# BEACON rejected: 0 
### [JIT] ### 
# SX1301 time (PPS): 3283111568 
src/jitqueue.c:448:jit_print_queue(): INFO: [jit] queue is empty 
### [GPS] ### 
# GPS sync is disabled 
##### END ##### 

JSON up: {"stat":{"time":"2018-04-24 23:03:44 GMT","rxnb":0,"rxok":0,"rxfw":0,"ackr":100.0,"dwnb":0,"txnb":0}} 
INFO: [up] PUSH_ACK received in 25 ms 
INFO: [down] PULL_ACK received in 24 ms 
INFO: [down] PULL_ACK received in 24 ms 
INFO: [down] PULL_ACK received in 24 ms 

##### 2018-04-24 23:04:14 GMT ##### 
### [UPSTREAM] ### 
# RF packets received by concentrator: 0 
# CRC_OK: 0.00%, CRC_FAIL: 0.00%, NO_CRC: 0.00% 
# RF packets forwarded: 0 (0 bytes) 
# PUSH_DATA datagrams sent: 1 (113 bytes) 
# PUSH_DATA acknowledged: 100.00% 
### [DOWNSTREAM] ### 
# PULL_DATA sent: 3 (100.00% acknowledged) 
# PULL_RESP(onse) datagrams received: 0 (0 bytes) 
# RF packets sent to concentrator: 0 (0 bytes) 
# TX errors: 0 
# TX rejected (collision packet): 0.00% (req:538, rej:0) 
# TX rejected (collision beacon): 0.00% (req:538, rej:0) 
# TX rejected (too late): 0.00% (req:538, rej:0) 
# TX rejected (too early): 0.56% (req:538, rej:3) 
# BEACON queued: 0 
# BEACON sent so far: 0 
# BEACON rejected: 0 
### [JIT] ### 
# SX1301 time (PPS): 3283111568 
src/jitqueue.c:448:jit_print_queue(): INFO: [jit] queue is empty 
### [GPS] ### 
# GPS sync is disabled 
##### END ##### 

JSON up: {"stat":{"time":"2018-04-24 23:04:14 GMT","rxnb":0,"rxok":0,"rxfw":0,"ackr":100.0,"dwnb":0,"txnb":0}} 
INFO: [up] PUSH_ACK received in 25 ms 
INFO: [down] PULL_ACK received in 23 ms 
INFO: [down] PULL_ACK received in 24 ms 

INFO: Disabling GPS mode for concentrator's counter... 
INFO: host/sx1301 time offset=(1524607740s:975360µs) - drift=102µs 
INFO: Enabling GPS mode for concentrator's counter. 


##### 2018-04-24 23:04:44 GMT ##### 
### [UPSTREAM] ### 
# RF packets received by concentrator: 0 
# CRC_OK: 0.00%, CRC_FAIL: 0.00%, NO_CRC: 0.00% 
# RF packets forwarded: 0 (0 bytes) 
# PUSH_DATA datagrams sent: 1 (113 bytes) 
# PUSH_DATA acknowledged: 100.00% 
### [DOWNSTREAM] ### 
# PULL_DATA sent: 2 (100.00% acknowledged) 
# PULL_RESP(onse) datagrams received: 0 (0 bytes) 
# RF packets sent to concentrator: 0 (0 bytes) 
# TX errors: 0 
# TX rejected (collision packet): 0.00% (req:538, rej:0) 
# TX rejected (collision beacon): 0.00% (req:538, rej:0) 
# TX rejected (too late): 0.00% (req:538, rej:0) 
# TX rejected (too early): 0.56% (req:538, rej:3) 
# BEACON queued: 0 
# BEACON sent so far: 0 
# BEACON rejected: 0 
### [JIT] ### 
# SX1301 time (PPS): 3343111738 
src/jitqueue.c:448:jit_print_queue(): INFO: [jit] queue is empty 
### [GPS] ### 
# GPS sync is disabled 
##### END ##### 

JSON up: {"stat":{"time":"2018-04-24 23:04:44 GMT","rxnb":0,"rxok":0,"rxfw":0,"ackr":100.0,"dwnb":0,"txnb":0}} 
INFO: [up] PUSH_ACK received in 25 ms 
INFO: [down] PULL_ACK received in 23 ms 
INFO: [down] PULL_ACK received in 24 ms 

INFO: Received pkt from mote: 06B6E7AB (fcnt=4201) 

JSON up: {"rxpk":[{"tmst":3356193889,"chan":8,"rfch":0,"freq":904.600000,"stat":1,"modu":"LORA","datr":"SF8BW500","codr":"4/8","lsnr":10.0,"rssi":-65,"size":27,"data":"QKvntgbAaRABC51XV9tsK23WGpf/cY/fv7fy"}]}
INFO: [up] PUSH_ACK received in 26 ms 
INFO: [down] PULL_RESP received - token[124:229] :) 

JSON down: {"txpk":{"imme":false,"tmst":3357193889,"freq":923.9,"rfch":0,"powe":20,"modu":"LORA","datr":"SF7BW500","codr":"4/8","ipol":true,"size":24,"data":"YKvntgaMSQIDRP//AwUIaOKMCAEEh1A5","brd":0,"ant":0}}
INFO: tx_start_delay=1497 (1497.000000) - (1497, bw_delay=0.000000, notch_delay=0.000000) 
INFO: [down] PULL_ACK received in 24 ms 

##### 2018-04-24 23:05:14 GMT ##### 
### [UPSTREAM] ### 
# RF packets received by concentrator: 1 
# CRC_OK: 100.00%, CRC_FAIL: 0.00%, NO_CRC: 0.00% 
# RF packets forwarded: 1 (27 bytes) 
# PUSH_DATA datagrams sent: 2 (324 bytes) 
# PUSH_DATA acknowledged: 100.00% 
### [DOWNSTREAM] ### 
# PULL_DATA sent: 3 (100.00% acknowledged) 
# PULL_RESP(onse) datagrams received: 1 (202 bytes) 
# RF packets sent to concentrator: 1 (24 bytes) 
# TX errors: 0 
# TX rejected (collision packet): 0.00% (req:539, rej:0) 
# TX rejected (collision beacon): 0.00% (req:539, rej:0) 
# TX rejected (too late): 0.00% (req:539, rej:0) 
# TX rejected (too early): 0.56% (req:539, rej:3) 
# BEACON queued: 0 
# BEACON sent so far: 0 
# BEACON rejected: 0 
### [JIT] ### 
# SX1301 time (PPS): 3343111738 
src/jitqueue.c:448:jit_print_queue(): INFO: [jit] queue is empty 
### [GPS] ### 
# GPS sync is disabled 
##### END ##### 

JSON up: {"stat":{"time":"2018-04-24 23:05:14 GMT","rxnb":1,"rxok":1,"rxfw":1,"ackr":100.0,"dwnb":1,"txnb":1}} 
INFO: [up] PUSH_ACK received in 25 ms 
INFO: [down] PULL_ACK received in 23 ms 
INFO: [down] PULL_ACK received in 23 ms 
INFO: [down] PULL_ACK received in 24 ms 

INFO: Disabling GPS mode for concentrator's counter... 
INFO: host/sx1301 time offset=(1524607740s:975463µs) - drift=103µs 
INFO: Enabling GPS mode for concentrator's counter. 


##### 2018-04-24 23:05:44 GMT ##### 
### [UPSTREAM] ### 
# RF packets received by concentrator: 0 
# CRC_OK: 0.00%, CRC_FAIL: 0.00%, NO_CRC: 0.00% 
# RF packets forwarded: 0 (0 bytes) 
# PUSH_DATA datagrams sent: 1 (113 bytes) 
# PUSH_DATA acknowledged: 100.00% 
### [DOWNSTREAM] ### 
# PULL_DATA sent: 3 (100.00% acknowledged) 
# PULL_RESP(onse) datagrams received: 0 (0 bytes) 
# RF packets sent to concentrator: 0 (0 bytes) 
# TX errors: 0 
# TX rejected (collision packet): 0.00% (req:539, rej:0) 
# TX rejected (collision beacon): 0.00% (req:539, rej:0) 
# TX rejected (too late): 0.00% (req:539, rej:0) 
# TX rejected (too early): 0.56% (req:539, rej:3) 
# BEACON queued: 0 
# BEACON sent so far: 0 
# BEACON rejected: 0 
### [JIT] ### 
# SX1301 time (PPS): 3403111898 
src/jitqueue.c:448:jit_print_queue(): INFO: [jit] queue is empty 
### [GPS] ### 
# GPS sync is disabled 
##### END ##### 

JSON up: {"stat":{"time":"2018-04-24 23:05:44 GMT","rxnb":0,"rxok":0,"rxfw":0,"ackr":100.0,"dwnb":0,"txnb":0}} 
INFO: [up] PUSH_ACK received in 26 ms 
INFO: [down] PULL_ACK received in 26 ms 
INFO: [down] PULL_ACK received in 24 ms 
INFO: [down] PULL_ACK received in 23 ms 

##### 2018-04-24 23:06:14 GMT ##### 
### [UPSTREAM] ### 
# RF packets received by concentrator: 1 
# CRC_OK: 0.00%, CRC_FAIL: 100.00%, NO_CRC: 0.00% 
# RF packets forwarded: 0 (0 bytes) 
# PUSH_DATA datagrams sent: 1 (113 bytes) 
# PUSH_DATA acknowledged: 100.00% 
### [DOWNSTREAM] ### 
# PULL_DATA sent: 3 (100.00% acknowledged) 
# PULL_RESP(onse) datagrams received: 0 (0 bytes) 
# RF packets sent to concentrator: 0 (0 bytes) 
# TX errors: 0 
# TX rejected (collision packet): 0.00% (req:539, rej:0) 
# TX rejected (collision beacon): 0.00% (req:539, rej:0) 
# TX rejected (too late): 0.00% (req:539, rej:0) 
# TX rejected (too early): 0.56% (req:539, rej:3) 
# BEACON queued: 0 
# BEACON sent so far: 0 
# BEACON rejected: 0 
### [JIT] ### 
# SX1301 time (PPS): 3403111898 
src/jitqueue.c:448:jit_print_queue(): INFO: [jit] queue is empty 
### [GPS] ### 
# GPS sync is disabled 
##### END ##### 

JSON up: {"stat":{"time":"2018-04-24 23:06:14 GMT","rxnb":1,"rxok":0,"rxfw":0,"ackr":100.0,"dwnb":0,"txnb":0}} 
INFO: [up] PUSH_ACK received in 26 ms 
INFO: [down] PULL_ACK received in 24 ms 
INFO: [down] PULL_ACK received in 23 ms 
INFO: [down] PULL_ACK received in 24 ms 

INFO: Disabling GPS mode for concentrator's counter... 
INFO: host/sx1301 time offset=(1524607740s:975566µs) - drift=103µs 
INFO: Enabling GPS mode for concentrator's counter. 


##### 2018-04-24 23:06:44 GMT ##### 
### [UPSTREAM] ### 
# RF packets received by concentrator: 0 
# CRC_OK: 0.00%, CRC_FAIL: 0.00%, NO_CRC: 0.00% 
# RF packets forwarded: 0 (0 bytes) 
# PUSH_DATA datagrams sent: 1 (113 bytes) 
# PUSH_DATA acknowledged: 100.00% 
### [DOWNSTREAM] ### 
# PULL_DATA sent: 3 (100.00% acknowledged) 
# PULL_RESP(onse) datagrams received: 0 (0 bytes) 
# RF packets sent to concentrator: 0 (0 bytes) 
# TX errors: 0 
# TX rejected (collision packet): 0.00% (req:539, rej:0) 
# TX rejected (collision beacon): 0.00% (req:539, rej:0) 
# TX rejected (too late): 0.00% (req:539, rej:0) 
# TX rejected (too early): 0.56% (req:539, rej:3) 
# BEACON queued: 0 
# BEACON sent so far: 0 
# BEACON rejected: 0 
### [JIT] ### 
# SX1301 time (PPS): 3463112059 
src/jitqueue.c:448:jit_print_queue(): INFO: [jit] queue is empty 
### [GPS] ### 
# GPS sync is disabled 
##### END ##### 

JSON up: {"stat":{"time":"2018-04-24 23:06:44 GMT","rxnb":0,"rxok":0,"rxfw":0,"ackr":100.0,"dwnb":0,"txnb":0}} 
INFO: [up] PUSH_ACK received in 25 ms 
INFO: [down] PULL_ACK received in 23 ms 
INFO: [down] PULL_ACK received in 24 ms 
INFO: [down] PULL_ACK received in 24 ms 

INFO: Received pkt from mote: 06B6E7AB (fcnt=4209) 

JSON up: {"rxpk":[{"tmst":3492054069,"chan":8,"rfch":0,"freq":904.600000,"stat":1,"modu":"LORA","datr":"SF8BW500","codr":"4/8","lsnr":11.0,"rssi":-65,"size":27,"data":"QKvntgbAcRAB5qZzG66bsP+ZPQe86P2M0eat"}]}
INFO: [up] PUSH_ACK received in 27 ms 
INFO: [down] PULL_RESP received - token[23:72] :) 

JSON down: {"txpk":{"imme":false,"tmst":3493054069,"freq":923.9,"rfch":0,"powe":20,"modu":"LORA","datr":"SF7BW500","codr":"4/8","ipol":true,"size":24,"data":"YKvntgaMSgIDRP//AwUIaOKMCAGTV8fe","brd":0,"ant":0}}
INFO: tx_start_delay=1497 (1497.000000) - (1497, bw_delay=0.000000, notch_delay=0.000000) 

##### 2018-04-24 23:07:14 GMT ##### 
### [UPSTREAM] ### 
# RF packets received by concentrator: 1 
# CRC_OK: 100.00%, CRC_FAIL: 0.00%, NO_CRC: 0.00% 
# RF packets forwarded: 1 (27 bytes) 
# PUSH_DATA datagrams sent: 2 (324 bytes) 
# PUSH_DATA acknowledged: 100.00% 
### [DOWNSTREAM] ### 
# PULL_DATA sent: 3 (100.00% acknowledged) 
# PULL_RESP(onse) datagrams received: 1 (202 bytes) 
# RF packets sent to concentrator: 1 (24 bytes) 
# TX errors: 0 
# TX rejected (collision packet): 0.00% (req:540, rej:0) 
# TX rejected (collision beacon): 0.00% (req:540, rej:0) 
# TX rejected (too late): 0.00% (req:540, rej:0) 
# TX rejected (too early): 0.56% (req:540, rej:3) 
# BEACON queued: 0 
# BEACON sent so far: 0 
# BEACON rejected: 0 
### [JIT] ### 
# SX1301 time (PPS): 3463112059 
src/jitqueue.c:448:jit_print_queue(): INFO: [jit] queue is empty 
### [GPS] ### 
# GPS sync is disabled 
##### END ##### 

JSON up: {"stat":{"time":"2018-04-24 23:07:14 GMT","rxnb":1,"rxok":1,"rxfw":1,"ackr":100.0,"dwnb":1,"txnb":1}} 
INFO: [up] PUSH_ACK received in 26 ms 
INFO: [down] PULL_ACK received in 24 ms 
INFO: [down] PULL_ACK received in 23 ms 
INFO: [down] PULL_ACK received in 24 ms 

INFO: Disabling GPS mode for concentrator's counter... 
INFO: host/sx1301 time offset=(1524607740s:975668µs) - drift=102µs 
INFO: Enabling GPS mode for concentrator's counter. 


##### 2018-04-24 23:07:44 GMT ##### 
### [UPSTREAM] ### 
# RF packets received by concentrator: 0 
# CRC_OK: 0.00%, CRC_FAIL: 0.00%, NO_CRC: 0.00% 
# RF packets forwarded: 0 (0 bytes) 
# PUSH_DATA datagrams sent: 1 (113 bytes) 
# PUSH_DATA acknowledged: 100.00% 
### [DOWNSTREAM] ### 
# PULL_DATA sent: 3 (100.00% acknowledged) 
# PULL_RESP(onse) datagrams received: 0 (0 bytes) 
# RF packets sent to concentrator: 0 (0 bytes) 
# TX errors: 0 
# TX rejected (collision packet): 0.00% (req:540, rej:0) 
# TX rejected (collision beacon): 0.00% (req:540, rej:0) 
# TX rejected (too late): 0.00% (req:540, rej:0) 
# TX rejected (too early): 0.56% (req:540, rej:3) 
# BEACON queued: 0 
# BEACON sent so far: 0 
# BEACON rejected: 0 
### [JIT] ### 
# SX1301 time (PPS): 3523112182 
src/jitqueue.c:448:jit_print_queue(): INFO: [jit] queue is empty 
### [GPS] ### 
# GPS sync is disabled 
##### END ##### 

JSON up: {"stat":{"time":"2018-04-24 23:07:44 GMT","rxnb":0,"rxok":0,"rxfw":0,"ackr":100.0,"dwnb":0,"txnb":0}} 
INFO: [up] PUSH_ACK received in 24 ms 
INFO: [down] PULL_ACK received in 24 ms 
INFO: [down] PULL_ACK received in 26 ms 
INFO: [down] PULL_ACK received in 24 ms 

##### 2018-04-24 23:08:14 GMT ##### 
### [UPSTREAM] ### 
# RF packets received by concentrator: 0 
# CRC_OK: 0.00%, CRC_FAIL: 0.00%, NO_CRC: 0.00% 
# RF packets forwarded: 0 (0 bytes) 
# PUSH_DATA datagrams sent: 1 (113 bytes) 
# PUSH_DATA acknowledged: 100.00% 
### [DOWNSTREAM] ### 
# PULL_DATA sent: 3 (100.00% acknowledged) 
# PULL_RESP(onse) datagrams received: 0 (0 bytes) 
# RF packets sent to concentrator: 0 (0 bytes) 
# TX errors: 0 
# TX rejected (collision packet): 0.00% (req:540, rej:0) 
# TX rejected (collision beacon): 0.00% (req:540, rej:0) 
# TX rejected (too late): 0.00% (req:540, rej:0) 
# TX rejected (too early): 0.56% (req:540, rej:3) 
# BEACON queued: 0 
# BEACON sent so far: 0 
# BEACON rejected: 0 
### [JIT] ### 
# SX1301 time (PPS): 3523112182 
src/jitqueue.c:448:jit_print_queue(): INFO: [jit] queue is empty 
### [GPS] ### 
# GPS sync is disabled 
##### END ##### 

JSON up: {"stat":{"time":"2018-04-24 23:08:14 GMT","rxnb":0,"rxok":0,"rxfw":0,"ackr":100.0,"dwnb":0,"txnb":0}} 
INFO: [up] PUSH_ACK received in 26 ms 
INFO: [down] PULL_ACK received in 24 ms 
INFO: [down] PULL_ACK received in 23 ms 
INFO: [down] PULL_ACK received in 25 ms 

INFO: Disabling GPS mode for concentrator's counter... 
INFO: host/sx1301 time offset=(1524607740s:975771µs) - drift=103µs 
INFO: Enabling GPS mode for concentrator's counter. 


##### 2018-04-24 23:08:44 GMT ##### 
### [UPSTREAM] ### 
# RF packets received by concentrator: 0 
# CRC_OK: 0.00%, CRC_FAIL: 0.00%, NO_CRC: 0.00% 
# RF packets forwarded: 0 (0 bytes) 
# PUSH_DATA datagrams sent: 1 (113 bytes) 
# PUSH_DATA acknowledged: 100.00% 
### [DOWNSTREAM] ### 
# PULL_DATA sent: 3 (100.00% acknowledged) 
# PULL_RESP(onse) datagrams received: 0 (0 bytes) 
# RF packets sent to concentrator: 0 (0 bytes) 
# TX errors: 0 
# TX rejected (collision packet): 0.00% (req:540, rej:0) 
# TX rejected (collision beacon): 0.00% (req:540, rej:0) 
# TX rejected (too late): 0.00% (req:540, rej:0) 
# TX rejected (too early): 0.56% (req:540, rej:3) 
# BEACON queued: 0 
# BEACON sent so far: 0 
# BEACON rejected: 0 
### [JIT] ### 
# SX1301 time (PPS): 3583112334 
src/jitqueue.c:448:jit_print_queue(): INFO: [jit] queue is empty 
### [GPS] ### 
# GPS sync is disabled 
##### END ##### 

JSON up: {"stat":{"time":"2018-04-24 23:08:44 GMT","rxnb":0,"rxok":0,"rxfw":0,"ackr":100.0,"dwnb":0,"txnb":0}} 
INFO: [up] PUSH_ACK received in 32 ms 
INFO: [down] PULL_ACK received in 38 ms 
INFO: [down] PULL_ACK received in 24 ms 
INFO: [down] PULL_ACK received in 25 ms 

##### 2018-04-24 23:09:14 GMT ##### 
### [UPSTREAM] ### 
# RF packets received by concentrator: 0 
# CRC_OK: 0.00%, CRC_FAIL: 0.00%, NO_CRC: 0.00% 
# RF packets forwarded: 0 (0 bytes) 
# PUSH_DATA datagrams sent: 1 (113 bytes) 
# PUSH_DATA acknowledged: 100.00% 
### [DOWNSTREAM] ### 
# PULL_DATA sent: 3 (100.00% acknowledged) 
# PULL_RESP(onse) datagrams received: 0 (0 bytes) 
# RF packets sent to concentrator: 0 (0 bytes) 
# TX errors: 0 
# TX rejected (collision packet): 0.00% (req:540, rej:0) 
# TX rejected (collision beacon): 0.00% (req:540, rej:0) 
# TX rejected (too late): 0.00% (req:540, rej:0) 
# TX rejected (too early): 0.56% (req:540, rej:3) 
# BEACON queued: 0 
# BEACON sent so far: 0 
# BEACON rejected: 0 
### [JIT] ### 
# SX1301 time (PPS): 3583112334 
src/jitqueue.c:448:jit_print_queue(): INFO: [jit] queue is empty 
### [GPS] ### 
# GPS sync is disabled 
##### END #####

#11

Please note that most gateways are only able to listen on 8 (multi spreading-factor) channels. Therefore for the US band, you must configure LoRa Server so that it will tell your devices to only use 8 channels (instead of the 64 multi SF channels that are defined by default)…

See:

  # Enable only a given sub-set of channels
  #
  # Use this when ony a sub-set of the by default enabled channels are being
  # used. For example when only using the first 8 channels of the US band.
  #
  # Example:
  # enabled_uplink_channels=[0, 1, 2, 3, 4, 5, 6, 7]
  enabled_uplink_channels=[]

https://www.loraserver.io/loraserver/install/config/


#12

I am having the packet loss issue when using Loraserver with my gateway and node. The channels are negotiated correctly when i use the things network, so I know the gateway and node are working correctly.

I have tried enabling the first 8 channels (0 through to 7) using the suggested config option but I still see the same packet loss. I believe the gateway frequency configuration is broadcast over MQTT, so I can identify which frequencies the gatetway listens on. How do the frequencies translate to channel numbers?

I am also curious about the bandwidth. Does Loraserver also restrict the bandwidth of nodes as well?

Thanks


#13

To the LoRa Gateway Bridge. But you must configure the LoRa Gateway Bridge so that it knows which packet-forwarder configuration file to update and which command to run to apply these changes. Please refer to the lora-gateway-bridge.toml configuration file.

Alternatively, update the gateway configuration yourself.