<
From version < 86.6 >
edited by Xiaoling
on 2022/05/30 15:26
To version < 48.1 >
edited by Xiaoling
on 2022/05/24 16:56
>
Change comment: Uploaded new attachment "image-20220524165659-40.png", version {1}

Summary

Details

Page properties
Content
... ... @@ -2,15 +2,12 @@
2 2  
3 3  {{toc/}}
4 4  
5 -
6 -
7 -
8 8  = 1. Introduction =
9 9  
10 -(% style="color:black" %)The ChirpStack open-source LoRaWAN Network Server stack provides open-source components for LoRaWAN networks And the Chirpstack supports the users in building a private LoRaWAN Server. For more info please refer to this [[link>>url:https://www.chirpstack.io/]]
7 +The ChirpStack open-source LoRaWAN Network Server stack provides open-source components for LoRaWAN networks And the Chirpstack supports the users in building a private LoRaWAN Server. For more info please refer to this [[link>>url:https://www.chirpstack.io/]]
11 11  
12 12  (((
13 -(% style="color:black" %)The dragino gateway can connect the ChirpStack server via Semtech UDP or Semtech Basic Station.
10 +The dragino gateway can connect the ChirpStack server via Semtech UDP or Semtech Basic Station.
14 14  )))
15 15  
16 16  **Prerequisite**
... ... @@ -17,11 +17,11 @@
17 17  
18 18  1) Have a Chirstack Server.
19 19  
20 -[[image:image-20220525100058-1.png]]
17 +[[image:image-20220524163736-2.png]]
21 21  
19 +
22 22  ChirpStack home page
23 23  
24 -
25 25  2) Gateway model support
26 26  
27 27  (% class="box" %)
... ... @@ -33,8 +33,6 @@
33 33  )))
34 34  )))
35 35  
36 -
37 -
38 38  = 2. Semtech UDP =
39 39  
40 40  == 2.1 Step 1. Add the Network-servers ==
... ... @@ -49,21 +49,19 @@
49 49  
50 50  If the user cannot add network-Servers, re-check the ChirpStack code or the server building process.
51 51  
52 -[[image:image-20220525100158-2.png]]
47 +[[image:image-20220524163926-3.png]]
53 53  
54 54  Add the Network-servers
55 55  
56 -
57 57  == 2.2 Step 2. Create Gateway-profiles ==
58 58  
59 -[[image:image-20220525100255-3.png]]
53 +[[image:image-20220524163952-4.png]]
60 60  
61 61  Create Gateway-profiles
62 62  
63 -
64 64  == 2.3 Step 3. Create Service-profiles ==
65 65  
66 -[[image:image-20220525100322-4.png]]
59 +[[image:image-20220524164008-5.png]]
67 67  
68 68  Create Service-profiles
69 69  
... ... @@ -71,9 +71,8 @@
71 71  
72 72  (% style="color:red" %)**Note : Before add the gateway, the user needs to complete the preceding three steps.**
73 73  
74 -If the user has completed the preceding steps, proceed to the next step.(% style="display:none" %)
67 +If the user has completed the preceding steps, proceed to the next step.
75 75  
76 -
77 77  == 2.4 Step 4. Add the gateway ==
78 78  
79 79  The example gateway id is: a840411e96744150
... ... @@ -82,28 +82,24 @@
82 82  (% style="color:red" %)**Note : The Gateway EUI and server addresses must match the ChirpStack configuration.**
83 83  )))
84 84  
85 -[[image:image-20220525100350-5.png]](% style="display:none" %)
77 +[[image:image-20220524164029-6.png]]
86 86  
87 -
88 88  Add the gateway
89 89  
90 -[[image:image-20220525100417-6.png]]
81 +[[image:image-20220524164048-7.png]]
91 91  
92 92  Configure the gateway
93 93  
94 -
95 95  == 2.5 Step 5. Checking gateway Status ==
96 96  
97 -[[image:image-20220525100448-7.png]](% style="display:none" %)
87 +[[image:image-20220524164104-8.png]]
98 98  
99 -
100 100  gateway Status
101 101  
102 -[[image:image-20220526090446-3.png||height="653" width="1218"]]
91 +[[image:image-20220524164129-9.png]]
103 103  
104 104  gateway Status
105 105  
106 -
107 107  = 3. Gateway Registration for Basics Station =
108 108  
109 109  == Introduction ==
... ... @@ -173,15 +173,15 @@
173 173  
174 174  == 4.1 Chirpstack Downlink Note ==
175 175  
176 -[[image:image-20220525101223-9.png]]
164 +[[image:image-20220524164613-16.png]]
177 177  
178 178  Convert the data to Base64
179 179  
180 -[[image:image-20220526090748-4.png]]
168 +[[image:image-20220524164632-17.png]]
181 181  
182 182  Check ChripStack downlink DataRate
183 183  
184 -[[image:image-20220525101326-11.png]]
172 +[[image:image-20220524164724-18.png]]
185 185  
186 186  Make sure the RX2DR is the same in the end node
187 187  
... ... @@ -201,7 +201,7 @@
201 201  User name: User name Password: password
202 202  )))
203 203  
204 -[[image:image-20220525101401-12.png]]
192 +[[image:image-20220524164806-19.png]]
205 205  
206 206  (((
207 207  MQTT Connect to ChirpStack
... ... @@ -226,7 +226,7 @@
226 226  Payload: {"confirmed":true,"fPort":2,"data":"AwEB"}
227 227  )))
228 228  
229 -[[image:image-20220525101436-13.png]]
217 +[[image:image-20220524164829-20.png]]
230 230  
231 231  MQTT Connect to ChirpStack
232 232  
... ... @@ -234,13 +234,13 @@
234 234  (% style="color:red" %)Note: Chirpstack use base64 to downlink, so need to convert the downlink payload from HEX to base64 [[https:~~/~~/base64.us/>>url:https://base64.us/]]
235 235  )))
236 236  
237 -[[image:image-20220525101505-14.png]]
225 +[[image:image-20220524164849-21.png]]
238 238  
239 239  Choose to Use Hex for Encode
240 240  
241 241  If we want send downstream hex 030101 to end node, the BASE64 payload is AwEB
242 242  
243 -[[image:image-20220525104025-15.png]]
231 +[[image:image-20220524164907-22.png]]
244 244  
245 245  (((
246 246  Downlink payload encode javescript code: 可以在网站上运行以下Javsscript代码:
... ... @@ -307,15 +307,14 @@
307 307  
308 308  User enters the payload code according to the steps.
309 309  
310 -[[image:image-20220525104051-16.png]]
298 +[[image:image-20220524165001-23.png]]
311 311  
312 -[[image:image-20220525104155-17.png]]
300 +[[image:image-20220524165028-24.png]]
313 313  
302 +[[image:image-20220524165100-25.png]]
314 314  
315 -[[image:image-20220526091602-5.png]]
304 +[[image:image-20220524165116-26.png]]
316 316  
317 -[[image:image-20220526091801-6.png]]
318 -
319 319  = 5. Multiply Uplink in ChirpStack =
320 320  
321 321  (((
... ... @@ -326,13 +326,13 @@
326 326  ChirpStack will auto adjust nbtrans according to uplink rssi. [[link to source>>url:https://github.com/brocaar/chirpstack-network-server/blob/master/internal/adr/adr.go]]
327 327  )))
328 328  
329 -[[image:image-20220526091912-7.png]]
316 +[[image:image-20220524165141-27.png]]
330 330  
331 331  (((
332 332  nbtrans is a field of ADR message, in unconfirm mode, it tells end node how many time it needs to transmit for every frame.
333 333  )))
334 334  
335 -[[image:image-20220525104359-21.png]]
322 +[[image:image-20220524165158-28.png]]
336 336  
337 337  (((
338 338  Above behaviour will cause the platform shows below two cases of error:
... ... @@ -342,11 +342,11 @@
342 342  Error of duplicate Frame Counter
343 343  )))
344 344  
345 -[[image:image-20220525104437-22.png]]
332 +[[image:image-20220524165301-29.png]]
346 346  
347 347  Duplicate transmission in short time
348 348  
349 -[[image:image-20220525104502-23.png]]
336 +[[image:image-20220524165319-30.png]]
350 350  
351 351  == 5.1 Solution ==
352 352  
... ... @@ -356,11 +356,11 @@
356 356  ~1. Install the GO compilation environment: Download the corresponding version of the Go compiler at [[https:~~/~~/go.dev/dl/>>url:https://go.dev/dl/]] and install it.
357 357  )))
358 358  
359 -[[image:image-20220525104532-24.png]]
346 +[[image:image-20220524165339-31.png]]
360 360  
361 361  installation path:
362 362  
363 -[[image:image-20220525104554-25.png]]
350 +[[image:image-20220524165400-32.png]]
364 364  
365 365  (((
366 366  2. Environment variable settings:.
... ... @@ -388,11 +388,11 @@
388 388  
389 389  The name of the plugin: Example ADR plugin:
390 390  
391 -[[image:image-20220524165540-36.png]]
378 +[[image:https://wiki.dragino.com/images/1/12/Chirpstacksolution-6.jpg||alt="Chirpstacksolution-6.jpg" height="89" width="554"]]
392 392  
393 393  Set Nbtrans: Nbtrans=1 (Nbtrans is the number of retransmissions, if it is 1, no retransmission, it is recommended to be 1). To enable it, you need to uncomment.
394 394  
395 -[[image:image-20220524165557-37.png]]
382 +[[image:https://wiki.dragino.com/images/2/25/Chirpstacksolution-7.png||alt="Chirpstacksolution-7.png" height="98" width="426"]]
396 396  
397 397  4. Compile the ADR configuration file and generate the exe file.
398 398  
... ... @@ -416,7 +416,7 @@
416 416  
417 417  5) Finally generate this file:
418 418  
419 -[[image:image-20220524165623-38.png]]
406 +[[image:https://wiki.dragino.com/images/6/66/Chirpstacksolution-8.png||alt="Chirpstacksolution-8.png" height="96" width="554"]]
420 420  
421 421  5. Add the plugin and run the plugin.
422 422  
... ... @@ -424,7 +424,7 @@
424 424  The exe file generated in the previous step is placed in the same root directory as chirpstack-network-server.toml, and the ADR plugin is added to the toml file. The location of the addition is as follows:
425 425  )))
426 426  
427 -[[image:image-20220524165641-39.png]]
414 +[[image:https://wiki.dragino.com/images/8/82/Chirpstacksolution-9.png||alt="Chirpstacksolution-9.png" height="73" width="554"]]
428 428  
429 429  (((
430 430  (((
... ... @@ -450,7 +450,7 @@
450 450  )))
451 451  )))
452 452  
453 -[[image:image-20220525104647-26.png]]
440 +[[image:https://wiki.dragino.com/images/3/39/Chirpstacksolution-10.png||alt="Chirpstacksolution-10.png" height="275" width="554"]]
454 454  
455 455  Finish.
456 456  
image-20220525100058-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -66.6 KB
Content
image-20220525100158-2.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -52.2 KB
Content
image-20220525100255-3.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -60.1 KB
Content
image-20220525100322-4.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -91.1 KB
Content
image-20220525100350-5.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -79.8 KB
Content
image-20220525100417-6.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -86.3 KB
Content
image-20220525100448-7.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -77.4 KB
Content
image-20220525100516-8.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -126.2 KB
Content
image-20220525101223-9.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -36.4 KB
Content
image-20220525101247-10.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -91.0 KB
Content
image-20220525101326-11.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -120.2 KB
Content
image-20220525101401-12.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -93.1 KB
Content
image-20220525101436-13.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -63.9 KB
Content
image-20220525101505-14.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -165.4 KB
Content
image-20220525104025-15.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -77.3 KB
Content
image-20220525104051-16.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -27.1 KB
Content
image-20220525104155-17.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -46.8 KB
Content
image-20220525104223-18.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -87.7 KB
Content
image-20220525104258-19.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -44.9 KB
Content
image-20220525104328-20.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -36.9 KB
Content
image-20220525104359-21.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -136.3 KB
Content
image-20220525104437-22.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -23.0 KB
Content
image-20220525104502-23.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -59.2 KB
Content
image-20220525104532-24.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -45.7 KB
Content
image-20220525104554-25.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -24.5 KB
Content
image-20220525104647-26.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -23.9 KB
Content
image-20220526085155-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -116.8 KB
Content
image-20220526085310-2.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -141.7 KB
Content
image-20220526090446-3.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -342.8 KB
Content
image-20220526090748-4.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -214.7 KB
Content
image-20220526091602-5.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -129.2 KB
Content
image-20220526091801-6.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -88.1 KB
Content
image-20220526091912-7.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -94.9 KB
Content
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0