Changes for page TTN Stack 3

Last modified by Xiaoling on 2023/04/23 15:28

From version 1.3
edited by Xiaoling
on 2022/05/17 09:35
Change comment: There is no comment for this version
To version 2.2
edited by Xiaoling
on 2022/05/26 14:22
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,16 +1,19 @@
1 -Contents:
1 +**~ Contents:**
2 2  
3 +{{toc/}}
3 3  
4 4  = 1. Introduction =
5 5  
6 6  Notes for using Dragino Devices with TTN Stack3.
7 7  
9 +
8 8  = 2. Downlink =
9 9  
10 10  Use MQTT API for downlink: Reference: [[TTN Stack v3 MQTT reference>>url:https://thethingsstack.io/v3.1.0/guides/getting-started/mqtt/]]
11 11  
12 -
14 +(((
13 13  **Download command is:**
16 +)))
14 14  
15 15  (% class="box" %)
16 16  (((
... ... @@ -17,10 +17,11 @@
17 17  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}]}'
18 18  )))
19 19  
20 -
23 +(((
21 21  The MQTT command use (% style="color:#4f81bd" %)**-h,-p,-u,-P** (%%)options. We can find them in the website.
25 +)))
22 22  
23 -[[image:https://wiki.dragino.com/images/thumb/2/2f/Stack_v3_downlink_1.png/600px-Stack_v3_downlink_1.png||height="375" width="600"]]
27 +[[image:image-20220526142228-1.png]]
24 24  
25 25  find -h : broker address , -p port and -u: user name
26 26  
... ... @@ -31,7 +31,7 @@
31 31  
32 32  User MQTT.FX to simulate a downlink
33 33  
34 -[[image:https://wiki.dragino.com/images/thumb/5/5c/Stack_v3_downlink_3.png/600px-Stack_v3_downlink_3.png||height="439" width="600"]]
38 +[[image:https://wiki.dragino.com/images/thumb/5/5c/Stack_v3_downlink_3.png/800px-Stack_v3_downlink_3.png||alt="File:Stack v3 downlink 3.png" height="534" width="730"]]
35 35  
36 36  Use MQTT.FX to simulate downlink
37 37  
... ... @@ -73,12 +73,16 @@
73 73  == 3.2 MIC Mismatch or MIC Failed ==
74 74  
75 75  (((
80 +(((
76 76  When the device is registered or the device is working normally, the problem of MIC mismatch and MIC failed occurs.
77 77  )))
83 +)))
78 78  
79 79  (((
86 +(((
80 80  Under normal circumstances, users need to change the APPKEY to solve this problem.
81 81  )))
89 +)))
82 82  
83 83  [[image:https://wiki.dragino.com/images/thumb/d/dd/MIC_mismatch.png/600px-MIC_mismatch.png||height="208" width="600"]]
84 84  
image-20220526142228-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +126.5 KB
Content