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