<
From version < 14.8
edited by Xiaoling
on 2023/04/23 15:28
To version < 1.2 >
edited by Xiaoling
on 2022/05/17 09:30
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,118 +1,77 @@
1 -**~ Table of Contents:**
1 += Introduction =
2 2  
3 -{{toc/}}
4 -
5 -
6 -
7 -
8 -= 1.  Introduction =
9 -
10 -
11 11  Notes for using Dragino Devices with TTN Stack3.
12 12  
5 += Downlink =
13 13  
14 -= 2.  Downlink =
15 -
16 -
17 17  Use MQTT API for downlink: Reference: [[TTN Stack v3 MQTT reference>>url:https://thethingsstack.io/v3.1.0/guides/getting-started/mqtt/]]
18 18  
19 -(((
20 -(% style="color:blue" %)**Download command is:**
21 -)))
22 22  
23 -(% class="box" %)
24 -(((
10 +**Download command is:**
11 +
25 25  mosquitto_pub -h eu1.cloud.thethings.industries -p 1883 -t v3/akXXXXXps@XXXXXX/devices/lsn50/down/push -u akXXXXXps@XXXXXX -P NNSXS.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.LVQZECLX5FZ3XO5ACOW47IZ6HM54DMBBU776C53ZQHPLPQALIXYA -m '{"downlinks":[{"f_port": 2,"frm_payload":"AwAA","priority": "HIGH","confirmed": true}]}'
26 -)))
27 27  
28 -(((
29 -
30 30  
31 -The MQTT command use (% style="color:blue" %)**-h,-p,-u,-P** (%%)options. We can find them in the website.
15 +The MQTT command use -h,-p,-u,-P options. We can find them in the website.
32 32  
33 -
34 -)))
17 +[[~[~[image:https://wiki.dragino.com/images/thumb/2/2f/Stack_v3_downlink_1.png/600px-Stack_v3_downlink_1.png~|~|height="375" width="600"~]~]>>url:https://wiki.dragino.com/index.php/File:Stack_v3_downlink_1.png]]
35 35  
36 -[[image:image-20220526142338-3.png]]
19 +find -h : broker address , -p port and -u: user name
37 37  
38 -**find -h : broker address , -p port and -u: user name**
21 +[[~[~[image:https://wiki.dragino.com/images/thumb/a/a6/Stack_v3_downlink_2.png/600px-Stack_v3_downlink_2.png~|~|height="395" width="600"~]~]>>url:https://wiki.dragino.com/index.php/File:Stack_v3_downlink_2.png]]
39 39  
23 +find -P : Password
40 40  
41 41  
42 -[[image:image-20220526142307-2.png]]
43 -
44 -**find -P : Password**
45 -
46 -
47 -
48 48  User MQTT.FX to simulate a downlink
49 49  
50 -[[image:image-20220526142421-4.png]]
28 +[[~[~[image:https://wiki.dragino.com/images/thumb/5/5c/Stack_v3_downlink_3.png/600px-Stack_v3_downlink_3.png~|~|height="439" width="600"~]~]>>url:https://wiki.dragino.com/index.php/File:Stack_v3_downlink_3.png]]
51 51  
52 52  Use MQTT.FX to simulate downlink
53 53  
54 54  
55 -
56 56  Input connection info
57 57  
58 -[[image:image-20220526142512-5.png]]
35 +[[~[~[image:https://wiki.dragino.com/images/thumb/4/44/Stack_v3_downlink_4.png/600px-Stack_v3_downlink_4.png~|~|height="437" width="600"~]~]>>url:https://wiki.dragino.com/index.php/File:Stack_v3_downlink_4.png]]
59 59  
60 60  Input MQTT connection info
61 61  
62 62  
63 -
64 64  Send a downstream
65 65  
66 -[[image:image-20220526142539-6.png]]
42 +[[~[~[image:https://wiki.dragino.com/images/thumb/e/ec/Stack_v3_downlink_5.png/600px-Stack_v3_downlink_5.png~|~|alt="Stack v3 downlink 5.png" height="438" width="600"~]~]>>url:https://wiki.dragino.com/index.php/File:Stack_v3_downlink_5.png]]
67 67  
68 68  Gateway traffic for downstream
69 69  
46 +[[~[~[image:https://wiki.dragino.com/images/thumb/8/8a/Stack_v3_downlink_8.png/600px-Stack_v3_downlink_8.png~|~|alt="Stack v3 downlink 8.png" height="235" width="600"~]~]>>url:https://wiki.dragino.com/index.php/File:Stack_v3_downlink_8.png]]
70 70  
71 71  
72 -[[image:image-20220526142616-7.png||height="579" width="1407"]]
73 -
74 -
75 -
76 76  Downstream data flow will like below:
77 77  
78 -[[image:image-20220526142741-8.png]]
51 +[[~[~[image:https://wiki.dragino.com/images/thumb/d/d1/Stack_v3_downlink_6.png/600px-Stack_v3_downlink_6.png~|~|alt="Stack v3 downlink 6.png" height="233" width="600"~]~]>>url:https://wiki.dragino.com/index.php/File:Stack_v3_downlink_6.png]]
79 79  
80 -[[image:image-20220526142826-9.png]]
81 81  
54 +[[~[~[image:https://wiki.dragino.com/images/1/1f/Stack_v3_downlink_7.png~|~|alt="Stack v3 downlink 7.png" height="371" width="453"~]~]>>url:https://wiki.dragino.com/index.php/File:Stack_v3_downlink_7.png]]
82 82  
83 -= 3.  Trouble Shooting =
56 += Trouble Shooting =
84 84  
85 -== 3.1  Problem when register a device to TTNv3 if it is already register to TTNv2 ==
58 +== Problem when register a device to TTNv3 if it is already register to TTNv2 ==
86 86  
87 -
88 88  When you register the device in V2 and V3 with the same key and EUI, the device can only connect to V2.
89 89  
62 +[[~[~[image:https://wiki.dragino.com/images/thumb/0/0d/V3v2.png/600px-V3v2.png~|~|alt="V3v2.png" height="403" width="600"~]~]>>url:https://wiki.dragino.com/index.php/File:V3v2.png]]
90 90  
91 -[[image:image-20220526142914-10.png]]
64 +[[~[~[image:https://wiki.dragino.com/images/thumb/b/b9/V2v3.png/600px-V2v3.png~|~|alt="V2v3.png" height="352" width="600"~]~]>>url:https://wiki.dragino.com/index.php/File:V2v3.png]]
92 92  
93 -[[image:image-20220526143018-11.png||height="619" width="1049"]]
94 -
95 -
96 96  If you want the device to connect to V3. You must change your key and EUI, or delete the device registered on V2.
97 97  
98 98  
99 -== 3.2  MIC Mismatch or MIC Failed ==
69 +== MIC Mismatch or MIC Failed ==
100 100  
101 -
102 -(((
103 -(((
104 104  When the device is registered or the device is working normally, the problem of MIC mismatch and MIC failed occurs.
105 -)))
106 -)))
107 107  
108 -(((
109 -(((
110 110  Under normal circumstances, users need to change the APPKEY to solve this problem.
111 111  
112 -
113 -)))
114 -)))
75 +[[~[~[image:https://wiki.dragino.com/images/thumb/d/dd/MIC_mismatch.png/600px-MIC_mismatch.png~|~|height="208" width="600"~]~]>>url:https://wiki.dragino.com/index.php/File:MIC_mismatch.png]]
115 115  
116 -[[image:image-20220526143057-12.png]]
117 -
118 118  MIC Mismatch
image-20220526142228-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -126.5 KB
Content
image-20220526142307-2.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -78.0 KB
Content
image-20220526142338-3.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -123.1 KB
Content
image-20220526142421-4.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -55.2 KB
Content
image-20220526142512-5.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -117.1 KB
Content
image-20220526142539-6.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -87.9 KB
Content
image-20220526142616-7.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -62.4 KB
Content
image-20220526142741-8.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -241.7 KB
Content
image-20220526142826-9.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -23.6 KB
Content
image-20220526142914-10.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -80.3 KB
Content
image-20220526143018-11.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -108.9 KB
Content
image-20220526143057-12.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -151.8 KB
Content
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0