Changes for page Notes for ChirpStack
Last modified by Edwin Chen on 2025/01/30 09:53
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 26 removed)
- image-20220525100516-8.png
- image-20220525101223-9.png
- image-20220525101247-10.png
- image-20220525101326-11.png
- image-20220525101401-12.png
- image-20220525101436-13.png
- image-20220525101505-14.png
- image-20220525104025-15.png
- image-20220525104051-16.png
- image-20220525104155-17.png
- image-20220525104223-18.png
- image-20220525104258-19.png
- image-20220525104328-20.png
- image-20220525104359-21.png
- image-20220525104437-22.png
- image-20220525104502-23.png
- image-20220525104532-24.png
- image-20220525104554-25.png
- image-20220525104647-26.png
- image-20220526085155-1.png
- image-20220526085310-2.png
- image-20220526090446-3.png
- image-20220526090748-4.png
- image-20220526091602-5.png
- image-20220526091801-6.png
- image-20220526091912-7.png
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 == ... ... @@ -53,7 +53,6 @@ 53 53 54 54 Add the Network-servers 55 55 56 - 57 57 == 2.2 Step 2. Create Gateway-profiles == 58 58 59 59 [[image:image-20220525100255-3.png]] ... ... @@ -60,7 +60,6 @@ 60 60 61 61 Create Gateway-profiles 62 62 63 - 64 64 == 2.3 Step 3. Create Service-profiles == 65 65 66 66 [[image:image-20220525100322-4.png]] ... ... @@ -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,9 +82,8 @@ 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-20220525100350-5.png]] 86 86 87 - 88 88 Add the gateway 89 89 90 90 [[image:image-20220525100417-6.png]] ... ... @@ -91,15 +91,13 @@ 91 91 92 92 Configure the gateway 93 93 94 - 95 95 == 2.5 Step 5. Checking gateway Status == 96 96 97 -[[image:image-2022052 5100448-7.png]](% style="display:none" %)87 +[[image:image-20220524164104-8.png]] 98 98 99 - 100 100 gateway Status 101 101 102 -[[image:image-2022052 6090446-3.png||height="653" width="1218"]]91 +[[image:image-20220524164129-9.png]] 103 103 104 104 gateway Status 105 105 ... ... @@ -172,15 +172,15 @@ 172 172 173 173 == 4.1 Chirpstack Downlink Note == 174 174 175 -[[image:image-2022052 5101223-9.png]]164 +[[image:image-20220524164613-16.png]] 176 176 177 177 Convert the data to Base64 178 178 179 -[[image:image-20220526 090748-4.png]]168 +[[image:image-20220524164632-17.png]] 180 180 181 181 Check ChripStack downlink DataRate 182 182 183 -[[image:image-2022052 5101326-11.png]]172 +[[image:image-20220524164724-18.png]] 184 184 185 185 Make sure the RX2DR is the same in the end node 186 186 ... ... @@ -200,7 +200,7 @@ 200 200 User name: User name Password: password 201 201 ))) 202 202 203 -[[image:image-2022052 5101401-12.png]]192 +[[image:image-20220524164806-19.png]] 204 204 205 205 ((( 206 206 MQTT Connect to ChirpStack ... ... @@ -225,7 +225,7 @@ 225 225 Payload: {"confirmed":true,"fPort":2,"data":"AwEB"} 226 226 ))) 227 227 228 -[[image:image-2022052 5101436-13.png]]217 +[[image:image-20220524164829-20.png]] 229 229 230 230 MQTT Connect to ChirpStack 231 231 ... ... @@ -233,13 +233,13 @@ 233 233 (% 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/]] 234 234 ))) 235 235 236 -[[image:image-2022052 5101505-14.png]]225 +[[image:image-20220524164849-21.png]] 237 237 238 238 Choose to Use Hex for Encode 239 239 240 240 If we want send downstream hex 030101 to end node, the BASE64 payload is AwEB 241 241 242 -[[image:image-2022052 5104025-15.png]]231 +[[image:image-20220524164907-22.png]] 243 243 244 244 ((( 245 245 Downlink payload encode javescript code: 可以在网站上运行以下Javsscript代码: ... ... @@ -306,15 +306,14 @@ 306 306 307 307 User enters the payload code according to the steps. 308 308 309 -[[image:image-2022052 5104051-16.png]]298 +[[image:image-20220524165001-23.png]] 310 310 311 -[[image:image-2022052 5104155-17.png]]300 +[[image:image-20220524165028-24.png]] 312 312 302 +[[image:image-20220524165100-25.png]] 313 313 314 -[[image:image-20220526 091602-5.png]]304 +[[image:image-20220524165116-26.png]] 315 315 316 -[[image:image-20220526091801-6.png]] 317 - 318 318 = 5. Multiply Uplink in ChirpStack = 319 319 320 320 ((( ... ... @@ -325,13 +325,13 @@ 325 325 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]] 326 326 ))) 327 327 328 -[[image:image-20220526 091912-7.png]]316 +[[image:image-20220524165141-27.png]] 329 329 330 330 ((( 331 331 nbtrans is a field of ADR message, in unconfirm mode, it tells end node how many time it needs to transmit for every frame. 332 332 ))) 333 333 334 -[[image:image-202205251 04359-21.png]]322 +[[image:image-20220524165158-28.png]] 335 335 336 336 ((( 337 337 Above behaviour will cause the platform shows below two cases of error: ... ... @@ -341,11 +341,11 @@ 341 341 Error of duplicate Frame Counter 342 342 ))) 343 343 344 -[[image:image-2022052 5104437-22.png]]332 +[[image:image-20220524165301-29.png]] 345 345 346 346 Duplicate transmission in short time 347 347 348 -[[image:image-2022052 5104502-23.png]]336 +[[image:image-20220524165319-30.png]] 349 349 350 350 == 5.1 Solution == 351 351 ... ... @@ -355,11 +355,11 @@ 355 355 ~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. 356 356 ))) 357 357 358 -[[image:image-2022052 5104532-24.png]]346 +[[image:image-20220524165339-31.png]] 359 359 360 360 installation path: 361 361 362 -[[image:image-2022052 5104554-25.png]]350 +[[image:image-20220524165400-32.png]] 363 363 364 364 ((( 365 365 2. Environment variable settings:. ... ... @@ -449,7 +449,7 @@ 449 449 ))) 450 450 ))) 451 451 452 -[[image:image-2022052 5104647-26.png]]440 +[[image:image-20220524165659-40.png]] 453 453 454 454 Finish. 455 455
- 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