Wiki source code of Listen Before Talk Feature
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | **Contents:** | ||
2 | |||
3 | {{toc/}} | ||
4 | |||
5 | |||
6 | = 1. Introduction = | ||
7 | |||
8 | Dragino Gateway is possible to support Listen Before Talk feature with an external USB to LoRaWAN module (this module in under development). | ||
9 | |||
10 | |||
11 | = 2. How to use = | ||
12 | |||
13 | == 2.1 Upgrade File == | ||
14 | |||
15 | Upgrade the firmware to version higher than > lgw~-~-build-v5.4.1603422765-20201023-1130 . [[Firmware download>>url:http://www.dragino.com/downloads/index.php?dir=LoRa_Gateway/LG308-LG301/Firmware/Release/]], [[Firmware Changelog>>url:http://www.dragino.com/downloads/downloads/LoRa_Gateway/LG308-LG301/Firmware/ChangeLog]] | ||
16 | |||
17 | |||
18 | == 2.2 Modify file to support LBT == | ||
19 | |||
20 | Modify the Frequendy band file. for LG308 and OLG01, please modify file under (% style="color:#037691" %)**/etc/lora/cfg-301/**(%%), for LPS8, modify file under (% style="color:#037691" %)**/etc/lora/cfg-308/**. | ||
21 | |||
22 | ((( | ||
23 | File content modify like below: | ||
24 | ))) | ||
25 | |||
26 | (% class="box" %) | ||
27 | ((( | ||
28 | "lbt_cfg": { | ||
29 | "enable": false, ~-~--> Change this to true | ||
30 | "rssi_target": -80, | ||
31 | "chan_cfg":[ | ||
32 | { "freq_hz": 922000000, "scan_time_us": 128 }, | ||
33 | { "freq_hz": 922200000, "scan_time_us": 128 }, | ||
34 | { "freq_hz": 922400000, "scan_time_us": 128 }, | ||
35 | { "freq_hz": 922600000, "scan_time_us": 128 }, | ||
36 | { "freq_hz": 922800000, "scan_time_us": 128 }, | ||
37 | { "freq_hz": 923000000, "scan_time_us": 128 }, | ||
38 | { "freq_hz": 923200000, "scan_time_us": 128 }, | ||
39 | { "freq_hz": 923400000, "scan_time_us": 128 ~-~--> These are the frequency to be monitored. please note, the frequency must from low to high. Above settings is not correct. | ||
40 | ], | ||
41 | "sx127x_rssi_offset": -4 | ||
42 | }, | ||
43 | ))) | ||
44 | |||
45 | |||
46 | == 2.3 Test == | ||
47 | |||
48 | Apply and save in the web after above configure has been made | ||
49 | |||
50 | ((( | ||
51 | run "**(% style="color:#037691" %)logread -f**"(%%) in linux to check the LBT running status. | ||
52 | ))) |