Wiki source code of Packet Reject Issue

Version 1.2 by Xiaoling on 2022/05/14 10:11

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.2 7 (((
8 Sat Feb 29 08:10:26 2020 daemon.info lora_pkt_fwd[30684]: RXTX~~ {"txpk":
9 )))
Xiaoling 1.1 10
Xiaoling 1.2 11 (((
12 {"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="}}
13 )))
Xiaoling 1.1 14
Xiaoling 1.2 15 (((
16 Sat Feb 29 08:10:26 2020 daemon.info lora_pkt_fwd[30684]: ERROR~~ Packet REJECTED, unsupported RF power for TX - 17
17 )))
Xiaoling 1.1 18
Xiaoling 1.2 19 This is due to the lorawan server use a power that the gateway not yet configured.
Xiaoling 1.1 20
Xiaoling 1.2 21 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 22
Xiaoling 1.2 23 (% class="box" %)
24 (((
25 "tx_lut_9": {
26 "desc": "TX gain table, index 9",
27 "pa_gain": 2,
28 "mix_gain": 10,
29 "rf_power": 14,     ~-~-~-~-> Change this to 17 and will work.
30 "dig_gain": 0
31 },
32 )))