Changes for page Change Gateway Power
Last modified by Xiaoling on 2022/08/10 15:18
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -9,15 +9,21 @@ 9 9 = 1. Overview = 10 10 11 11 12 +((( 12 12 In LoRaWAN protocol, the gateway transmit packet uses the output power base on the Power Index from the LoRaWAN server downlink. for example, the LoRaWAN server sends a downlink with this info "rf_power=14", gateway got this info and it will search the index for rf_power=14 and use the related rf setting to set output power. In some cases, the LoRaWAN server might set the rf-power to a quite low value ( for example 0dB) which is not practical for use. In such a case, the User can manually change the rf_power=0's rf settings to a higher power out. Below are the methods. 14 +))) 13 13 14 14 15 15 = 2. Change Power for Semtech UDP Paket forward connection = 16 16 17 17 20 +((( 18 18 In LoRaWAN protocol, the gateway output power refers to the downstream packets sent by Gateway. This output power is controlled by the LoRaWAN server. 22 +))) 19 19 24 +((( 20 20 Gateway maintains a power index in the file: /etc/lora/global_conf.json for example: 26 +))) 21 21 22 22 23 23 (% class="box" %) ... ... @@ -24,7 +24,7 @@ 24 24 ((( 25 25 "tx_lut_3": { 26 26 "desc": "TX gain table, index 3", ~/~/ Index 3 refer to rf_power: 15dB. device will set the pa_gain,mix_gain,dig_gain 27 - "pa_gain": 2, 33 + "pa_gain": 2, ~/~/ to the value mentioned here so to generate 15dB output power. 28 28 "mix_gain": 10, 29 29 "rf_power": 15, 30 30 "dig_gain": 1 ... ... @@ -38,20 +38,30 @@ 38 38 ))) 39 39 40 40 47 +((( 41 41 (% style="color:red" %)**Note: If when lorawan server specifies a rf_power that is not listed above. gateway will choose the closest power. profile.** 49 +))) 42 42 43 43 52 +((( 44 44 When the LoRaWAN server sends a downlink stream, the server will also ask the gateway to use rf_power as output. So users don't need to consider controlling on the gateway side. 54 +))) 45 45 56 +((( 46 46 If users want to always use a higher power or a lower power. Users can modify the pa_gain,mix_gain, and dig_gain to specify rf_power to achieve this purpose. This is not recommended, because this might break the regulator for a specific country. 58 +))) 47 47 60 +((( 48 48 Please note, that the global_conf.json file will be overwritten by the match region files in /etc/lora/cfg-30x when changing settings on the web. So the user needs to change the files in /etc/lora/cfg-cfg-30x instead of global_conf.json 62 +))) 49 49 50 50 51 51 = 3. Change Power for LoRaWAN Basic Station connection = 52 52 53 53 68 +((( 54 54 First, you need to find out what is the chip module of the gateway? 70 +))) 55 55 56 56 (% class="box infomessage" %) 57 57 ((( ... ... @@ -145,18 +145,26 @@ 145 145 }, 146 146 ))) 147 147 164 +((( 148 148 See this link for more station configuration parameters: [[Concentrator Design (v1.5) - LoRa Basics™ StationLoRa Basics™ Station ~| DEVELOPER PORTAL (semtech.com)>>url:https://lora-developers.semtech.com/build/software/lora-basics/lora-basics-for-gateways/?url=gw_v1.5.html]] 166 +))) 149 149 150 150 169 +((( 151 151 If users want to always use a higher power or a lower power. Users can modify the pa_gain,mix_gain, and dig_gain to specify rf_power to achieve this purpose. This is not recommended, because this might break the regulator for a specific country. 171 +))) 152 152 173 +((( 153 153 (% style="color:red" %)**Note: When the Settings are complete, click "Save&Apply" on the gateway's Web UI** 175 +))) 154 154 155 155 156 156 = 4. Checking station Logs = 157 157 158 158 181 +((( 159 159 Run the command: 183 +))) 160 160 161 161 (% class="box infomessage" %) 162 162 (((