Wiki source code of Set uplinkdwell time
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | = 1. Introduction = | ||
2 | |||
3 | This chapter introduces how users can change the uplinkdwell time. | ||
4 | |||
5 | = 2. Default uplinkdwelltime = | ||
6 | |||
7 | Take AS923 frequency band as an example. We can see the spread spectrum factor corresponding to the data rate. | ||
8 | |||
9 | [[image:https://wiki.dragino.com/images/2/25/Vbn.png||alt="Vbn.png" height="290" width="523"]] | ||
10 | |||
11 | The device default uplinkdwelltime=1, there are SF7, SF8, SF9 and SF10. | ||
12 | |||
13 | If users want to ues SF11 and SF12, they need to set uplinkdwelltime=0. | ||
14 | |||
15 | Users can use AT commands to set uplinkdwell time. | ||
16 | |||
17 | [[image:https://wiki.dragino.com/images/thumb/b/bb/Uplinkdwelltime1.png/600px-Uplinkdwelltime1.png||alt="Uplinkdwelltime1.png" height="511" width="600"]] | ||
18 | |||
19 | [[image:https://wiki.dragino.com/images/thumb/7/78/Uplinkdwelltime2.png/600px-Uplinkdwelltime2.png||alt="Uplinkdwelltime2.png" height="301" width="600"]] | ||
20 | |||
21 | = 3. Use AT command to set uplinkdwell time = | ||
22 | |||
23 | Since Dragino LoRaWAN Stack DR_LWS_005, user is able to set the uplink Dwelltime in AS923 and AU915 manual or use a application side downlink command to set it. | ||
24 | |||
25 | * Use AT command: AT+DWELLT=0, set to Uplink Dwelltime=0. | ||
26 | * Use AT command: AT+DWELLT=1, set to Uplink Dwelltime=1. | ||
27 | |||
28 | Or via application downlink command: | ||
29 | |||
30 | * Downlink Payload: 0x2500, Set AT+DWELLT=0 to uplink. | ||
31 | * Downlink Payload: 0x2501, Set AT+DWELLT=1 to uplink. |