<
From version < 89.3 >
edited by Xiaoling
on 2022/05/31 17:18
To version < 70.2 >
edited by Xiaoling
on 2022/05/25 10:41
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -2,9 +2,6 @@
2 2  
3 3  {{toc/}}
4 4  
5 -
6 -
7 -
8 8  = 1. Introduction =
9 9  
10 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/]]
... ... @@ -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,32 +49,28 @@
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-20220531171609-1.png]]
47 +[[image:image-20220525100158-2.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-20220531171651-2.png]]
53 +[[image:image-20220525100255-3.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-20220531171809-3.png]]
59 +[[image:image-20220525100322-4.png]]
67 67  
68 68  Create Service-profiles
69 69  
70 -
71 71  In Step 3. Create Service-profiles, the above parameters can be set. If necessary, you can set them by yourself. This is only an example.
72 72  
73 73  (% style="color:red" %)**Note : Before add the gateway, the user needs to complete the preceding three steps.**
74 74  
75 -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.
76 76  
77 -
78 78  == 2.4 Step 4. Add the gateway ==
79 79  
80 80  The example gateway id is: a840411e96744150
... ... @@ -83,9 +83,8 @@
83 83  (% style="color:red" %)**Note : The Gateway EUI and server addresses must match the ChirpStack configuration.**
84 84  )))
85 85  
86 -[[image:image-20220525100350-5.png]](% style="display:none" %)
77 +[[image:image-20220525100350-5.png]]
87 87  
88 -
89 89  Add the gateway
90 90  
91 91  [[image:image-20220525100417-6.png]]
... ... @@ -92,19 +92,16 @@
92 92  
93 93  Configure the gateway
94 94  
95 -
96 96  == 2.5 Step 5. Checking gateway Status ==
97 97  
98 -[[image:image-20220525100448-7.png]](% style="display:none" %)
87 +[[image:image-20220525100448-7.png]]
99 99  
100 -
101 101  gateway Status
102 102  
103 -[[image:image-20220526090446-3.png||height="653" width="1218"]]
91 +[[image:image-20220525100516-8.png]]
104 104  
105 105  gateway Status
106 106  
107 -
108 108  = 3. Gateway Registration for Basics Station =
109 109  
110 110  == Introduction ==
... ... @@ -126,12 +126,10 @@
126 126  
127 127  A gateway that can access the internet normally
128 128  
129 -
130 130  == 3.1 Add Gateway ==
131 131  
132 132  [[image:image-20220524164205-10.png]]
133 133  
134 -
135 135  == 3.2 Access the gateway GUI ==
136 136  
137 137  Access the gateway GUI interface of LoRaWAN~-~->LoRaWAN ~-~- Basic Station
... ... @@ -152,12 +152,10 @@
152 152  (% class="wikigeneratedid" %)
153 153  [[image:image-20220524164341-12.png]]
154 154  
155 -
156 156  == 3.3 Start Station ==
157 157  
158 158  When the user has finished the configuration, Please click Sace&Apply to start station to connect ChirpStack
159 159  
160 -
161 161  == 3.4 Successful Connection ==
162 162  
163 163  If user completes the above steps, which will see live date in the ChirpStack.
... ... @@ -164,7 +164,6 @@
164 164  
165 165  [[image:image-20220524164448-13.png]]
166 166  
167 -
168 168  == 3.5 Trouble Shooting ==
169 169  
170 170  User can check the station log in the logread/system log page.
... ... @@ -171,12 +171,10 @@
171 171  
172 172  [[image:image-20220524164514-14.png]]
173 173  
174 -
175 175  and recode the station log in the system/Recode log page.
176 176  
177 177  [[image:image-20220524164541-15.png]]
178 178  
179 -
180 180  = 4. Downlink =
181 181  
182 182  == 4.1 Chirpstack Downlink Note ==
... ... @@ -185,17 +185,14 @@
185 185  
186 186  Convert the data to Base64
187 187  
168 +[[image:image-20220525101247-10.png]]
188 188  
189 -[[image:image-20220526090748-4.png]]
190 -
191 191  Check ChripStack downlink DataRate
192 192  
193 -
194 194  [[image:image-20220525101326-11.png]]
195 195  
196 196  Make sure the RX2DR is the same in the end node
197 197  
198 -
199 199  == 4.2 Loraserver Downlink Note ==
200 200  
201 201  User can use MQTT to send downlink payload to ChirpStack to perform downstream to LoRaWAN End
... ... @@ -216,8 +216,6 @@
216 216  
217 217  (((
218 218  MQTT Connect to ChirpStack
219 -
220 -
221 221  )))
222 222  
223 223  (((
... ... @@ -243,7 +243,6 @@
243 243  
244 244  MQTT Connect to ChirpStack
245 245  
246 -
247 247  (((
248 248  (% 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/]]
249 249  )))
... ... @@ -252,7 +252,6 @@
252 252  
253 253  Choose to Use Hex for Encode
254 254  
255 -
256 256  If we want send downstream hex 030101 to end node, the BASE64 payload is AwEB
257 257  
258 258  [[image:image-20220525104025-15.png]]
... ... @@ -318,7 +318,6 @@
318 318   AwAA is 0x030000's base 64 Encode.
319 319  )))
320 320  
321 -
322 322  == 4.3 Add the decode function in Chirpstack for the payload ==
323 323  
324 324  User enters the payload code according to the steps.
... ... @@ -327,12 +327,10 @@
327 327  
328 328  [[image:image-20220525104155-17.png]]
329 329  
302 +[[image:image-20220524165100-25.png]]
330 330  
331 -[[image:image-20220526091602-5.png]]
304 +[[image:image-20220524165116-26.png]]
332 332  
333 -[[image:image-20220526091801-6.png]]
334 -
335 -
336 336  = 5. Multiply Uplink in ChirpStack =
337 337  
338 338  (((
... ... @@ -343,13 +343,13 @@
343 343  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]]
344 344  )))
345 345  
346 -[[image:image-20220526091912-7.png]]
316 +[[image:image-20220524165141-27.png]]
347 347  
348 348  (((
349 349  nbtrans is a field of ADR message, in unconfirm mode, it tells end node how many time it needs to transmit for every frame.
350 350  )))
351 351  
352 -[[image:image-20220525104359-21.png]]
322 +[[image:image-20220524165158-28.png]]
353 353  
354 354  (((
355 355  Above behaviour will cause the platform shows below two cases of error:
... ... @@ -359,14 +359,12 @@
359 359  Error of duplicate Frame Counter
360 360  )))
361 361  
362 -[[image:image-20220525104437-22.png]]
332 +[[image:image-20220524165301-29.png]]
363 363  
364 -
365 365  Duplicate transmission in short time
366 366  
367 -[[image:image-20220525104502-23.png]]
336 +[[image:image-20220524165319-30.png]]
368 368  
369 -
370 370  == 5.1 Solution ==
371 371  
372 372  This example uses the Windows version as a template, other versions can refer to this. Similiar reference: [[https:~~/~~/confluence.alitecs.de/plugins/servlet/mobile?contentId=79790102#content/view/79790102>>url:https://confluence.alitecs.de/plugins/servlet/mobile?contentId=79790102#content/view/79790102]]
... ... @@ -375,14 +375,12 @@
375 375  ~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.
376 376  )))
377 377  
378 -[[image:image-20220525104532-24.png]]
346 +[[image:image-20220524165339-31.png]]
379 379  
380 -
381 381  installation path:
382 382  
383 -[[image:image-20220525104554-25.png]]
350 +[[image:image-20220524165400-32.png]]
384 384  
385 -
386 386  (((
387 387  2. Environment variable settings:.
388 388  )))
... ... @@ -397,7 +397,6 @@
397 397  
398 398  [[image:image-20220524165433-33.png]]
399 399  
400 -
401 401  3)Modify the system variable Path and add C:\Go\bin\:
402 402  
403 403  [[image:image-20220524165452-34.png]]
... ... @@ -406,7 +406,6 @@
406 406  
407 407  [[image:image-20220524165517-35.png]]
408 408  
409 -
410 410  3. Modify the ADR configuration file according to your own needs, adr.setting.go is an example of the ADR configuration file.
411 411  
412 412  The name of the plugin: Example ADR plugin:
... ... @@ -417,7 +417,6 @@
417 417  
418 418  [[image:image-20220524165557-37.png]]
419 419  
420 -
421 421  4. Compile the ADR configuration file and generate the exe file.
422 422  
423 423  1) Create a folder named adr-setting
... ... @@ -442,7 +442,6 @@
442 442  
443 443  [[image:image-20220524165623-38.png]]
444 444  
445 -
446 446  5. Add the plugin and run the plugin.
447 447  
448 448  (((
... ... @@ -475,11 +475,10 @@
475 475  )))
476 476  )))
477 477  
478 -[[image:image-20220525104647-26.png]]
440 +[[image:image-20220524165659-40.png]]
479 479  
480 480  Finish.
481 481  
482 -
483 483  = 6. Trouble Shooting =
484 484  
485 485  == 6.1 MIC Mismatch or MIC Failed ==
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
image-20220531171609-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -79.4 KB
Content
image-20220531171651-2.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -86.3 KB
Content
image-20220531171809-3.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -126.4 KB
Content
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0