Wiki source code of Packet Reject Issue

Version 1.3 by Xiaoling on 2022/05/14 10:12

Hide last authors
Xiaoling 1.2 1 (% style="color:red" %)**Note: This issue is fixed since firmware version: LG02_LG08~-~-build-v5.3.1584002217-20200312-1639**
Xiaoling 1.1 2
Xiaoling 1.2 3 = Paject Reject due to Power RF =
Xiaoling 1.1 4
Xiaoling 1.2 5 Issue as below
Xiaoling 1.1 6
Xiaoling 1.3 7 (% class="box" %)
Xiaoling 1.2 8 (((
Xiaoling 1.3 9 Sat Feb 29 08:10:26 2020 daemon.info lora_pkt_fwd[30684]: RXTX~~ {"txpk":
Xiaoling 1.2 10 {"imme":false,"tmst":510528462,"freq":923.9,"rfch":0,"powe":17,"modu":"LORA","datr":"SF7BW500","codr":"4/5","ipol":true,"size":17,"ncrc":true,"data":"IKnZOasAq17SeIpOQc0ZzBQ="}}
11 Sat Feb 29 08:10:26 2020 daemon.info lora_pkt_fwd[30684]: ERROR~~ Packet REJECTED, unsupported RF power for TX - 17
12 )))
Xiaoling 1.1 13
Xiaoling 1.2 14 This is due to the lorawan server use a power that the gateway not yet configured.
Xiaoling 1.1 15
Xiaoling 1.2 16 User can find the related region file in /etc/lora/cfg and change the parameter to support the power. for example to support 17, user can change as below and reboot
Xiaoling 1.1 17
Xiaoling 1.2 18 (% class="box" %)
19 (((
20 "tx_lut_9": {
21 "desc": "TX gain table, index 9",
22 "pa_gain": 2,
23 "mix_gain": 10,
24 "rf_power": 14,     ~-~-~-~-> Change this to 17 and will work.
25 "dig_gain": 0
26 },
27 )))