<
From version < 52.1 >
edited by Kilight Cao
on 2022/05/24 20:06
To version < 27.1 >
edited by Xiaoling
on 2022/05/24 16:48
>
Change comment: Uploaded new attachment "image-20220524164806-19.png", version {1}

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Kilight
1 +XWiki.Xiaoling
Content
... ... @@ -4,10 +4,10 @@
4 4  
5 5  = 1. Introduction =
6 6  
7 -(% style="color:red" %)**123 ** (% style="color:black" %) 123The 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/]]
8 8  
9 9  (((
10 -(% 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.
11 11  )))
12 12  
13 13  **Prerequisite**
... ... @@ -169,7 +169,7 @@
169 169  
170 170  Check ChripStack downlink DataRate
171 171  
172 -[[image:image-20220524164724-18.png]]
172 +[[image:https://wiki.dragino.com/images/thumb/d/dc/ChirpStack_Down_7.png/600px-ChirpStack_Down_7.png||height="711" width="600"]]
173 173  
174 174  Make sure the RX2DR is the same in the end node
175 175  
... ... @@ -189,7 +189,7 @@
189 189  User name: User name Password: password
190 190  )))
191 191  
192 -[[image:image-20220524164806-19.png]]
192 +[[image:https://wiki.dragino.com/images/thumb/0/06/ChirpStack_Down_1.png/600px-ChirpStack_Down_1.png||height="578" width="600"]]
193 193  
194 194  (((
195 195  MQTT Connect to ChirpStack
... ... @@ -214,7 +214,7 @@
214 214  Payload: {"confirmed":true,"fPort":2,"data":"AwEB"}
215 215  )))
216 216  
217 -[[image:image-20220524164829-20.png]]
217 +[[image:https://wiki.dragino.com/images/thumb/c/c8/ChirpStack_Down_2.png/600px-ChirpStack_Down_2.png||height="342" width="600"]]
218 218  
219 219  MQTT Connect to ChirpStack
220 220  
... ... @@ -222,13 +222,13 @@
222 222  (% 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/]]
223 223  )))
224 224  
225 -[[image:image-20220524164849-21.png]]
225 +[[image:https://wiki.dragino.com/images/thumb/f/f8/ChirpStack_Down_3.png/600px-ChirpStack_Down_3.png||height="309" width="600"]]
226 226  
227 227  Choose to Use Hex for Encode
228 228  
229 229  If we want send downstream hex 030101 to end node, the BASE64 payload is AwEB
230 230  
231 -[[image:image-20220524164907-22.png]]
231 +[[image:https://wiki.dragino.com/images/thumb/d/d2/ChirpStack_Down_4.png/600px-ChirpStack_Down_4.png||alt="ChirpStack Down 4.png" height="344" width="600"]]
232 232  
233 233  (((
234 234  Downlink payload encode javescript code: 可以在网站上运行以下Javsscript代码:
... ... @@ -295,13 +295,13 @@
295 295  
296 296  User enters the payload code according to the steps.
297 297  
298 -[[image:image-20220524165001-23.png]]
298 +[[image:https://wiki.dragino.com/images/thumb/9/9f/Step2.png/600px-Step2.png||alt="Step2.png" height="224" width="600"]]
299 299  
300 -[[image:image-20220524165028-24.png]]
300 +[[image:https://wiki.dragino.com/images/thumb/0/08/Step3.png/600px-Step3.png||alt="Step3.png" height="289" width="600"]]
301 301  
302 -[[image:image-20220524165100-25.png]]
302 +[[image:https://wiki.dragino.com/images/thumb/8/83/Step6.png/600px-Step6.png||alt="Step6.png" height="259" width="600"]]
303 303  
304 -[[image:image-20220524165116-26.png]]
304 +[[image:https://wiki.dragino.com/images/thumb/4/4f/Step5.png/600px-Step5.png||alt="Step5.png" height="221" width="600"]]
305 305  
306 306  = 5. Multiply Uplink in ChirpStack =
307 307  
... ... @@ -313,13 +313,13 @@
313 313  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]]
314 314  )))
315 315  
316 -[[image:image-20220524165141-27.png]]
316 +[[image:https://wiki.dragino.com/images/thumb/6/63/Nbtrans_1.png/600px-Nbtrans_1.png||alt="Nbtrans 1.png" height="103" width="600"]]
317 317  
318 318  (((
319 319  nbtrans is a field of ADR message, in unconfirm mode, it tells end node how many time it needs to transmit for every frame.
320 320  )))
321 321  
322 -[[image:image-20220524165158-28.png]]
322 +[[image:https://wiki.dragino.com/images/thumb/1/17/Nbtrans_2.png/300px-Nbtrans_2.png||alt="Nbtrans 2.png" height="462" width="300"]]
323 323  
324 324  (((
325 325  Above behaviour will cause the platform shows below two cases of error:
... ... @@ -329,11 +329,11 @@
329 329  Error of duplicate Frame Counter
330 330  )))
331 331  
332 -[[image:image-20220524165301-29.png]]
332 +[[image:https://wiki.dragino.com/images/7/7e/Nbtrans_3.png||alt="Nbtrans 3.png" height="677" width="600"]]
333 333  
334 334  Duplicate transmission in short time
335 335  
336 -[[image:image-20220524165319-30.png]]
336 +[[image:https://wiki.dragino.com/images/thumb/c/c4/Nbtrans_4.png/600px-Nbtrans_4.png||alt="Nbtrans 4.png" height="301" width="600"]]
337 337  
338 338  == 5.1 Solution ==
339 339  
... ... @@ -343,11 +343,11 @@
343 343  ~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.
344 344  )))
345 345  
346 -[[image:image-20220524165339-31.png]]
346 +[[image:https://wiki.dragino.com/images/3/37/Chirpstacksolution-1.png||alt="Chirpstacksolution-1.png" height="199" width="554"]]
347 347  
348 348  installation path:
349 349  
350 -[[image:image-20220524165400-32.png]]
350 +[[image:https://wiki.dragino.com/images/c/ca/Chirpstacksolution-2.png||alt="Chirpstacksolution-2.png" height="283" width="361"]]
351 351  
352 352  (((
353 353  2. Environment variable settings:.
... ... @@ -361,25 +361,25 @@
361 361  2)Set the variable name GOROOT and the variable value C:\Go\ (installation directory)
362 362  )))
363 363  
364 -[[image:image-20220524165433-33.png]]
364 +[[image:https://wiki.dragino.com/images/f/f9/Chirpstacksolution-3.png||alt="Chirpstacksolution-3.png" height="152" width="554"]]
365 365  
366 366  3)Modify the system variable Path and add C:\Go\bin\:
367 367  
368 -[[image:image-20220524165452-34.png]]
368 +[[image:https://wiki.dragino.com/images/1/1b/Chirpstacksolution-4.png||alt="Chirpstacksolution-4.png" height="152" width="554"]]
369 369  
370 370  User variable setting file generation directory: D:\go:
371 371  
372 -[[image:image-20220524165517-35.png]]
372 +[[image:https://wiki.dragino.com/images/9/9b/Chirpstacksolution-5.png||alt="Chirpstacksolution-5.png" height="278" width="371"]]
373 373  
374 374  3. Modify the ADR configuration file according to your own needs, adr.setting.go is an example of the ADR configuration file.
375 375  
376 376  The name of the plugin: Example ADR plugin:
377 377  
378 -[[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"]]
379 379  
380 380  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.
381 381  
382 -[[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"]]
383 383  
384 384  4. Compile the ADR configuration file and generate the exe file.
385 385  
... ... @@ -403,7 +403,7 @@
403 403  
404 404  5) Finally generate this file:
405 405  
406 -[[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"]]
407 407  
408 408  5. Add the plugin and run the plugin.
409 409  
... ... @@ -411,7 +411,7 @@
411 411  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:
412 412  )))
413 413  
414 -[[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"]]
415 415  
416 416  (((
417 417  (((
... ... @@ -437,7 +437,7 @@
437 437  )))
438 438  )))
439 439  
440 -[[image:image-20220524165659-40.png]]
440 +[[image:https://wiki.dragino.com/images/3/39/Chirpstacksolution-10.png||alt="Chirpstacksolution-10.png" height="275" width="554"]]
441 441  
442 442  Finish.
443 443  
image-20220524164829-20.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -42.4 KB
Content
image-20220524164849-21.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -108.8 KB
Content
image-20220524164907-22.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -51.3 KB
Content
image-20220524165001-23.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -17.6 KB
Content
image-20220524165028-24.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -30.1 KB
Content
image-20220524165100-25.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -57.0 KB
Content
image-20220524165116-26.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -29.1 KB
Content
image-20220524165141-27.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -24.2 KB
Content
image-20220524165158-28.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -96.7 KB
Content
image-20220524165301-29.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -64.0 KB
Content
image-20220524165319-30.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -39.5 KB
Content
image-20220524165339-31.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -45.8 KB
Content
image-20220524165400-32.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -24.5 KB
Content
image-20220524165433-33.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -11.7 KB
Content
image-20220524165452-34.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -19.9 KB
Content
image-20220524165517-35.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -50.0 KB
Content
image-20220524165540-36.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -56.0 KB
Content
image-20220524165557-37.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -12.1 KB
Content
image-20220524165623-38.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -25.6 KB
Content
image-20220524165641-39.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -23.6 KB
Content
image-20220524165659-40.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -23.9 KB
Content
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0