[RAK7289] log question

We are testing communication between RAK3172 and gateway (thirpstack).

After an event message occurs in RAK3172 (SEND_CONFIRMED_FAILED(4)) during communication test, I checked the gateway logs.

“lgw_send failed on rf_chain 0 freq_hz 922700000” What does this mean?

LOG

Tue Oct 17 08:51:56 2023 user.info restify: 127.0.0.1 - - [17/Oct/2023 08:51:56] “e[37mGET /diag/syslog HTTP/1.0e[0m” 200 -
Tue Oct 17 08:51:57 2023 user.warn lora_pkt_fwd[13616]: WARNING: [gps] could not get GPS time from GPS
Tue Oct 17 08:51:58 2023 user.info lora_pkt_fwd[13616]: src/lora_pkt_fwd.c:2703:fetch_packets(): Current time: 2023-10-17 08:51:58 UTC
Tue Oct 17 08:51:58 2023 user.info lora_pkt_fwd[13616]: INFO: Received pkt CRC BAD
Tue Oct 17 08:51:58 2023 user.info lora_pkt_fwd[13616]: src/lora_pkt_fwd.c:2703:fetch_packets(): Current time: 2023-10-17 08:51:58 UTC
Tue Oct 17 08:51:58 2023 user.info lora_pkt_fwd[13616]: INFO: Received pkt from mote: 00E0DFC0 (fcnt=6)
Tue Oct 17 08:51:58 2023 user.info lora_pkt_fwd[13616]: src/lora_pkt_fwd.c:3271:thread_up(): nb_pkt 1 send_report 0
Tue Oct 17 08:51:58 2023 user.info lora_pkt_fwd[13616]: src/lora_pkt_fwd.c:3145:dgram_push_pkt(): buff_index 217 buff_size 1377
Tue Oct 17 08:51:58 2023 user.info lora_pkt_fwd[13616]: JSON up: {“rxpk”:[{“jver”:1,“tmst”:13228880,“chan”:1,“rfch”:0,“freq”:922.700000,“mid”: 0,“stat”:1,“modu”:“LORA”,“datr”:“SF12BW125”,“codr”:“4/5”,“rssis”:-42,“lsnr”:7.0,“foff”:-3363,“rssi”:-41,“size”:17,“data”:“gMDf4ACABgACM/+lg1odDT0=”}]}
Tue Oct 17 08:51:58 2023 user.info lora_pkt_fwd[13616]: INFO: [up] PUSH_ACK received in 1 ms
Tue Oct 17 08:51:58 2023 user.warn lora_pkt_fwd[13616]: WARNING: [gps] could not get GPS time from GPS
Tue Oct 17 08:51:58 2023 user.info lora_pkt_fwd[13616]: INFO: host/radio[0] time offset=(1697532704 s:895652 us) - drift=17 us
Tue Oct 17 08:51:58 2023 user.info lora_pkt_fwd[13616]: INFO: host/radio[1] time offset=(1697532707 s:481428 us) - drift=-367 us
Tue Oct 17 08:51:58 2023 user.info lora_pkt_fwd[13616]: INFO: [down] PULL_RESP received - token[107:139] :slight_smile:
Tue Oct 17 08:51:58 2023 user.info lora_pkt_fwd[13616]: JSON down: {“txpk”:{“imme”:false,“rfch”:0,“powe”:23,“ant”:0,“brd”:0,“tmst”:14228880,“freq”:922.7,“modu”:“LORA”,“datr”:“SF12BW125”,“codr”:“4/5”,“ipol”:true,“size”:12,“data”:“YMDf4AAgBQBOrr2g”}}
Tue Oct 17 08:51:58 2023 user.info lora_pkt_fwd[13616]: INFO: Packet ENQUENUE SUCCESS on SX1301/SX1302: 0
Tue Oct 17 08:51:58 2023 user.info lora_pkt_fwd[13616]: INFO: [down] PULL_ACK received in 0 ms
Tue Oct 17 08:51:59 2023 user.warn lora_pkt_fwd[13616]: WARNING: [jit] lgw_send failed on rf_chain 0 freq_hz 922700000 (Caused by LBT or USB comm.)

Hi @song this can be caused by wrong configuration of the subbands used. If using UDP PF make sure the subbands in the gateway and chirp stack are the same. Make sure you are using the latest firmware for the gateway too.

1 Like

Thanks to you, the problem was solved.

The problem was the uplink channel value of the Chirpstack network server.

So, if I set this channel value, is it okay to use it?

※ The gateway is RAK7289 V2.

channel vaule

[network_server.band]
name="KR920"
#enabled_uplink_channels=[]
enabled_uplink_channels=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15]

[[network_server.network_settings.extra_channels]]
frequency=92090000
min_dr=0
max_dr=5

[[network_server.network_settings.extra_channels]]
frequency=92110000
min_dr=0
max_dr=5

[[network_server.network_settings.extra_channels]]
frequency=92130000
min_dr=0
max_dr=5

[[network_server.network_settings.extra_channels]]
frequency=92150000
min_dr=0
max_dr=5

[[network_server.network_settings.extra_channels]]
frequency=92170000
min_dr=0
max_dr=5

[[network_server.network_settings.extra_channels]]
frequency=92190000
min_dr=0
max_dr=5

[[network_server.network_settings.extra_channels]]
frequency=92210000
min_dr=0
max_dr=5

[[network_server.network_settings.extra_channels]]
frequency=92230000
min_dr=0
max_dr=5

[[network_server.network_settings.extra_channels]]
frequency=92250000
min_dr=0
max_dr=5

[[network_server.network_settings.extra_channels]]
frequency=92270000
min_dr=0
max_dr=5

[[network_server.network_settings.extra_channels]]
frequency=92290000
min_dr=0
max_dr=5

[[network_server.network_settings.extra_channels]]
frequency=92310000
min_dr=0
max_dr=5

[[network_server.network_settings.extra_channels]]
frequency=92330000
min_dr=0
max_dr=5

Yes, it is absolutely ok. You have enabled all the channels in the NS.

Thank you so much Belev.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.