Wiki source code of How to set the transmit time interval
Version 9.1 by Edwin Chen on 2022/05/12 11:31
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | |||
2 | |||
3 | = 1. Introduction = | ||
4 | |||
5 | This chapter describes how to set Transmit Time Interval for [[label>>End Device AT Commands and Downlink Command/||anchor="#H4.1ChangeUplinkInterval"]]. | ||
6 | |||
7 | = 2. via AT Command through UART interface = | ||
8 | |||
9 | |||
10 | |=(% colspan="3" %)AT+TDC | ||
11 | |**Command Example**|**Function**|**Response** | ||
12 | |AT+TDC=?|Show current transmit Interval|30000((( | ||
13 | OK | ||
14 | |||
15 | the interval is 30000ms = 30s | ||
16 | ))) | ||
17 | |AT+TDC=60000|Set Transmit Interval|OK((( | ||
18 | Set transmit interval to 60000ms = 60 seconds | ||
19 | ))) | ||
20 | |||
21 | |||
22 | = 3. via LoRaWAN Downlink = | ||
23 | |||
24 | TDC can be controlled by Downlink Payload. | ||
25 | |||
26 | ((( | ||
27 | For example: Payload: 01 00 02 58 TDC=600s The time interval is represented by hexadecimal conversion to decimal. | ||
28 | ))) | ||
29 | |||
30 | [[image:https://wiki.dragino.com/images/8/8e/TDC.png||alt="TDC.png" height="173" width="850"]] | ||
31 | |||
32 | ((( | ||
33 | |||
34 | ))) | ||
35 | |||
36 | ((( | ||
37 | If the payload=0100003C, it means set the END Node’s TDC to 0x00003C=60(S), 3C (HEX) = 60 (decimal),while type code is 01. | ||
38 | ))) | ||
39 | |||
40 | ((( | ||
41 | Payload: 01 00 00 1E TDC=30s Payload: 01 00 00 3C TDC=60s | ||
42 | ))) | ||
43 | |||
44 | [[image:image-20220512084801-1.png]] | ||
45 | |||
46 | == Downlink Method == | ||
47 | |||
48 | See use note for different serves [[Servers Note>>http://8.211.40.43:8080/xwiki/bin/view/Main/]] |