Changes for page Notes for ChirpStack
Last modified by Kilight Cao on 2024/09/24 15:23
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 1 removed)
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 == ... ... @@ -103,7 +103,6 @@ 103 103 104 104 gateway Status 105 105 106 - 107 107 = 3. Gateway Registration for Basics Station = 108 108 109 109 == Introduction == ... ... @@ -125,12 +125,10 @@ 125 125 126 126 A gateway that can access the internet normally 127 127 128 - 129 129 == 3.1 Add Gateway == 130 130 131 131 [[image:image-20220524164205-10.png]] 132 132 133 - 134 134 == 3.2 Access the gateway GUI == 135 135 136 136 Access the gateway GUI interface of LoRaWAN~-~->LoRaWAN ~-~- Basic Station ... ... @@ -151,12 +151,10 @@ 151 151 (% class="wikigeneratedid" %) 152 152 [[image:image-20220524164341-12.png]] 153 153 154 - 155 155 == 3.3 Start Station == 156 156 157 157 When the user has finished the configuration, Please click Sace&Apply to start station to connect ChirpStack 158 158 159 - 160 160 == 3.4 Successful Connection == 161 161 162 162 If user completes the above steps, which will see live date in the ChirpStack. ... ... @@ -163,7 +163,6 @@ 163 163 164 164 [[image:image-20220524164448-13.png]] 165 165 166 - 167 167 == 3.5 Trouble Shooting == 168 168 169 169 User can check the station log in the logread/system log page. ... ... @@ -170,12 +170,10 @@ 170 170 171 171 [[image:image-20220524164514-14.png]] 172 172 173 - 174 174 and recode the station log in the system/Recode log page. 175 175 176 176 [[image:image-20220524164541-15.png]] 177 177 178 - 179 179 = 4. Downlink = 180 180 181 181 == 4.1 Chirpstack Downlink Note == ... ... @@ -184,17 +184,14 @@ 184 184 185 185 Convert the data to Base64 186 186 187 - 188 188 [[image:image-20220526090748-4.png]] 189 189 190 190 Check ChripStack downlink DataRate 191 191 192 - 193 193 [[image:image-20220525101326-11.png]] 194 194 195 195 Make sure the RX2DR is the same in the end node 196 196 197 - 198 198 == 4.2 Loraserver Downlink Note == 199 199 200 200 User can use MQTT to send downlink payload to ChirpStack to perform downstream to LoRaWAN End ... ... @@ -215,8 +215,6 @@ 215 215 216 216 ((( 217 217 MQTT Connect to ChirpStack 218 - 219 - 220 220 ))) 221 221 222 222 ((( ... ... @@ -242,7 +242,6 @@ 242 242 243 243 MQTT Connect to ChirpStack 244 244 245 - 246 246 ((( 247 247 (% 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/]] 248 248 ))) ... ... @@ -251,7 +251,6 @@ 251 251 252 252 Choose to Use Hex for Encode 253 253 254 - 255 255 If we want send downstream hex 030101 to end node, the BASE64 payload is AwEB 256 256 257 257 [[image:image-20220525104025-15.png]] ... ... @@ -317,7 +317,6 @@ 317 317 AwAA is 0x030000's base 64 Encode. 318 318 ))) 319 319 320 - 321 321 == 4.3 Add the decode function in Chirpstack for the payload == 322 322 323 323 User enters the payload code according to the steps. ... ... @@ -329,9 +329,8 @@ 329 329 330 330 [[image:image-20220526091602-5.png]] 331 331 332 -[[image:image-2022052 6091801-6.png]]311 +[[image:image-20220525104258-19.png]] 333 333 334 - 335 335 = 5. Multiply Uplink in ChirpStack = 336 336 337 337 ((( ... ... @@ -342,7 +342,7 @@ 342 342 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]] 343 343 ))) 344 344 345 -[[image:image-2022052 6091912-7.png]]323 +[[image:image-20220525104328-20.png]] 346 346 347 347 ((( 348 348 nbtrans is a field of ADR message, in unconfirm mode, it tells end node how many time it needs to transmit for every frame. ... ... @@ -360,12 +360,10 @@ 360 360 361 361 [[image:image-20220525104437-22.png]] 362 362 363 - 364 364 Duplicate transmission in short time 365 365 366 366 [[image:image-20220525104502-23.png]] 367 367 368 - 369 369 == 5.1 Solution == 370 370 371 371 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]] ... ... @@ -376,12 +376,10 @@ 376 376 377 377 [[image:image-20220525104532-24.png]] 378 378 379 - 380 380 installation path: 381 381 382 382 [[image:image-20220525104554-25.png]] 383 383 384 - 385 385 ((( 386 386 2. Environment variable settings:. 387 387 ))) ... ... @@ -396,7 +396,6 @@ 396 396 397 397 [[image:image-20220524165433-33.png]] 398 398 399 - 400 400 3)Modify the system variable Path and add C:\Go\bin\: 401 401 402 402 [[image:image-20220524165452-34.png]] ... ... @@ -405,7 +405,6 @@ 405 405 406 406 [[image:image-20220524165517-35.png]] 407 407 408 - 409 409 3. Modify the ADR configuration file according to your own needs, adr.setting.go is an example of the ADR configuration file. 410 410 411 411 The name of the plugin: Example ADR plugin:
- image-20220526091912-7.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -94.9 KB - Content