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, 0 added, 6 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,24 +1,18 @@ 1 -**~ Table ofContents:**1 +**~ Contents:** 2 2 3 3 {{toc/}} 4 4 5 += 1. Introduction = 5 5 6 - 7 - 8 -= 1. Introduction = 9 - 10 - 11 11 Notes for using Dragino Devices with TTN Stack3. 12 12 13 13 10 += 2. Downlink = 14 14 15 -= 2. Downlink = 16 - 17 - 18 18 Use MQTT API for downlink: Reference: [[TTN Stack v3 MQTT reference>>url:https://thethingsstack.io/v3.1.0/guides/getting-started/mqtt/]] 19 19 20 20 ((( 21 - (% style="color:blue" %)**Download command is:**15 +**Download command is:** 22 22 ))) 23 23 24 24 (% class="box" %) ... ... @@ -27,25 +27,18 @@ 27 27 ))) 28 28 29 29 ((( 30 - 31 - 32 -The MQTT command use (% style="color:blue" %)**-h,-p,-u,-P** (%%)options. We can find them in the website. 33 - 34 - 24 +The MQTT command use (% style="color:#4f81bd" %)**-h,-p,-u,-P** (%%)options. We can find them in the website. 35 35 ))) 36 36 37 37 [[image:image-20220526142338-3.png]] 38 38 39 - **find -h : broker address , -p port and -u: user name**29 +find -h : broker address , -p port and -u: user name 40 40 41 - 42 - 43 43 [[image:image-20220526142307-2.png]] 44 44 45 - **find -P : Password**33 +find -P : Password 46 46 47 47 48 - 49 49 User MQTT.FX to simulate a downlink 50 50 51 51 [[image:image-20220526142421-4.png]] ... ... @@ -53,55 +53,42 @@ 53 53 Use MQTT.FX to simulate downlink 54 54 55 55 56 - 57 57 Input connection info 58 58 59 -[[image:image -20220526142512-5.png]]45 +[[image:https://wiki.dragino.com/images/thumb/4/44/Stack_v3_downlink_4.png/600px-Stack_v3_downlink_4.png||height="437" width="600"]] 60 60 61 61 Input MQTT connection info 62 62 63 63 64 - 65 65 Send a downstream 66 66 67 -[[image:image -20220526142539-6.png]]52 +[[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"]] 68 68 69 69 Gateway traffic for downstream 70 70 56 +[[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"]] 71 71 72 72 73 -[[image:image-20220526142616-7.png||height="579" width="1407"]] 74 - 75 - 76 - 77 77 Downstream data flow will like below: 78 78 79 -[[image:image -20220526142741-8.png]]61 +[[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"]] 80 80 81 -[[image:image -20220526142826-9.png]]63 +[[image:https://wiki.dragino.com/images/1/1f/Stack_v3_downlink_7.png||alt="Stack v3 downlink 7.png" height="371" width="453"]] 82 82 65 += 3. Trouble Shooting = 83 83 67 +== 3.1 Problem when register a device to TTNv3 if it is already register to TTNv2 == 84 84 85 -= 3. Trouble Shooting = 86 - 87 -== 3.1 Problem when register a device to TTNv3 if it is already register to TTNv2 == 88 - 89 - 90 90 When you register the device in V2 and V3 with the same key and EUI, the device can only connect to V2. 91 91 71 +[[image:https://wiki.dragino.com/images/thumb/0/0d/V3v2.png/600px-V3v2.png||alt="V3v2.png" height="403" width="600"]] 92 92 93 -[[image:image -20220526142914-10.png]]73 +[[image:https://wiki.dragino.com/images/thumb/b/b9/V2v3.png/600px-V2v3.png||alt="V2v3.png" height="352" width="600"]] 94 94 95 -[[image:image-20220526143018-11.png||height="619" width="1049"]] 96 - 97 - 98 98 If you want the device to connect to V3. You must change your key and EUI, or delete the device registered on V2. 99 99 77 +== 3.2 MIC Mismatch or MIC Failed == 100 100 101 - 102 -== 3.2 MIC Mismatch or MIC Failed == 103 - 104 - 105 105 ((( 106 106 ((( 107 107 When the device is registered or the device is working normally, the problem of MIC mismatch and MIC failed occurs. ... ... @@ -111,11 +111,9 @@ 111 111 ((( 112 112 ((( 113 113 Under normal circumstances, users need to change the APPKEY to solve this problem. 114 - 115 - 116 116 ))) 117 117 ))) 118 118 119 -[[image:image -20220526143057-12.png]]91 +[[image:https://wiki.dragino.com/images/thumb/d/dd/MIC_mismatch.png/600px-MIC_mismatch.png||height="208" width="600"]] 120 120 121 121 MIC Mismatch
- 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