<
From version < 17.1 >
edited by Xiaoling
on 2022/05/24 16:41
To version < 65.1 >
edited by Xiaoling
on 2022/05/25 10:14
>
Change comment: Uploaded new attachment "image-20220525101401-12.png", version {1}

Summary

Details

Page properties
Content
... ... @@ -4,10 +4,10 @@
4 4  
5 5  = 1. Introduction =
6 6  
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/]]
7 +(% 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/]]
8 8  
9 9  (((
10 -The dragino gateway can connect the ChirpStack server via Semtech UDP or Semtech Basic Station.
10 +(% style="color:black" %)The dragino gateway can connect the ChirpStack server via Semtech UDP or Semtech Basic Station.
11 11  )))
12 12  
13 13  **Prerequisite**
... ... @@ -14,11 +14,11 @@
14 14  
15 15  1) Have a Chirstack Server.
16 16  
17 -[[image:image-20220524163736-2.png]]
17 +[[image:image-20220525100058-1.png]]
18 18  
19 -
20 20  ChirpStack home page
21 21  
21 +
22 22  2) Gateway model support
23 23  
24 24  (% class="box" %)
... ... @@ -44,19 +44,19 @@
44 44  
45 45  If the user cannot add network-Servers, re-check the ChirpStack code or the server building process.
46 46  
47 -[[image:image-20220524163926-3.png]]
47 +[[image:image-20220525100158-2.png]]
48 48  
49 49  Add the Network-servers
50 50  
51 51  == 2.2 Step 2. Create Gateway-profiles ==
52 52  
53 -[[image:image-20220524163952-4.png]]
53 +[[image:image-20220525100255-3.png]]
54 54  
55 55  Create Gateway-profiles
56 56  
57 57  == 2.3 Step 3. Create Service-profiles ==
58 58  
59 -[[image:image-20220524164008-5.png]]
59 +[[image:image-20220525100322-4.png]]
60 60  
61 61  Create Service-profiles
62 62  
... ... @@ -74,21 +74,21 @@
74 74  (% style="color:red" %)**Note : The Gateway EUI and server addresses must match the ChirpStack configuration.**
75 75  )))
76 76  
77 -[[image:image-20220524164029-6.png]]
77 +[[image:image-20220525100350-5.png]]
78 78  
79 79  Add the gateway
80 80  
81 -[[image:image-20220524164048-7.png]]
81 +[[image:image-20220525100417-6.png]]
82 82  
83 83  Configure the gateway
84 84  
85 85  == 2.5 Step 5. Checking gateway Status ==
86 86  
87 -[[image:image-20220524164104-8.png]]
87 +[[image:image-20220525100448-7.png]]
88 88  
89 89  gateway Status
90 90  
91 -[[image:https://wiki.dragino.com/images/thumb/1/11/Gateway_Status_cao_2.png/600px-Gateway_Status_cao_2.png||height="424" width="700"]]
91 +[[image:image-20220525100516-8.png]]
92 92  
93 93  gateway Status
94 94  
... ... @@ -115,14 +115,13 @@
115 115  
116 116  == 3.1 Add Gateway ==
117 117  
118 -[[image:image-20220519152235-5.png||height="338" width="699"]]
118 +[[image:image-20220524164205-10.png]]
119 119  
120 -
121 121  == 3.2 Access the gateway GUI ==
122 122  
123 123  Access the gateway GUI interface of LoRaWAN~-~->LoRaWAN ~-~- Basic Station
124 124  
125 -[[image:image-20220519151612-4.png||height="208" width="700"]]
124 +[[image:image-20220524164319-11.png]]
126 126  
127 127  User need to Choose the ChirpStack/Senet ~-~- Basic Station , input Server URI and Upload the TLS Certificate
128 128  
... ... @@ -136,7 +136,7 @@
136 136  )))
137 137  
138 138  (% class="wikigeneratedid" %)
139 -[[image:image-20220519153027-6.png||height="371" width="704"]]
138 +[[image:image-20220524164341-12.png]]
140 140  
141 141  == 3.3 Start Station ==
142 142  
... ... @@ -146,31 +146,31 @@
146 146  
147 147  If user completes the above steps, which will see live date in the ChirpStack.
148 148  
149 -[[image:image-20220519154215-7.png||height="400" width="707"]]
148 +[[image:image-20220524164448-13.png]]
150 150  
151 151  == 3.5 Trouble Shooting ==
152 152  
153 153  User can check the station log in the logread/system log page.
154 154  
155 -[[image:https://wiki.dragino.com/images/thumb/7/7c/Station_log_xiao.png/600px-Station_log_xiao.png]]
154 +[[image:image-20220524164514-14.png]]
156 156  
157 157  and recode the station log in the system/Recode log page.
158 158  
159 -[[image:https://wiki.dragino.com/images/thumb/5/50/Recore_log_xiao.png/600px-Recore_log_xiao.png]]
158 +[[image:image-20220524164541-15.png]]
160 160  
161 161  = 4. Downlink =
162 162  
163 163  == 4.1 Chirpstack Downlink Note ==
164 164  
165 -[[image:https://wiki.dragino.com/images/thumb/b/ba/ChirpStack_Down_5.png/600px-ChirpStack_Down_5.png||height="342" width="700"]]
164 +[[image:image-20220525101223-9.png]]
166 166  
167 167  Convert the data to Base64
168 168  
169 -[[image:https://wiki.dragino.com/images/thumb/2/2c/ChirpStack_Down_6.png/600px-ChirpStack_Down_6.png||height="349" width="697"]]
168 +[[image:image-20220525101247-10.png]]
170 170  
171 171  Check ChripStack downlink DataRate
172 172  
173 -[[image:https://wiki.dragino.com/images/thumb/d/dc/ChirpStack_Down_7.png/600px-ChirpStack_Down_7.png||height="711" width="600"]]
172 +[[image:image-20220524164724-18.png]]
174 174  
175 175  Make sure the RX2DR is the same in the end node
176 176  
... ... @@ -190,7 +190,7 @@
190 190  User name: User name Password: password
191 191  )))
192 192  
193 -[[image:https://wiki.dragino.com/images/thumb/0/06/ChirpStack_Down_1.png/600px-ChirpStack_Down_1.png||height="578" width="600"]]
192 +[[image:image-20220524164806-19.png]]
194 194  
195 195  (((
196 196  MQTT Connect to ChirpStack
... ... @@ -215,7 +215,7 @@
215 215  Payload: {"confirmed":true,"fPort":2,"data":"AwEB"}
216 216  )))
217 217  
218 -[[image:https://wiki.dragino.com/images/thumb/c/c8/ChirpStack_Down_2.png/600px-ChirpStack_Down_2.png||height="342" width="600"]]
217 +[[image:image-20220524164829-20.png]]
219 219  
220 220  MQTT Connect to ChirpStack
221 221  
... ... @@ -223,13 +223,13 @@
223 223  (% 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/]]
224 224  )))
225 225  
226 -[[image:https://wiki.dragino.com/images/thumb/f/f8/ChirpStack_Down_3.png/600px-ChirpStack_Down_3.png||height="309" width="600"]]
225 +[[image:image-20220524164849-21.png]]
227 227  
228 228  Choose to Use Hex for Encode
229 229  
230 230  If we want send downstream hex 030101 to end node, the BASE64 payload is AwEB
231 231  
232 -[[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"]]
231 +[[image:image-20220524164907-22.png]]
233 233  
234 234  (((
235 235  Downlink payload encode javescript code: 可以在网站上运行以下Javsscript代码:
... ... @@ -296,13 +296,13 @@
296 296  
297 297  User enters the payload code according to the steps.
298 298  
299 -[[image:https://wiki.dragino.com/images/thumb/9/9f/Step2.png/600px-Step2.png||alt="Step2.png" height="224" width="600"]]
298 +[[image:image-20220524165001-23.png]]
300 300  
301 -[[image:https://wiki.dragino.com/images/thumb/0/08/Step3.png/600px-Step3.png||alt="Step3.png" height="289" width="600"]]
300 +[[image:image-20220524165028-24.png]]
302 302  
303 -[[image:https://wiki.dragino.com/images/thumb/8/83/Step6.png/600px-Step6.png||alt="Step6.png" height="259" width="600"]]
302 +[[image:image-20220524165100-25.png]]
304 304  
305 -[[image:https://wiki.dragino.com/images/thumb/4/4f/Step5.png/600px-Step5.png||alt="Step5.png" height="221" width="600"]]
304 +[[image:image-20220524165116-26.png]]
306 306  
307 307  = 5. Multiply Uplink in ChirpStack =
308 308  
... ... @@ -314,13 +314,13 @@
314 314  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]]
315 315  )))
316 316  
317 -[[image:https://wiki.dragino.com/images/thumb/6/63/Nbtrans_1.png/600px-Nbtrans_1.png||alt="Nbtrans 1.png" height="103" width="600"]]
316 +[[image:image-20220524165141-27.png]]
318 318  
319 319  (((
320 320  nbtrans is a field of ADR message, in unconfirm mode, it tells end node how many time it needs to transmit for every frame.
321 321  )))
322 322  
323 -[[image:https://wiki.dragino.com/images/thumb/1/17/Nbtrans_2.png/300px-Nbtrans_2.png||alt="Nbtrans 2.png" height="462" width="300"]]
322 +[[image:image-20220524165158-28.png]]
324 324  
325 325  (((
326 326  Above behaviour will cause the platform shows below two cases of error:
... ... @@ -330,11 +330,11 @@
330 330  Error of duplicate Frame Counter
331 331  )))
332 332  
333 -[[image:https://wiki.dragino.com/images/7/7e/Nbtrans_3.png||alt="Nbtrans 3.png" height="677" width="600"]]
332 +[[image:image-20220524165301-29.png]]
334 334  
335 335  Duplicate transmission in short time
336 336  
337 -[[image:https://wiki.dragino.com/images/thumb/c/c4/Nbtrans_4.png/600px-Nbtrans_4.png||alt="Nbtrans 4.png" height="301" width="600"]]
336 +[[image:image-20220524165319-30.png]]
338 338  
339 339  == 5.1 Solution ==
340 340  
... ... @@ -344,11 +344,11 @@
344 344  ~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.
345 345  )))
346 346  
347 -[[image:https://wiki.dragino.com/images/3/37/Chirpstacksolution-1.png||alt="Chirpstacksolution-1.png" height="199" width="554"]]
346 +[[image:image-20220524165339-31.png]]
348 348  
349 349  installation path:
350 350  
351 -[[image:https://wiki.dragino.com/images/c/ca/Chirpstacksolution-2.png||alt="Chirpstacksolution-2.png" height="283" width="361"]]
350 +[[image:image-20220524165400-32.png]]
352 352  
353 353  (((
354 354  2. Environment variable settings:.
... ... @@ -362,25 +362,25 @@
362 362  2)Set the variable name GOROOT and the variable value C:\Go\ (installation directory)
363 363  )))
364 364  
365 -[[image:https://wiki.dragino.com/images/f/f9/Chirpstacksolution-3.png||alt="Chirpstacksolution-3.png" height="152" width="554"]]
364 +[[image:image-20220524165433-33.png]]
366 366  
367 367  3)Modify the system variable Path and add C:\Go\bin\:
368 368  
369 -[[image:https://wiki.dragino.com/images/1/1b/Chirpstacksolution-4.png||alt="Chirpstacksolution-4.png" height="152" width="554"]]
368 +[[image:image-20220524165452-34.png]]
370 370  
371 371  User variable setting file generation directory: D:\go:
372 372  
373 -[[image:https://wiki.dragino.com/images/9/9b/Chirpstacksolution-5.png||alt="Chirpstacksolution-5.png" height="278" width="371"]]
372 +[[image:image-20220524165517-35.png]]
374 374  
375 375  3. Modify the ADR configuration file according to your own needs, adr.setting.go is an example of the ADR configuration file.
376 376  
377 377  The name of the plugin: Example ADR plugin:
378 378  
379 -[[image:https://wiki.dragino.com/images/1/12/Chirpstacksolution-6.jpg||alt="Chirpstacksolution-6.jpg" height="89" width="554"]]
378 +[[image:image-20220524165540-36.png]]
380 380  
381 381  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.
382 382  
383 -[[image:https://wiki.dragino.com/images/2/25/Chirpstacksolution-7.png||alt="Chirpstacksolution-7.png" height="98" width="426"]]
382 +[[image:image-20220524165557-37.png]]
384 384  
385 385  4. Compile the ADR configuration file and generate the exe file.
386 386  
... ... @@ -404,7 +404,7 @@
404 404  
405 405  5) Finally generate this file:
406 406  
407 -[[image:https://wiki.dragino.com/images/6/66/Chirpstacksolution-8.png||alt="Chirpstacksolution-8.png" height="96" width="554"]]
406 +[[image:image-20220524165623-38.png]]
408 408  
409 409  5. Add the plugin and run the plugin.
410 410  
... ... @@ -412,7 +412,7 @@
412 412  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:
413 413  )))
414 414  
415 -[[image:https://wiki.dragino.com/images/8/82/Chirpstacksolution-9.png||alt="Chirpstacksolution-9.png" height="73" width="554"]]
414 +[[image:image-20220524165641-39.png]]
416 416  
417 417  (((
418 418  (((
... ... @@ -438,7 +438,7 @@
438 438  )))
439 439  )))
440 440  
441 -[[image:https://wiki.dragino.com/images/3/39/Chirpstacksolution-10.png||alt="Chirpstacksolution-10.png" height="275" width="554"]]
440 +[[image:image-20220524165659-40.png]]
442 442  
443 443  Finish.
444 444  
image-20220524164205-10.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +144.4 KB
Content
image-20220524164319-11.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +38.1 KB
Content
image-20220524164341-12.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +61.6 KB
Content
image-20220524164448-13.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +88.0 KB
Content
image-20220524164514-14.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +130.2 KB
Content
image-20220524164541-15.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +25.0 KB
Content
image-20220524164613-16.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +32.9 KB
Content
image-20220524164632-17.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +74.1 KB
Content
image-20220524164724-18.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +147.6 KB
Content
image-20220524164806-19.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +87.7 KB
Content
image-20220524164829-20.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +42.4 KB
Content
image-20220524164849-21.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +108.8 KB
Content
image-20220524164907-22.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +51.3 KB
Content
image-20220524165001-23.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +17.6 KB
Content
image-20220524165028-24.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +30.1 KB
Content
image-20220524165100-25.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +57.0 KB
Content
image-20220524165116-26.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +29.1 KB
Content
image-20220524165141-27.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +24.2 KB
Content
image-20220524165158-28.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +96.7 KB
Content
image-20220524165301-29.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +64.0 KB
Content
image-20220524165319-30.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +39.5 KB
Content
image-20220524165339-31.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +45.8 KB
Content
image-20220524165400-32.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +24.5 KB
Content
image-20220524165433-33.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +11.7 KB
Content
image-20220524165452-34.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +19.9 KB
Content
image-20220524165517-35.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +50.0 KB
Content
image-20220524165540-36.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +56.0 KB
Content
image-20220524165557-37.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +12.1 KB
Content
image-20220524165623-38.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +25.6 KB
Content
image-20220524165641-39.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +23.6 KB
Content
image-20220524165659-40.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +23.9 KB
Content
image-20220525100058-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +66.6 KB
Content
image-20220525100158-2.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +52.2 KB
Content
image-20220525100255-3.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +60.1 KB
Content
image-20220525100322-4.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +91.1 KB
Content
image-20220525100350-5.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +79.8 KB
Content
image-20220525100417-6.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +86.3 KB
Content
image-20220525100448-7.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +77.4 KB
Content
image-20220525100516-8.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +126.2 KB
Content
image-20220525101223-9.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +36.4 KB
Content
image-20220525101247-10.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +91.0 KB
Content
image-20220525101326-11.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +120.2 KB
Content
image-20220525101401-12.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +93.1 KB
Content
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0