Wiki source code of How to set the transmit time interval -- LoRaWAN End node
Last modified by Kilight Cao on 2025/06/12 14:27
Hide last authors
author | version | line-number | content |
---|---|---|---|
![]() |
14.3 | 1 | **~ Table of Contents:** |
![]() |
1.1 | 2 | |
![]() |
14.3 | 3 | {{toc/}} |
4 | |||
![]() |
14.4 | 5 | |
6 | |||
7 | |||
![]() |
18.2 | 8 | = **1. Introduction** = |
![]() |
1.1 | 9 | |
![]() |
14.3 | 10 | |
![]() |
9.2 | 11 | This chapter describes how to set Transmit Time Interval. |
![]() |
1.1 | 12 | |
![]() |
13.2 | 13 | |
![]() |
28.1 | 14 | = **2. Set Transmit Time Interval** = |
![]() |
1.1 | 15 | |
![]() |
14.3 | 16 | |
![]() |
1.2 | 17 | TDC can be controlled by Downlink Payload. |
![]() |
1.1 | 18 | |
![]() |
9.3 | 19 | ((( |
![]() |
14.3 | 20 | **For example**: AT+TDC=0x258=600s ** ; Payload: **01 00 02 58 TDC=600s The time interval is represented by hexadecimal conversion to decimal. |
![]() |
9.3 | 21 | ))) |
![]() |
1.1 | 22 | |
![]() |
13.2 | 23 | [[image:image-20220527085044-1.png]] |
![]() |
1.1 | 24 | |
25 | |||
![]() |
14.3 | 26 | 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. |
![]() |
2.1 | 27 | |
![]() |
14.3 | 28 | **Payload: **01 00 00 1E TDC=30s Payload: 01 00 00 3C TDC=60s |
![]() |
1.1 | 29 | |
30 | |||
![]() |
18.3 | 31 | == **2.1 Example Downlink payload setting in TTN:** == |
![]() |
13.2 | 32 | |
![]() |
18.1 | 33 | [[image:image-20221110143023-2.png||height="632" width="808"]] |
34 | |||
35 | |||
![]() |
29.1 | 36 | == **2.1 Example of set the Transmit Time Interval using Bluetooth:** == |
![]() |
18.1 | 37 | |
![]() |
19.2 | 38 | |
![]() |
27.6 | 39 | TDC can be controlled by Bluetooth. |
![]() |
27.5 | 40 | |
![]() |
19.3 | 41 | (% style="color:red" %)**Note: This feature is only available on devices that support Bluetooth sensors.** |
![]() |
1.1 | 42 | |
![]() |
14.3 | 43 | |
![]() |
19.2 | 44 | Here list the models that support BLE and the method to activate BLE function. |
![]() |
18.4 | 45 | |
![]() |
19.3 | 46 | (% style="color:blue" %)**Models:**(%%)** **All models with -LB, -LS , -NB, -NS, -CB, -CS suffix |
![]() |
19.2 | 47 | |
![]() |
19.3 | 48 | (% style="color:blue" %)**BLE Activate Method:** |
![]() |
19.2 | 49 | |
50 | Device is battery power type and BLE will be only activate on below case: | ||
51 | |||
52 | * Press button to send an uplink | ||
53 | |||
54 | * Press button to active device. | ||
55 | |||
56 | * Device Power on or reset. | ||
57 | |||
58 | If there is no activity connection on BLE in 60 seconds, sensor will shut down BLE module to enter low power mode. | ||
59 | |||
![]() |
19.4 | 60 | Download link of dragino mobile app: **[[Mobile_APP>>url:https://www.dropbox.com/scl/fo/gyscmfn1s03oz3n8rif8w/AJW7JoMQsQ56dtlls2SNf9c?rlkey=3q2cxwriyzh26vuairx01yebc&e=1&st=be5jv92w&dl=0]]** |
![]() |
19.2 | 61 | |
![]() |
19.4 | 62 | Google Play Store: **[[DeviceTool.app>>url:https://play.google.com/store/apps/details?id=com.teyi.device.tool.app]]** |
![]() |
19.2 | 63 | |
![]() |
19.4 | 64 | |
![]() |
25.5 | 65 | For more detailed steps on how to use the dragino mobile app, please refer to the following link: **[[BLE Bluetooth Remote Configure - DRAGINO>>url:https://wiki.dragino.com/xwiki/bin/view/Main/BLE%20Bluetooth%20Remote%20Configure/]]** |
![]() |
19.4 | 66 | |
![]() |
28.1 | 67 | (% style="color:blue" %)**AT Command: AT+TDC** |
68 | |||
69 | (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:727.222px" %) | ||
70 | |(% style="background-color:#4f81bd; color:white; width:165px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:227px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:329px" %)**Response** | ||
71 | |(% style="width:165px" %)AT+TDC=?|(% style="width:227px" %)Show current transmit Interval|(% style="width:329px" %)30000((( | ||
72 | OK | ||
73 | |||
74 | the interval is 30000ms = 30s | ||
75 | ))) | ||
76 | |(% style="width:165px" %)AT+TDC=60000|(% style="width:227px" %)Set Transmit Interval|(% style="width:329px" %)OK((( | ||
77 | Set transmit interval to 60000ms = 60 seconds | ||
78 | ))) | ||
79 | |||
![]() |
26.2 | 80 | For example, to change the packet sending interval to 12s, use the AT command: AT+TDC=12000 |
![]() |
25.5 | 81 | |
![]() |
26.2 | 82 | [[image:1749708439295-260.png||height="742" width="334"]] |
![]() |
25.5 | 83 | |
![]() |
26.2 | 84 | |
![]() |
27.7 | 85 | = **3. Downlink Method** = |
![]() |
18.3 | 86 | |
87 | |||
![]() |
14.2 | 88 | See use note for different serves [[Servers Note>>doc:Main.WebHome]](IoT LoRaWAN Server) |
![]() |
14.3 | 89 | |
90 |