Changes for page TTN Stack 3
Last modified by Xiaoling on 2023/04/23 15:28
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 12 added, 0 removed)
- image-20220526142228-1.png
- image-20220526142307-2.png
- image-20220526142338-3.png
- image-20220526142421-4.png
- image-20220526142512-5.png
- image-20220526142539-6.png
- image-20220526142616-7.png
- image-20220526142741-8.png
- image-20220526142826-9.png
- image-20220526142914-10.png
- image-20220526143018-11.png
- image-20220526143057-12.png
Details
- Page properties
-
- Content
-
... ... @@ -2,16 +2,21 @@ 2 2 3 3 {{toc/}} 4 4 5 + 6 + 7 + 5 5 = 1. Introduction = 6 6 7 7 Notes for using Dragino Devices with TTN Stack3. 8 8 12 + 9 9 = 2. Downlink = 10 10 11 11 Use MQTT API for downlink: Reference: [[TTN Stack v3 MQTT reference>>url:https://thethingsstack.io/v3.1.0/guides/getting-started/mqtt/]] 12 12 13 - 17 +((( 14 14 **Download command is:** 19 +))) 15 15 16 16 (% class="box" %) 17 17 ((( ... ... @@ -18,21 +18,23 @@ 18 18 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}]}' 19 19 ))) 20 20 21 - 26 +((( 22 22 The MQTT command use (% style="color:#4f81bd" %)**-h,-p,-u,-P** (%%)options. We can find them in the website. 28 +))) 23 23 24 -[[image: https://wiki.dragino.com/images/thumb/2/2f/Stack_v3_downlink_1.png/600px-Stack_v3_downlink_1.png||height="375" width="600"]]30 +[[image:image-20220526142338-3.png]] 25 25 26 26 find -h : broker address , -p port and -u: user name 27 27 28 -[[image:https://wiki.dragino.com/images/thumb/a/a6/Stack_v3_downlink_2.png/600px-Stack_v3_downlink_2.png||height="395" width="600"]] 29 29 35 +[[image:image-20220526142307-2.png]] 36 + 30 30 find -P : Password 31 31 32 32 33 33 User MQTT.FX to simulate a downlink 34 34 35 -[[image: https://wiki.dragino.com/images/thumb/5/5c/Stack_v3_downlink_3.png/600px-Stack_v3_downlink_3.png||height="439" width="600"]]42 +[[image:image-20220526142421-4.png]] 36 36 37 37 Use MQTT.FX to simulate downlink 38 38 ... ... @@ -39,7 +39,7 @@ 39 39 40 40 Input connection info 41 41 42 -[[image: https://wiki.dragino.com/images/thumb/4/44/Stack_v3_downlink_4.png/600px-Stack_v3_downlink_4.png||height="437" width="600"]]49 +[[image:image-20220526142512-5.png]] 43 43 44 44 Input MQTT connection info 45 45 ... ... @@ -46,19 +46,20 @@ 46 46 47 47 Send a downstream 48 48 49 -[[image: https://wiki.dragino.com/images/thumb/e/ec/Stack_v3_downlink_5.png/600px-Stack_v3_downlink_5.png||alt="Stack v3 downlink5.png" height="438" width="600"]]56 +[[image:image-20220526142539-6.png]] 50 50 51 51 Gateway traffic for downstream 52 52 53 -[[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"]]60 +[[image:image-20220526142616-7.png||height="579" width="1407"]] 54 54 55 55 56 56 Downstream data flow will like below: 57 57 58 -[[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"]]65 +[[image:image-20220526142741-8.png]] 59 59 60 -[[image: https://wiki.dragino.com/images/1/1f/Stack_v3_downlink_7.png||alt="Stack v3 downlink 7.png" height="371" width="453"]]67 +[[image:image-20220526142826-9.png]] 61 61 69 + 62 62 = 3. Trouble Shooting = 63 63 64 64 == 3.1 Problem when register a device to TTNv3 if it is already register to TTNv2 == ... ... @@ -65,12 +65,13 @@ 65 65 66 66 When you register the device in V2 and V3 with the same key and EUI, the device can only connect to V2. 67 67 68 -[[image: https://wiki.dragino.com/images/thumb/0/0d/V3v2.png/600px-V3v2.png||alt="V3v2.png" height="403" width="600"]]76 +[[image:image-20220526142914-10.png]] 69 69 70 -[[image: https://wiki.dragino.com/images/thumb/b/b9/V2v3.png/600px-V2v3.png||alt="V2v3.png"height="352" width="600"]]78 +[[image:image-20220526143018-11.png||height="619" width="1049"]] 71 71 72 72 If you want the device to connect to V3. You must change your key and EUI, or delete the device registered on V2. 73 73 82 + 74 74 == 3.2 MIC Mismatch or MIC Failed == 75 75 76 76 ((( ... ... @@ -85,6 +85,6 @@ 85 85 ))) 86 86 ))) 87 87 88 -[[image: https://wiki.dragino.com/images/thumb/d/dd/MIC_mismatch.png/600px-MIC_mismatch.png||height="208" width="600"]]97 +[[image:image-20220526143057-12.png]] 89 89 90 90 MIC Mismatch
- image-20220526142228-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +126.5 KB - Content
- image-20220526142307-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +78.0 KB - Content
- image-20220526142338-3.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +123.1 KB - Content
- image-20220526142421-4.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +55.2 KB - Content
- image-20220526142512-5.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +117.1 KB - Content
- image-20220526142539-6.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +87.9 KB - Content
- image-20220526142616-7.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +62.4 KB - Content
- image-20220526142741-8.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +241.7 KB - Content
- image-20220526142826-9.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +23.6 KB - Content
- image-20220526142914-10.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +80.3 KB - Content
- image-20220526143018-11.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +108.9 KB - Content
- image-20220526143057-12.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +151.8 KB - Content