Wiki source code of Set uplinkdwell time

Version 2.1 by Xiaoling on 2022/05/12 11:54

Hide last authors
Xiaoling 1.2 1 = 1. Introduction =
Xiaoling 1.1 2
Xiaoling 1.2 3 This chapter introduces how users can change the uplinkdwell time.
Xiaoling 1.1 4
Xiaoling 1.2 5 = 2. Default uplinkdwelltime =
Xiaoling 1.1 6
Xiaoling 1.2 7 Take AS923 frequency band as an example. We can see the spread spectrum factor corresponding to the data rate.
Xiaoling 1.1 8
Xiaoling 1.2 9 [[image:https://wiki.dragino.com/images/2/25/Vbn.png||alt="Vbn.png" height="290" width="523"]]
Xiaoling 1.1 10
Xiaoling 1.2 11 The device default uplinkdwelltime=1, there are SF7, SF8, SF9 and SF10.
Xiaoling 1.1 12
Xiaoling 1.2 13 If users want to ues SF11 and SF12, they need to set uplinkdwelltime=0.
Xiaoling 1.1 14
Xiaoling 1.2 15 Users can use AT commands to set uplinkdwell time.
Xiaoling 1.1 16
Xiaoling 1.2 17 [[image:https://wiki.dragino.com/images/thumb/b/bb/Uplinkdwelltime1.png/600px-Uplinkdwelltime1.png||alt="Uplinkdwelltime1.png" height="511" width="600"]]
Xiaoling 1.1 18
Xiaoling 1.2 19 [[image:https://wiki.dragino.com/images/thumb/7/78/Uplinkdwelltime2.png/600px-Uplinkdwelltime2.png||alt="Uplinkdwelltime2.png" height="301" width="600"]]
Xiaoling 1.1 20
Xiaoling 1.2 21 = 3. Use AT command to set uplinkdwell time =
Xiaoling 1.1 22
Xiaoling 1.2 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.
Xiaoling 1.1 24
Xiaoling 1.2 25 * Use AT command: AT+DWELLT=0, set to Uplink Dwelltime=0.
26 * Use AT command: AT+DWELLT=1, set to Uplink Dwelltime=1.
Xiaoling 1.1 27
Xiaoling 1.2 28 Or via application downlink command:
Xiaoling 1.1 29
Xiaoling 1.2 30 * Downlink Payload: 0x2500, Set AT+DWELLT=0 to uplink.
31 * Downlink Payload: 0x2501, Set AT+DWELLT=1 to uplink.