Changes for page Notes for ChirpStack
Last modified by Edwin Chen on 2025/01/30 09:53
Change comment:
Uploaded new attachment "image-20221230094246-1.png", version {1}
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 4 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -38,7 +38,6 @@ 38 38 ))) 39 39 40 40 41 - 42 42 = 2. Semtech UDP = 43 43 44 44 == 2.1 Step 1. Add the Network-servers == ... ... @@ -61,7 +61,6 @@ 61 61 Add the Network-servers 62 62 63 63 64 - 65 65 == 2.2 Step 2. Create Gateway-profiles == 66 66 67 67 ... ... @@ -70,7 +70,6 @@ 70 70 Create Gateway-profiles 71 71 72 72 73 - 74 74 == 2.3 Step 3. Create Service-profiles == 75 75 76 76 ... ... @@ -86,7 +86,6 @@ 86 86 If the user has completed the preceding steps, proceed to the next step.(% style="display:none" %) 87 87 88 88 89 - 90 90 == 2.4 Step 4. Add the gateway == 91 91 92 92 ... ... @@ -109,7 +109,6 @@ 109 109 Configure the gateway 110 110 111 111 112 - 113 113 == 2.5 Step 5. Checking gateway Status == 114 114 115 115 ... ... @@ -124,7 +124,6 @@ 124 124 gateway Status 125 125 126 126 127 - 128 128 = 3. Gateway Registration for Basics Station = 129 129 130 130 == 3.1 Introduction == ... ... @@ -206,11 +206,27 @@ 206 206 [[image:image-20220531172857-9.png]] 207 207 208 208 209 -= 4. How the gateway connects to Chirpstack v4 via gateway-bridge = 203 += 4. How the gateway connects to Chirpstack v4 via gateway-bridge = 210 210 211 211 212 - ===4.1 ConfigurePacketForwarder===206 +(% style="color:blue" %)**Below list the support products and Requirements:** 213 213 208 +1. LoRaWAN Gateway model: [[LIG16>>url:http://www.dragino.com/products/lora-lorawan-gateway/item/171-lig16.html]], [[LG308>>url:http://www.dragino.com/products/lora-lorawan-gateway/item/140-lg308.html]], [[DLOS8>>url:http://www.dragino.com/products/lora-lorawan-gateway/item/160-dlos8.html]] ,[[LPS8>>url:http://www.dragino.com/products/lora-lorawan-gateway/item/148-lps8.html]],[[LPS8N>>url:https://www.dragino.com/products/lora-lorawan-gateway/item/200-lps8n.html]],[[LG308N>>url:https://www.dragino.com/products/lora-lorawan-gateway/item/229-lg308n.html]],[[DLOS8N>>url:https://www.dragino.com/products/lora-lorawan-gateway/item/225-dlos8n.html]] 209 +1. Firmware version since: [[Chirpstack-gateway-bridge>>url:https://www.dragino.com/downloads/index.php?dir=LoRa_Gateway/LPS8/Firmware/Release/Chirpstack-gateway-bridge/]] 210 + 211 +(% style="color:blue" %)**How to set up chirpStack Gateway-bridge** 212 + 213 +Users can check out the ChirpStack gateway-bridge v4 [[link>>https://www.chirpstack.io/docs/chirpstack-gateway-bridge/install/dragino.html]] 214 + 215 + 216 +(% style="color:blue" %)**What do you need to prepare** 217 + 218 +A gateway that can access the internet normally 219 + 220 + 221 +== 4.1 Configure Packet Forwarder == 222 + 223 + 214 214 In the Dragino gateway web interface, you need to configure the Packet Forwarder so that it forwards its data to the port. localhost:1700 or 127.0.0.1:1700 215 215 216 216 * In the **LoRaWAN** menu, click on **LoRaWAN ~-~- Semtech UDP** ... ... @@ -225,13 +225,67 @@ 225 225 [[image:image-20221222114220-2.png||height="748" width="931"]] 226 226 227 227 228 -4.2 238 +== 4.2 Configuring gateway frequency == 229 229 240 + 241 +(% style="color:red" %)**Note: Gateway frequencies must match** 242 + 243 +[[image:image-20221222134830-3.png||height="408" width="923"]] 244 + 245 + 246 +== 4.3 Modify the gateway-bridge configuration file == 247 + 248 + 249 +Run the gateway command line command to modify the gateway-bridge configuration file: 250 + 251 +(% class="box infomessage" %) 252 +((( 253 +root@dragino-1d27d4:~~# vim /etc/chirpstack-gateway-bridge/chirpstack-gateway-bridge.toml 254 +))) 255 + 230 230 [[image:image-20221222113302-1.png]] 231 231 258 + 259 +[[image:image-20221222140203-4.png||height="875" width="806"]] 260 + 261 + 262 +(% class="wikigeneratedid" id="H" %) 263 +After the modification, run the following command: **/etc/init.d/chirpstack-gateway-bridge restart** 264 + 265 + 266 +== 4.4 (Re)start and stop gateway-bridge == 267 + 268 + 269 +Use the following commands to (re)start and stop the ChirpStack Gateway Bridge Service: 270 + 271 +(% class="box infomessage" %) 272 +((( 273 +**# start** 274 + 275 +/etc/init.d/chirpstack-gateway-bridge start 276 + 277 +**# stop** 278 + 279 +/etc/init.d/chirpstack-gateway-bridge stop 280 + 281 +**# restart** 282 + 283 +/etc/init.d/chirpstack-gateway-bridge restart 284 +))) 285 + 286 + 287 +== 4.5 Successful Connection == 288 + 289 + 290 +[[image:image-20221222141754-5.png||height="488" width="1150"]] 291 + 292 + 293 +[[image:image-20221222141830-6.png||height="582" width="1153"]] 294 + 295 + 232 232 = 5. Downlink = 233 233 234 -== 5.1 Convert HEX to Base64 == 298 +== 5.1 Convert HEX to Base64 == 235 235 236 236 237 237 (% style="color:red" %)**Note: Chirpstack uses base64 to downlink, the end node user manual provides HEX format of the downlink commands. So user needs to convert the HEX to Base64.** ... ... @@ -385,7 +385,6 @@ 385 385 ))) 386 386 387 387 388 - 389 389 == 4.3 Add the decode function in Chirpstack for the payload == 390 390 391 391 ... ... @@ -445,7 +445,6 @@ 445 445 [[image:image-20220601102430-1.png||height="598" width="1319"]] 446 446 447 447 448 - 449 449 == 6.1 Solution == 450 450 451 451 ... ... @@ -628,4 +628,8 @@ 628 628 629 629 ((( 630 630 Under normal circumstances, users need to change the APPKEY to solve this problem. 693 + 694 + 695 + 696 + 631 631 )))
- image-20221222140203-4.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +91.4 KB - Content
- image-20221222141754-5.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +179.1 KB - Content
- image-20221222141830-6.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +116.7 KB - Content
- image-20221230094246-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Kilight - Size
-
... ... @@ -1,0 +1,1 @@ 1 +84.9 KB - Content