Changes for page End Device AT Commands and Downlink Command
Last modified by kai on 2024/09/06 10:00
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -14,35 +14,31 @@ 14 14 15 15 ((( 16 16 **This page shows the common commands since Dragino LoRaWAN stack DR-LWS-005. Make sure the end node support stack higher than DR-LWS-005 before checking this page.** 17 - 18 - 19 - 20 20 ))) 21 21 19 + 22 22 = 2. How to use AT Commands or Downlink command = 23 23 24 24 25 -* ForAT Command,See Devices User Manual forDevice. The user manual can be found in each product page of [[Dragino Official Website>>url:http://www.dragino.com/]]26 -* ForLoRaWAN Downlink: The gateway transfer downlink command in HEX format. This page shows theHEX format downlinkcodefor eachcommand. but some servers use base64 as downlink code. Below are reference for how to use downlink command:23 +* **AT Command** : See Devices User Manual for how to connect to device via USB TTL adapter and use. The user manual can be found in each product page of [[Dragino Official Website>>url:http://www.dragino.com/]] 24 +* **LoRaWAN Downlink Command**: The gateway transfer downlink command in HEX format. This page shows the Downlink Command In HEX format. Please note some LoRaWAN servers use base64 as downlink code so user need to convert HEX to Base64 and use. Below are references for how to use downlink command: 27 27 ** Use HEX format to send a downlink: [[TTN v3>>Notes for TTN]] 28 28 ** Use Base64 format to send a downlink: [[Chirpstack>>Notes for ChirpStack]], [[How to Convert>>http://wiki.dragino.com/xwiki/bin/view/Main/Notes%20for%20ChirpStack/#H4.1ConvertHEXtoBase64]]? 29 29 ** See use note for more serves [[Servers Note>>doc:Main.WebHome]](IoT LoRaWAN Server) 30 30 29 +(% style="display:none" %) (%%) 31 31 32 - 33 - 34 34 = 3. Support End Node and firmware version = 35 35 36 36 37 -(% border="1" style="background-color:#ffffcc; color:green; width:966px" %) 38 -|=(% colspan="3" style="width: 963px;" %)((( 39 39 Dragino STM32 base hardware Firmware / LoRaWAN stack list 40 -))) 41 -|(% style="width:187px" %)((( 35 + 36 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:966px" %) 37 +|(% style="background-color:#4f81bd; color:white; width:187px" %)((( 42 42 **Model** 43 -)))|(% style="width:330px" %)((( 39 +)))|(% style="background-color:#4f81bd; color:white; width:330px" %)((( 44 44 **Description** 45 -)))|(% style="width:445px" %)((( 41 +)))|(% style="background-color:#4f81bd; color:white; width:445px" %)((( 46 46 **Firmware Version <~-~-> Stack Version** 47 47 ))) 48 48 |(% style="width:187px" %)((( ... ... @@ -105,9 +105,8 @@ 105 105 ))) 106 106 ))) 107 107 104 +(% style="display:none" %) (%%) 108 108 109 - 110 - 111 111 = 4. System Management Commands = 112 112 113 113 == 4.1 Change Uplink Interval == ... ... @@ -118,9 +118,8 @@ 118 118 119 119 (% style="color:blue" %)**AT Command: AT+TDC** 120 120 121 -(% border="1" style="background-color:#ffffcc; color:green; width:727.222px" %) 122 -|=(% colspan="3" style="width: 724px;" %)AT+TDC 123 -|(% style="width:165px" %)**Command Example**|(% style="width:227px" %)**Function**|(% style="width:329px" %)**Response** 116 +(% border="1" style="background-color:#f2f2f2; width:727.222px" %) 117 +|(% style="background-color:#4f81bd; color:white; width:165px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:227px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:329px" %)**Response** 124 124 |(% style="width:165px" %)AT+TDC=?|(% style="width:227px" %)Show current transmit Interval|(% style="width:329px" %)30000((( 125 125 OK 126 126 ... ... @@ -131,8 +131,6 @@ 131 131 ))) 132 132 133 133 ((( 134 - 135 - 136 136 (% style="color:blue" %)**Downlink Command: 0x01** 137 137 138 138 Format: Command Code (0x01) followed by 3 bytes time value. ... ... @@ -145,9 +145,8 @@ 145 145 * **Example 1**: Downlink Payload:** 0100001E** ~/~/ Set Transmit Interval (TDC) = 30 seconds 146 146 * **Example 2**: Downlink Payload:** 0100003C** ~/~/ Set Transmit Interval (TDC) = 60 seconds 147 147 140 +(% style="display:none" %) (%%) 148 148 149 - 150 - 151 151 == 4.2 Reboot End Node == 152 152 153 153 ... ... @@ -154,11 +154,10 @@ 154 154 Feature: Reboot End Node to perform a new OTAA or ABP Join. 155 155 156 156 157 -(% style="color:blue" %)**AT Command: ATZ** 148 +(% style="color:blue" %)**AT Command: ATZ ~/~/ **(%%)Trig a reset of the MCU 158 158 159 -(% border="1" style="background-color:#ffffcc; color:green; width:546px" %) 160 -|=(% colspan="3" style="width: 543px;" %)ATZ: Trig a reset of the MCU 161 -|(% style="width:157px" %)**Command Example**|(% style="width:92px" %)**Function**|(% style="width:294px" %)**Response** 150 +(% border="1" style="background-color:#f2f2f2; width:546px" %) 151 +|(% style="background-color:#4f81bd; color:white; width:157px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:92px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:294px" %)**Response** 162 162 |(% style="width:157px" %)ATZ|(% style="width:92px" %)Reset MCU|(% style="width:294px" %)((( 163 163 Device reset and show booting info 164 164 ... ... @@ -180,12 +180,10 @@ 180 180 ))) 181 181 182 182 ((( 183 -If the downlink payload=**04FF**, the end node will reboot. 184 - 185 - 186 - 173 +If the downlink payload=**04FF**, the end node will reboot. 187 187 ))) 188 188 176 + 189 189 == 4.3 Reset to factory Default == 190 190 191 191 ... ... @@ -192,11 +192,10 @@ 192 192 Feature: Reset the parameters to Factory Default, factory default value depends on the firmware settings, the OTAA and ABP keys will reserve after this command. 193 193 194 194 195 -(% style="color:blue" %)**AT Command: AT+FDR** 183 +(% style="color:blue" %)**AT Command: AT+FDR ~/~/ **(%%)Reset to factory default 196 196 197 -(% border="1" style="background-color:#ffffcc; color:green; width:789px" %) 198 -|=(% colspan="3" style="width: 786px;" %)Reset to factory default 199 -|(% style="width:154px" %)**Command Example**|(% style="width:175px" %)**Function**|(% style="width:456px" %)**Response** 185 +(% border="1" style="background-color:#f2f2f2; width:789px" %) 186 +|(% style="background-color:#4f81bd; color:white; width:154px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:175px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:456px" %)**Response** 200 200 |(% style="width:154px" %)AT+FDR|(% style="width:175px" %)Reset to factory default|(% style="width:456px" %)((( 201 201 Device reset to factory default parameters and show booting info 202 202 ... ... @@ -222,7 +222,6 @@ 222 222 ))) 223 223 224 224 225 - 226 226 == 4.4 Show Firmware Version == 227 227 228 228 ... ... @@ -229,11 +229,10 @@ 229 229 Feature: Show firmware version. No downlink command yet. 230 230 231 231 232 -(% style="color:blue" %)**AT Command: AT+VER** 218 +(% style="color:blue" %)**AT Command: AT+VER ~/~/ **(%%)Image Version and Frequency Band 233 233 234 -(% border="1" style="background-color:#ffffcc; color:green; width:542px" %) 235 -|=(% colspan="3" style="width: 539px;" %)AT+VER: Image Version and Frequency Band 236 -|(% style="width:157px" %)**Command Example**|(% style="width:295px" %)**Function**|(% style="width:86px" %)**Response** 220 +(% border="1" style="background-color:#f2f2f2; width:542px" %) 221 +|(% style="background-color:#4f81bd; color:white; width:157px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:295px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:86px" %)**Response** 237 237 |(% style="width:157px" %)AT+VER=?|(% style="width:295px" %)Show Image version and Frequency Band|(% style="width:86px" %)((( 238 238 1.3 EU868 239 239 ... ... @@ -253,8 +253,7 @@ 253 253 ((( 254 254 255 255 256 - 257 -**xx: Software Type:** 241 +(% style="color:#037691" %)**xx: Software Type:** 258 258 ))) 259 259 260 260 * 0x00 01: LGT92 Version ... ... @@ -264,7 +264,7 @@ 264 264 ((( 265 265 266 266 267 -**yy: Frequency Band:** 251 +(% style="color:#037691" %)**yy: Frequency Band:** 268 268 ))) 269 269 270 270 * 0x01: EU868 ... ... @@ -281,13 +281,12 @@ 281 281 ((( 282 282 283 283 284 -**zz: Subband** 268 +(% style="color:#037691" %)**zz: Subband** 285 285 ))) 286 286 287 287 firmware version: v1.1.0 ~-~-> 110 288 288 289 289 290 - 291 291 == 4.5 Show System Configure == 292 292 293 293 ... ... @@ -294,28 +294,21 @@ 294 294 Feature: Show All configure. No downlink command yet. 295 295 296 296 297 -(% style="color:blue" %)**AT Command: AT+CFG** 280 +(% style="color:blue" %)**AT Command: AT+CFG ~/~/ **(%%)Print all configurations 298 298 299 -(% border="1" style="background-color:#ffffcc; color:green; width:599.222px" %) 300 -|=(% colspan="3" style="width: 596px;" %)AT+CFG: Print all configurations 301 -|(% style="width:160px" %)**Command Example**|(% style="width:154px" %)**Function**|(% style="width:280px" %)**Response** 282 +(% border="1" style="background-color:#f2f2f2; width:599.222px" %) 283 +|(% style="background-color:#4f81bd; color:white; width:160px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:154px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:280px" %)**Response** 302 302 |(% style="width:160px" %)AT+CFG|(% style="width:154px" %)Show all configures|(% style="width:280px" %)((( 303 303 AT+DEUI = XX XX XX XX XX XX XX XX 304 - 305 305 AT+DADDR=XXXXXXXX 306 - 307 307 ………. 308 - 309 309 AT+RX2WTO=X 310 - 311 311 AT+CHS=868100000 312 - 313 313 OK 314 314 ))) 315 315 293 +(% style="display:none" %) (%%) 316 316 317 - 318 - 319 319 = 5. Keys, IDs and EUIs management = 320 320 321 321 == 5.1 Application EUI == ... ... @@ -326,17 +326,15 @@ 326 326 327 327 (% style="color:blue" %)**AT Command: AT+APPEUI** 328 328 329 -(% border="1" style="background-color:#ffffcc; color:green; width:686.222px" %) 330 -|=(% colspan="3" style="width: 683px;" %)AT+APPEUI 331 -|(% style="width:305px" %)**Command Example**|(% style="width:186px" %)**Function**|(% style="width:191px" %)**Response** 305 +(% border="1" style="background-color:#f2f2f2; width:686.222px" %) 306 +|(% style="background-color:#4f81bd; color:white; width:305px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:186px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:191px" %)**Response** 332 332 |(% style="width:305px" %)AT+APPEUI=?|(% style="width:186px" %)Get the Application EUI|(% style="width:191px" %)00 b3 d5 00 00 00 00 00((( 333 333 OK 334 334 ))) 335 335 |(% style="width:305px" %)AT+APPEUI=00 b3 d5 7e f0 00 4d 34|(% style="width:186px" %)Set the Application EUI|(% style="width:191px" %)OK 336 336 312 +(% style="display:none" %) (%%) 337 337 338 - 339 - 340 340 == 5.2 Application Key == 341 341 342 342 ... ... @@ -345,17 +345,15 @@ 345 345 346 346 (% style="color:blue" %)**AT Command: AT+APPKEY** 347 347 348 -(% border="1" style="background-color:#ffffcc; color:green; width:976.222px" %) 349 -|=(% colspan="3" style="width: 973px;" %)AT+APPKEY 350 -|(% style="width:441px" %)**Command Example**|(% style="width:180px" %)**Function**|(% style="width:350px" %)**Response** 322 +(% border="1" style="background-color:#f2f2f2; width:976.222px" %) 323 +|(% style="background-color:#4f81bd; color:white; width:441px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:180px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:350px" %)**Response** 351 351 |(% style="width:441px" %)AT+APPKEY=?|(% style="width:180px" %)Get the Application Key|(% style="width:350px" %)00 35 55 55 22 23 55 53 43 24 23 42 34 35 35 35((( 352 352 OK 353 353 ))) 354 354 |(% style="width:441px" %)AT+APPKEY=00 35 55 55 22 23 55 53 43 24 23 42 34 35 35 35|(% style="width:180px" %)Set the Application Key|(% style="width:350px" %)OK 355 355 329 +(% style="display:none" %) (%%) 356 356 357 - 358 - 359 359 == 5.3 Application Session Key == 360 360 361 361 ... ... @@ -364,9 +364,8 @@ 364 364 365 365 (% style="color:blue" %)**AT Command: AT+APPSKEY** 366 366 367 -(% border="1" style="background-color:#ffffcc; color:green; width:1040.22px" %) 368 -|=(% colspan="3" style="width: 1037px;" %)AT+APPSKEY 369 -|(% style="width:451px" %)**Command Example**|(% style="width:231px" %)**Function**|(% style="width:354px" %)**Response** 339 +(% border="1" style="background-color:#f2f2f2; width:1040.22px" %) 340 +|(% style="background-color:#4f81bd; color:white; width:451px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:231px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:354px" %)**Response** 370 370 |(% style="width:451px" %)AT+APPSKEY=?|(% style="width:231px" %)Get the Application Session Key|(% style="width:354px" %)00 7d dc 73 33 d3 eb 9e 14 38 d5 a4 3e 62 5b e2((( 371 371 OK 372 372 ))) ... ... @@ -374,9 +374,8 @@ 374 374 OK 375 375 ))) 376 376 348 +(% style="display:none" %) (%%) 377 377 378 - 379 - 380 380 == 5.4 Device Address == 381 381 382 382 ... ... @@ -385,9 +385,8 @@ 385 385 386 386 (% style="color:blue" %)**AT Command: AT+DADDR** 387 387 388 -(% border="1" style="background-color:#ffffcc; color:green; width:795.222px" %) 389 -|=(% colspan="3" style="width: 792px;" %)AT+DADDR 390 -|(% style="width:192px" %)**Command Example**|(% style="width:241px" %)**Function**|(% style="width:359px" %)**Response** 358 +(% border="1" style="background-color:#f2f2f2; width:795.222px" %) 359 +|(% style="background-color:#4f81bd; color:white; width:192px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:241px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:359px" %)**Response** 391 391 |(% style="width:192px" %)AT+DADDR=?|(% style="width:241px" %)Get the Application Session Key.|(% style="width:359px" %)(While Error in format, return AT_PARAM_ERROR)((( 392 392 A8 40 41 FF 393 393 ... ... @@ -395,9 +395,8 @@ 395 395 ))) 396 396 |(% style="width:192px" %)AT+DADDR=A8 40 41 FF|(% style="width:241px" %)Set the Application Session Key.|(% style="width:359px" %)OK 397 397 367 +(% style="display:none" %) (%%) 398 398 399 - 400 - 401 401 == 5.5 Device EUI == 402 402 403 403 ... ... @@ -406,9 +406,8 @@ 406 406 407 407 (% style="color:blue" %)**AT Command: AT+DEUI** 408 408 409 -(% border="1" style="background-color:#ffffcc; color:green; width:1035.22px" %) 410 -|=(% colspan="3" style="width: 1032px;" %)AT+DEUI 411 -|(% style="width:250px" %)**Command Example**|(% style="width:147px" %)**Function**|(% style="width:634px" %)**Response** 377 +(% border="1" style="background-color:#f2f2f2; width:1035.22px" %) 378 +|(% style="background-color:#4f81bd; color:white; width:250px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:147px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:634px" %)**Response** 412 412 |(% style="width:250px" %)AT+DEUI=?|(% style="width:147px" %)Get the Device EUI.|(% style="width:634px" %)00 44 34 22 33 45 55 55((( 413 413 OK 414 414 ))) ... ... @@ -416,9 +416,8 @@ 416 416 OK 417 417 ))) 418 418 386 +(% style="display:none" %) (%%) 419 419 420 - 421 - 422 422 == 5.6 Network ID == 423 423 424 424 ... ... @@ -427,17 +427,15 @@ 427 427 428 428 (% style="color:blue" %)**AT Command: AT+NWKID** 429 429 430 -(% border="1" style="background-color:#ffffcc; color:green; width:448.222px" %) 431 -|=(% colspan="3" style="width: 445px;" %)AT+NWKID 432 -|(% style="width:191px" %)**Command Example**|(% style="width:153px" %)**Function**|(% style="width:101px" %)**Response** 396 +(% border="1" style="background-color:#f2f2f2; width:448.222px" %) 397 +|(% style="background-color:#4f81bd; color:white; width:191px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:153px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:101px" %)**Response** 433 433 |(% style="width:191px" %)AT+NWKID=?|(% style="width:153px" %)Get the Network ID.|(% style="width:101px" %)a8 40 41 ff((( 434 434 OK 435 435 ))) 436 436 |(% style="width:191px" %)AT+NWKID=A8 40 41 FF|(% style="width:153px" %)Set the Network ID.|(% style="width:101px" %)OK 437 437 403 +(% style="display:none" %) (%%) 438 438 439 - 440 - 441 441 == 5.7 Network Session Key == 442 442 443 443 ... ... @@ -446,17 +446,15 @@ 446 446 447 447 (% style="color:blue" %)**AT Command: AT+NWKSKEY** 448 448 449 -(% border="1" style="background-color:#ffffcc; color:green; width:1017.22px" %) 450 -|=(% colspan="3" style="width: 1014px;" %)AT+NWKSKEY 451 -|(% style="width:455px" %)**Command Example**|(% style="width:215px" %)**Function**|(% style="width:343px" %)**Response** 413 +(% border="1" style="background-color:#f2f2f2; width:1017.22px" %) 414 +|(% style="background-color:#4f81bd; color:white; width:455px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:215px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:343px" %)**Response** 452 452 |(% style="width:455px" %)AT+NWKSKEY=?|(% style="width:215px" %)Get the Network Session Key.|(% style="width:343px" %)00 4f 19 25 52 ce 97 09 d7 fa 84 71 db 51 02 92((( 453 453 OK 454 454 ))) 455 455 |(% style="width:455px" %)AT+NWKSKEY=A8 40 41 FF FF 12 34 56 00 01 02 04 05 06 06 07|(% style="width:215px" %)Set the Network Session Key.|(% style="width:343px" %)OK 456 456 420 +(% style="display:none" %) (%%) 457 457 458 - 459 - 460 460 = 6. Joining and sending date on LoRaWAN network = 461 461 462 462 == 6.1 Confirm Mode == ... ... @@ -469,9 +469,8 @@ 469 469 470 470 (% style="color:blue" %)**AT Command: AT+CFM** 471 471 472 -(% border="1" style="background-color:#ffffcc; color:green; width:710.222px" %) 473 -|=(% colspan="3" style="width: 707px;" %)AT+CFM 474 -|(% style="width:155px" %)**Command Example**|(% style="width:205px" %)**Function**|(% style="width:346px" %)**Response** 434 +(% border="1" style="background-color:#f2f2f2; width:710.222px" %) 435 +|(% style="background-color:#4f81bd; color:white; width:155px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:205px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:346px" %)**Response** 475 475 |(% style="width:155px" %)AT+CFM=?|(% style="width:205px" %)Get the confirmation mode|(% style="width:346px" %)0((( 476 476 OK 477 477 ))) ... ... @@ -487,17 +487,15 @@ 487 487 * **Example 1:** Downlink Payload: 0501 ~/~/ Set AT+CFM=1 488 488 * **Example 2:** Downlink Payload: 0500 ~/~/ Set AT+CFM=0 489 489 451 +(% style="display:none" %) (%%) 490 490 491 - 492 - 493 493 === 6.1.2 AT+CFM command since DR-LWS007 software stack === 494 494 495 495 496 496 (% style="color:blue" %)**AT Command: AT+CFM** 497 497 498 -(% border="1" style="background-color:#ffffcc; color:green; width:710.222px" %) 499 -|=(% colspan="3" style="width: 707px;" %)AT+CFM 500 -|(% style="width:160px" %)**Command Example**|(% style="width:198px" %)**Function**|(% style="width:349px" %)**Response** 458 +(% border="1" style="background-color:#f2f2f2; width:710.222px" %) 459 +|(% style="background-color:#4f81bd; color:white; width:160px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:198px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:349px" %)**Response** 501 501 |(% style="width:160px" %)((( 502 502 AT+CFM=1,0,0 503 503 ... ... @@ -535,9 +535,8 @@ 535 535 * **Example 1:** Downlink Payload: 05010101 ~/~/ Set AT+CFM=1,1,1 536 536 * **Example 2:** Downlink Payload: 05000700 ~/~/ Set AT+CFM=0,7,0 537 537 497 +(% style="display:none" %) (%%) 538 538 539 - 540 - 541 541 == 6.2 Confirm Status == 542 542 543 543 ... ... @@ -546,16 +546,14 @@ 546 546 547 547 (% style="color:blue" %)**AT Command: AT+CFS** 548 548 549 -(% border="1" style="background-color:#ffffcc; color:green; width:534.222px" %) 550 -|=(% colspan="3" style="width: 531px;" %)AT+CFS 551 -|(% style="width:156px" %)**Command Example**|(% style="width:193px" %)**Function**|(% style="width:178px" %)**Response** 552 -|(% style="width:156px" %)AT+CFS=?|(% style="width:193px" %)Get confirmation status|(% style="width:178px" %)0((( 507 +(% border="1" style="background-color:#f2f2f2; width:463px" %) 508 +|(% style="background-color:#4f81bd; color:white; width:156px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:193px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:107px" %)**Response** 509 +|(% style="width:156px" %)AT+CFS=?|(% style="width:193px" %)Get confirmation status|(% style="width:107px" %)0((( 553 553 OK 554 554 ))) 555 555 513 +(% style="display:none" %) (%%) 556 556 557 - 558 - 559 559 == 6.3 Join LoRa® Network == 560 560 561 561 ... ... @@ -564,18 +564,15 @@ 564 564 565 565 (% style="color:blue" %)**AT Command: AT+JOIN** 566 566 567 -(% border="1" style="background-color:#ffffcc; color:green; width:647.222px" %) 568 -|=(% colspan="3" style="width: 644px;" %)AT+JOIN 569 -|(% style="width:163px" %)**Command Example**|(% style="width:147px" %)**Function**|(% style="width:334px" %)**Response** 523 +(% border="1" style="background-color:#f2f2f2; width:647.222px" %) 524 +|(% style="background-color:#4f81bd; color:white; width:163px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:147px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:334px" %)**Response** 570 570 |(% style="width:163px" %)AT+JOIN ?|(% style="width:147px" %)Get imformation.|(% style="width:334px" %)AT+JOIN: Join network((( 571 571 OK 572 - 573 573 While Error in format, return AT_BUSY_ERROR 574 574 ))) 575 575 530 +(% style="display:none" %) (%%) 576 576 577 - 578 - 579 579 == 6.4 LoRa® Network Join Mode == 580 580 581 581 ... ... @@ -584,9 +584,8 @@ 584 584 585 585 (% style="color:blue" %)**AT Command: AT+NJM** 586 586 587 -(% border="1" style="background-color:#ffffcc; color:green; width:753.222px" %) 588 -|=(% colspan="3" style="width: 750px;" %)AT+NJM 589 -|(% style="width:162px" %)**Command Example**|(% style="width:227px" %)**Function**|(% style="width:361px" %)**Response** 540 +(% border="1" style="background-color:#f2f2f2; width:753.222px" %) 541 +|(% style="background-color:#4f81bd; color:white; width:162px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:227px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:361px" %)**Response** 590 590 |(% style="width:162px" %)AT+NJM=?|(% style="width:227px" %)Get the Network Join Mode|(% style="width:361px" %)1((( 591 591 OK 592 592 ))) ... ... @@ -602,9 +602,8 @@ 602 602 * **Example 1: **Downlink Payload: **2000 ** ~/~/ Set AT+NJM=0 603 603 * **Example 2:** Downlink Payload: **2001** ~/~/ Set AT+NJM=1 604 604 557 +(% style="display:none" %) (%%) 605 605 606 - 607 - 608 608 == 6.5 LoRa® Network Join Status == 609 609 610 610 ... ... @@ -613,16 +613,14 @@ 613 613 614 614 (% style="color:blue" %)**AT Command: AT+NJS** 615 615 616 -(% border="1" style="background-color:#ffffcc; color:green; width:498.222px" %) 617 -|=(% colspan="3" style="width: 495px;" %)AT+NJS 618 -|(% style="width:169px" %)**Command Example**|(% style="width:164px" %)**Function**|(% style="width:161px" %)**Response** 567 +(% border="1" style="background-color:#f2f2f2; width:498.222px" %) 568 +|(% style="background-color:#4f81bd; color:white; width:169px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:164px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:161px" %)**Response** 619 619 |(% style="width:169px" %)AT+NJS=?|(% style="width:164px" %)Get the join status.|(% style="width:161px" %)0((( 620 620 OK 621 621 ))) 622 622 573 +(% style="display:none" %) (%%) 623 623 624 - 625 - 626 626 == 6.6 Print Last Received Data in Raw Format == 627 627 628 628 ... ... @@ -631,16 +631,14 @@ 631 631 632 632 (% style="color:blue" %)**AT Command: AT+RECV** 633 633 634 -(% border="1" style="background-color:#ffffcc; color:green; width:587.222px" %) 635 -|=(% colspan="3" style="width: 584px;" %)AT+RECV 636 -|(% style="width:161px" %)**Command Example**|(% style="width:272px" %)**Function**|(% style="width:150px" %)**Response** 583 +(% border="1" style="background-color:#f2f2f2; width:587.222px" %) 584 +|(% style="background-color:#4f81bd; color:white; width:161px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:272px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:150px" %)**Response** 637 637 |(% style="width:161px" %)AT+RECV=?|(% style="width:272px" %)print last received data in raw format.|(% style="width:150px" %)0:((( 638 638 OK 639 639 ))) 640 640 589 +(% style="display:none" %) (%%) 641 641 642 - 643 - 644 644 == 6.7 Print Last Received Data in Binary Format == 645 645 646 646 ... ... @@ -649,16 +649,14 @@ 649 649 650 650 (% style="color:blue" %)**AT Command: AT+RECVB** 651 651 652 -(% border="1" style="background-color:#ffffcc; color:green; width:793.222px" %) 653 -|=(% colspan="3" style="width: 790px;" %)AT+RECVB 654 -|(% style="width:173px" %)**Command Example**|(% style="width:497px" %)**Function**|(% style="width:120px" %)**Response** 599 +(% border="1" style="background-color:#f2f2f2; width:793.222px" %) 600 +|(% style="background-color:#4f81bd; color:white; width:173px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:497px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:120px" %)**Response** 655 655 |(% style="width:173px" %)AT+RECVB=?|(% style="width:497px" %)print last received data in binary format (with hexadecimal values).|(% style="width:120px" %)2: 0010((( 656 656 OK 657 657 ))) 658 658 605 +(% style="display:none" %) (%%) 659 659 660 - 661 - 662 662 == 6.8 Send Text Data == 663 663 664 664 ... ... @@ -667,20 +667,15 @@ 667 667 668 668 (% style="color:blue" %)**AT Command: AT+SEND** 669 669 670 -(% border="1" style="background-color:#ffffcc; color:green; width:991.222px" %) 671 -|=(% colspan="3" style="width: 988px;" %)AT+SEND 672 -|(% style="width:201px" %)**Command Example**|(% style="width:340px" %)**Function**|(% style="width:446px" %)**Response** 615 +(% border="1" style="background-color:#f2f2f2; width:991.222px" %) 616 +|(% style="background-color:#4f81bd; color:white; width:201px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:340px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:446px" %)**Response** 673 673 |(% style="width:201px" %)AT+SEND=12:hello world|(% style="width:340px" %)Send text data along with the application port.|(% style="width:446px" %)OK((( 674 674 While Error in format, return 675 - 676 676 AT_BUSY_ERROR/AT_BUSY_ERROR/AT_NO_NETWORK_JOINED 677 - 678 - 679 679 ))) 680 680 622 +(% style="display:none" %) (%%) 681 681 682 - 683 - 684 684 == 6.9 Send Hexadecimal Data == 685 685 686 686 ... ... @@ -689,19 +689,15 @@ 689 689 690 690 (% style="color:blue" %)**AT Command: AT+SENDB** 691 691 692 -(% border="1" style="background-color:#ffffcc; color:green; width:1101px" %) 693 -|=(% colspan="3" style="width: 1098px;" %)AT+SENDB 694 -|(% style="width:257px" %)**Command Example**|(% style="width:394px" %)**Function**|(% style="width:446px" %)**Response** 695 -|(% style="width:257px" %)AT+SENDB=12:abcdef0123456789|(% style="width:394px" %)Send hexadecimal data along with the application port.|(% style="width:446px" %)OK 696 -|(% style="width:257px" %)AT+SENDB=abcdef0123456789|(% style="width:394px" %)Send hexadecimal data along with the application port.|(% style="width:446px" %)While Error in format, return((( 697 -AT_PARAM_ERROR AT_BUSY_ERROR/AT_NO_NETWORK_JOINED 698 - 699 - 632 +(% border="1" style="width:974px" %) 633 +|(% style="background-color:#4f81bd; color:white; width:257px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:394px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:318px" %)**Response** 634 +|(% style="width:257px" %)AT+SENDB=12:abcdef0123456789|(% style="width:394px" %)Send hexadecimal data along with the application port.|(% style="width:318px" %)OK 635 +|(% style="width:257px" %)AT+SENDB=abcdef0123456789|(% style="width:394px" %)Send hexadecimal data along with the application port.|(% style="width:318px" %)While Error in format, return((( 636 +AT_PARAM_ERROR AT_BUSY_ERROR/AT_NO_NETWORK_JOINED 700 700 ))) 701 701 639 +(% style="display:none" %) (%%) 702 702 703 - 704 - 705 705 = 7. LoRaWAN network management = 706 706 707 707 == 7.1 Adaptive Data Rate == ... ... @@ -712,14 +712,13 @@ 712 712 713 713 (% style="color:blue" %)**AT Command: AT+ADR** 714 714 715 -(% border="1" style="background-color:#ffffcc; color:green; width:683.222px" %) 716 -|=(% colspan="3" style="width: 680px;" %)AT+ADR 717 -|(% style="width:162px" %)**Command Example**|(% style="width:266px" %)**Function**|(% style="width:250px" %)**Response** 718 -|(% style="width:162px" %)AT+ADR=?|(% style="width:266px" %)Get the Adaptive Data Rate setting.|(% style="width:250px" %)1((( 651 +(% border="1" style="width:643px" %) 652 +|(% style="background-color:#4f81bd; color:white; width:162px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:266px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:209px" %)**Response** 653 +|(% style="width:162px" %)AT+ADR=?|(% style="width:266px" %)Get the Adaptive Data Rate setting.|(% style="width:209px" %)1((( 719 719 OK 720 720 ))) 721 -|(% style="width:162px" %)AT+ADR=0|(% style="width:266px" %)Set the Adaptive Data Rate setting.|(% style="width:2 50px" %)OK722 -|(% style="width:162px" %)AT+ADR=2|(% style="width:266px" %)Set the Adaptive Data Rate setting.|(% style="width:2 50px" %)While Error in format, return(((656 +|(% style="width:162px" %)AT+ADR=0|(% style="width:266px" %)Set the Adaptive Data Rate setting.|(% style="width:209px" %)OK 657 +|(% style="width:162px" %)AT+ADR=2|(% style="width:266px" %)Set the Adaptive Data Rate setting.|(% style="width:209px" %)While Error in format, return((( 723 723 AT_PARAM_ERROR 724 724 ))) 725 725 ... ... @@ -730,9 +730,8 @@ 730 730 * **Example 1**: Downlink Payload: **2201** ~/~/ Set AT+ADR=1. 731 731 * **Example 2**: Downlink Payload: **2200FFFF** ~/~/ Set AT+ADR=0. 732 732 668 +(% style="display:none" %) (%%) 733 733 734 - 735 - 736 736 == 7.2 LoRa® Class == 737 737 738 738 ... ... @@ -741,9 +741,8 @@ 741 741 742 742 (% style="color:blue" %)**AT Command: AT+CLASS** 743 743 744 -(% border="1" style="background-color:#ffffcc; color:green; width:507.222px" %) 745 -|=(% colspan="3" style="width: 504px;" %)AT+CLASS 746 -|(% style="width:163px" %)**Command Example**|(% style="width:166px" %)**Function**|(% style="width:175px" %)**Response** 678 +(% border="1" style="background-color:#f2f2f2; width:507.222px" %) 679 +|(% style="background-color:#4f81bd; color:white; width:163px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:166px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:175px" %)**Response** 747 747 |(% style="width:163px" %)AT+CLASS=?|(% style="width:166px" %)Get the Device Class.|(% style="width:175px" %)A((( 748 748 OK 749 749 ))) ... ... @@ -751,20 +751,23 @@ 751 751 752 752 ))) 753 753 687 +(% style="display:none" %) 754 754 689 +(% style="color:red" %)**Notice:** 755 755 691 +* Run AT+FDR before running AT+CLASS=C 692 +* After change to Class=C, Before OTAA Join Successfule, the end node will still shows to use CLASS=A for OTAA Joined. It will use CLASS=C after OTAA Join Succeccful. 756 756 757 757 == 7.3 Duty Cycle Setting == 758 758 759 759 760 -Feature: Get or Set the ETSI Duty Cycle setting** -0**=disable, **1**=enable - Only for testing.697 +Feature: Get or Set the ETSI Duty Cycle setting** : 0**=disable, **1**=enable - Only for testing. 761 761 762 762 763 763 (% style="color:blue" %)**AT Command: AT+DCS** 764 764 765 -(% border="1" style="background-color:#ffffcc; color:green; width:515.222px" %) 766 -|=(% colspan="3" style="width: 512px;" %)AT+DCS 767 -|(% style="width:165px" %)**Command Example**|(% style="width:239px" %)**Function**|(% style="width:107px" %)**Response** 702 +(% border="1" style="background-color:#f2f2f2; width:515.222px" %) 703 +|(% style="background-color:#4f81bd; color:white; width:165px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:239px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:107px" %)**Response** 768 768 |(% style="width:165px" %)AT+DCS=?|(% style="width:239px" %)Get the ETSI Duty Cycle setting.|(% style="width:107px" %)1((( 769 769 OK 770 770 ))) ... ... @@ -772,20 +772,23 @@ 772 772 773 773 ))) 774 774 711 +(% style="display:none" %) (%%) 775 775 776 - 777 - 778 778 == 7.4 Data Rate == 779 779 780 780 781 -Feature: Get or Set the Data Rate. (0-7 corresponding to DR_X) . Note: while set Data Rate, please use set Adptive Data Rate, ADR=0 first. otherwise device will response to server's ADR command and change the DR to the setting from server716 +Feature: Get or Set the Data Rate. (0-7 corresponding to DR_X) . 782 782 718 +(% style="color:red" %) 719 +**Notice:** 783 783 721 +* User need to set Adaptive Data Rate(ADR)=0 first. otherwise device will respond to server's ADR command and change the DR according to server auto-adjustment. 722 +* Data Rate specifies Spreading Factor. The mapping varies in different frequency bands. User can check this link for detail. [[rp2-1.0.3-lorawan-regional-parameters.pdf>>https://lora-alliance.org/resource_hub/rp2-1-0-3-lorawan-regional-parameters/]] 723 + 784 784 (% style="color:blue" %)**AT Command: AT+DR** 785 785 786 -(% border="1" style="background-color:#ffffcc; color:green; width:466.222px" %) 787 -|=(% colspan="3" style="width: 463px;" %)AT+DR 788 -|(% style="width:156px" %)**Command Example**|(% style="width:167px" %)**Function**|(% style="width:140px" %)**Response** 726 +(% border="1" style="background-color:#f2f2f2; width:466.222px" %) 727 +|(% style="background-color:#4f81bd; color:white; width:156px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:167px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:140px" %)**Response** 789 789 |(% style="width:156px" %)AT+DR=?|(% style="width:167px" %)Get the Data Rate.|(% style="width:140px" %)5((( 790 790 OK 791 791 ))) ... ... @@ -800,9 +800,8 @@ 800 800 * **Example 1**: Downlink Payload: **220001FF** ~/~/ Set AT+DR=1. 801 801 * **Example 2**: Downlink Payload: **220000FF** ~/~/ Set AT+DR=0. 802 802 742 +(% style="display:none" %) (%%) 803 803 804 - 805 - 806 806 == 7.5 Frame Counter Downlink == 807 807 808 808 ... ... @@ -811,9 +811,8 @@ 811 811 812 812 (% style="color:blue" %)**AT Command: AT+FCD** 813 813 814 -(% border="1" style="background-color:#ffffcc; color:green; width:693.222px" %) 815 -|=(% colspan="3" style="width: 690px;" %)AT+FCD 816 -|(% style="width:162px" %)**Command Example**|(% style="width:258px" %)**Function**|(% style="width:269px" %)**Response** 752 +(% border="1" style="background-color:#f2f2f2; width:693.222px" %) 753 +|(% style="background-color:#4f81bd; color:white; width:162px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:258px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:269px" %)**Response** 817 817 |(% style="width:162px" %)AT+FCD=?|(% style="width:258px" %)Get the Frame Counter Downlink.|(% style="width:269px" %)0((( 818 818 OK 819 819 ))) ... ... @@ -821,9 +821,8 @@ 821 821 OK 822 822 ))) 823 823 761 +(% style="display:none" %) (%%) 824 824 825 - 826 - 827 827 == 7.6 Frame Counter Uplink == 828 828 829 829 Feature: Get or Set the Frame Counter Uplink. ... ... @@ -831,9 +831,8 @@ 831 831 832 832 (% style="color:blue" %)**AT Command: AT+FCU** 833 833 834 -(% border="1" style="background-color:#ffffcc; color:green; width:534.222px" %) 835 -|=(% colspan="3" style="width: 531px;" %)AT+FCU 836 -|(% style="width:177px" %)**Command Example**|(% style="width:239px" %)**Function**|(% style="width:113px" %)**Response** 770 +(% border="1" style="background-color:#f2f2f2; width:534.222px" %) 771 +|(% style="background-color:#4f81bd; color:white; width:177px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:239px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:113px" %)**Response** 837 837 |(% style="width:177px" %)AT+FCU=?|(% style="width:239px" %)Get the Frame Counter Uplink.|(% style="width:113px" %)0((( 838 838 OK 839 839 ))) ... ... @@ -841,9 +841,8 @@ 841 841 842 842 ))) 843 843 779 +(% style="display:none" %) (%%) 844 844 845 - 846 - 847 847 == 7.7 Join Accept Delay1 == 848 848 849 849 ... ... @@ -852,9 +852,8 @@ 852 852 853 853 (% style="color:blue" %)**AT Command: AT+JN1DL** 854 854 855 -(% border="1" style="background-color:#ffffcc; color:green; width:537.222px" %) 856 -|=(% colspan="3" style="width: 534px;" %)AT+JN1DL 857 -|(% style="width:164px" %)**Command Example**|(% style="width:229px" %)**Function**|(% style="width:140px" %)**Response** 789 +(% border="1" style="background-color:#f2f2f2; width:537.222px" %) 790 +|(% style="background-color:#4f81bd; color:white; width:164px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:229px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:140px" %)**Response** 858 858 |(% style="width:164px" %)AT+JN1DL=?|(% style="width:229px" %)Get the Join Accept Delay.|(% style="width:140px" %)5000((( 859 859 OK 860 860 ))) ... ... @@ -862,9 +862,8 @@ 862 862 863 863 ))) 864 864 798 +(% style="display:none" %) (%%) 865 865 866 - 867 - 868 868 == 7.8 Join Accept Delay2 == 869 869 870 870 ... ... @@ -873,9 +873,8 @@ 873 873 874 874 (% style="color:blue" %)**AT Command: AT+JN2DL** 875 875 876 -(% border="1" style="background-color:#ffffcc; color:green; width:538.222px" %) 877 -|=(% colspan="3" style="width: 535px;" %)AT+JN2DL 878 -|(% style="width:160px" %)**Command Example**|(% style="width:228px" %)**Function**|(% style="width:146px" %)**Response** 808 +(% border="1" style="background-color:#f2f2f2; width:538.222px" %) 809 +|(% style="background-color:#4f81bd; color:white; width:160px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:228px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:146px" %)**Response** 879 879 |(% style="width:160px" %)AT+JN2DL=?|(% style="width:228px" %)Get the Join Accept Delay.|(% style="width:146px" %)6000((( 880 880 OK 881 881 ))) ... ... @@ -883,9 +883,8 @@ 883 883 884 884 ))) 885 885 817 +(% style="display:none" %) (%%) 886 886 887 - 888 - 889 889 == 7.9 Public Network Mode == 890 890 891 891 ... ... @@ -896,9 +896,8 @@ 896 896 897 897 (% style="color:blue" %)**AT Command: AT+PNM** 898 898 899 -(% border="1" style="background-color:#ffffcc; color:green; width:667.222px" %) 900 -|=(% colspan="3" style="width: 664px;" %)AT+PNM 901 -|(% style="width:166px" %)**Command Example**|(% style="width:225px" %)**Function**|(% style="width:272px" %)**Response** 829 +(% border="1" style="background-color:#f2f2f2; width:667.222px" %) 830 +|(% style="background-color:#4f81bd; color:white; width:166px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:225px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:272px" %)**Response** 902 902 |(% style="width:166px" %)AT+PNM=?|(% style="width:225px" %)Get the public network mode.|(% style="width:272px" %)1((( 903 903 OK 904 904 ))) ... ... @@ -913,9 +913,8 @@ 913 913 ))) 914 914 |(% style="width:166px" %)AT+PNM=0|(% style="width:225px" %)Set to use private network autoset syncword=0x12|(% style="width:272px" %) 915 915 845 +(% style="display:none" %) (%%) 916 916 917 - 918 - 919 919 == 7.10 Receive Delay1 == 920 920 921 921 ... ... @@ -924,9 +924,8 @@ 924 924 925 925 (% style="color:blue" %)**AT Command: AT+RX1DL** 926 926 927 -(% border="1" style="background-color:#ffffcc; color:green; width:408.222px" %) 928 -|=(% colspan="3" style="width: 405px;" %)AT+RX1DL 929 -|(% style="width:155px" %)**Command Example**|(% style="width:128px" %)**Function**|(% style="width:122px" %)**Response** 855 +(% border="1" style="background-color:#f2f2f2; width:408.222px" %) 856 +|(% style="background-color:#4f81bd; color:white; width:155px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:128px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:122px" %)**Response** 930 930 |(% style="width:155px" %)AT+RX1DL=?|(% style="width:128px" %)Get the delay.|(% style="width:122px" %)1000((( 931 931 OK 932 932 ))) ... ... @@ -934,9 +934,8 @@ 934 934 935 935 ))) 936 936 864 +(% style="display:none" %) (%%) 937 937 938 - 939 - 940 940 == 7.11 Receive Delay2 == 941 941 942 942 ... ... @@ -945,9 +945,8 @@ 945 945 946 946 (% style="color:blue" %)**AT Command: AT+RX2DL** 947 947 948 -(% border="1" style="background-color:#ffffcc; color:green; width:481.222px" %) 949 -|=(% colspan="3" style="width: 478px;" %)AT+RX2DL 950 -|(% style="width:175px" %)**Command Example**|(% style="width:152px" %)**Function**|(% style="width:150px" %)**Response** 874 +(% border="1" style="background-color:#f2f2f2; width:481.222px" %) 875 +|(% style="background-color:#4f81bd; color:white; width:175px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:152px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:150px" %)**Response** 951 951 |(% style="width:175px" %)AT+RX2DL=?|(% style="width:152px" %)Get the delay.|(% style="width:150px" %)2000((( 952 952 OK 953 953 ))) ... ... @@ -955,9 +955,8 @@ 955 955 956 956 ))) 957 957 883 +(% style="display:none" %) (%%) 958 958 959 - 960 - 961 961 == 7.12 Rx2 Window Data Rate == 962 962 963 963 ... ... @@ -966,9 +966,8 @@ 966 966 967 967 (% style="color:blue" %)**AT Command: AT+RX2DR** 968 968 969 -(% border="1" style="background-color:#ffffcc; color:green; width:525.222px" %) 970 -|=(% colspan="3" style="width: 522px;" %)AT+RX2DR 971 -|(% style="width:160px" %)**Command Example**|(% style="width:232px" %)**Function**|(% style="width:130px" %)**Response** 893 +(% border="1" style="background-color:#f2f2f2; width:525.222px" %) 894 +|(% style="background-color:#4f81bd; color:white; width:160px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:232px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:130px" %)**Response** 972 972 |(% style="width:160px" %)AT+RX2DR=?|(% style="width:232px" %)Get the Rx2 window data rate.|(% style="width:130px" %)2((( 973 973 OK 974 974 ))) ... ... @@ -976,9 +976,8 @@ 976 976 977 977 ))) 978 978 902 +(% style="display:none" %) (%%) 979 979 980 - 981 - 982 982 == 7.13 Rx2 Window Frequency == 983 983 984 984 ... ... @@ -987,9 +987,8 @@ 987 987 988 988 (% style="color:blue" %)**AT Command: AT+RX2FQ** 989 989 990 -(% border="1" style="background-color:#ffffcc; color:green; width:587.222px" %) 991 -|=(% colspan="3" style="width: 584px;" %)AT+RX2FQ 992 -|(% style="width:183px" %)**Command Example**|(% style="width:240px" %)**Function**|(% style="width:160px" %)**Response** 912 +(% border="1" style="background-color:#f2f2f2; width:587.222px" %) 913 +|(% style="background-color:#4f81bd; color:white; width:183px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:240px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:160px" %)**Response** 993 993 |(% style="width:183px" %)AT+RX2FQ=?|(% style="width:240px" %)Get the Rx2 window frequency.|(% style="width:160px" %)434665000((( 994 994 OK 995 995 ))) ... ... @@ -997,9 +997,8 @@ 997 997 998 998 ))) 999 999 921 +(% style="display:none" %) (%%) 1000 1000 1001 - 1002 - 1003 1003 == 7.14 Transmit Power == 1004 1004 1005 1005 ... ... @@ -1010,9 +1010,8 @@ 1010 1010 1011 1011 (% style="color:blue" %)**AT Command: AT+TXP** 1012 1012 1013 -(% border="1" style="background-color:#ffffcc; color:green; width:465.222px" %) 1014 -|=(% colspan="3" style="width: 462px;" %)AT+TXP 1015 -|(% style="width:161px" %)**Command Example**|(% style="width:189px" %)**Function**|(% style="width:112px" %)**Response** 933 +(% border="1" style="background-color:#f2f2f2; width:465.222px" %) 934 +|(% style="background-color:#4f81bd; color:white; width:161px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:189px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:112px" %)**Response** 1016 1016 |(% style="width:161px" %)AT+TXP=?|(% style="width:189px" %)Get the Transmit Power.|(% style="width:112px" %)0((( 1017 1017 OK 1018 1018 ))) ... ... @@ -1025,11 +1025,10 @@ 1025 1025 If the downlink payload=22000100, it means setting the TXP to 0. 1026 1026 1027 1027 * **Example 1**: Downlink Payload: **22000102** ~/~/ Set AT+TXP=2. 1028 -* **Example 2**: Downlink Payload: **220000 FF**947 +* **Example 2**: Downlink Payload: **22000000** ~/~/ Set AT+TXP=0. 1029 1029 949 +(% style="display:none" %) (%%) 1030 1030 1031 - 1032 - 1033 1033 == 7.15 RSSI of the Last Received Packet == 1034 1034 1035 1035 ... ... @@ -1038,16 +1038,14 @@ 1038 1038 1039 1039 (% style="color:blue" %)**AT Command:AT+RSSI** 1040 1040 1041 -(% border="1" style="background-color:#ffffcc; color:green; width:557.222px" %) 1042 -|=(% colspan="3" style="width: 554px;" %)AT+RSSI 1043 -|(% style="width:164px" %)**Command Example**|(% style="width:289px" %)**Function**|(% style="width:100px" %)**Response** 959 +(% border="1" style="background-color:#f2f2f2; width:557.222px" %) 960 +|(% style="background-color:#4f81bd; color:white; width:164px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:289px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:100px" %)**Response** 1044 1044 |(% style="width:164px" %)AT+RSSI=?|(% style="width:289px" %)Get the RSSI of the last received packet.|(% style="width:100px" %)0((( 1045 1045 OK 1046 1046 ))) 1047 1047 965 +(% style="display:none" %) (%%) 1048 1048 1049 - 1050 - 1051 1051 == 7.16 SNR of the Last Received Packet == 1052 1052 1053 1053 ... ... @@ -1056,16 +1056,14 @@ 1056 1056 1057 1057 (% style="color:blue" %)**AT Command: AT+SNR** 1058 1058 1059 -(% border="1" style="background-color:#ffffcc; color:green; width:571.222px" %) 1060 -|=(% colspan="3" style="width: 568px;" %)AT+SNR 1061 -|(% style="width:164px" %)**Command Example**|(% style="width:290px" %)**Function**|(% style="width:113px" %)**Response** 975 +(% border="1" style="background-color:#f2f2f2; width:571.222px" %) 976 +|(% style="background-color:#4f81bd; color:white; width:164px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:290px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:113px" %)**Response** 1062 1062 |(% style="width:164px" %)AT+SNR=?|(% style="width:290px" %)Get the RSSI of the last received packet.|(% style="width:113px" %)0((( 1063 1063 OK 1064 1064 ))) 1065 1065 981 +(% style="display:none" %) (%%) 1066 1066 1067 - 1068 - 1069 1069 == 7.17 Application Port == 1070 1070 1071 1071 ... ... @@ -1074,9 +1074,8 @@ 1074 1074 1075 1075 (% style="color:blue" %)**AT Command: AT+PORT** 1076 1076 1077 -(% border="1" style="background-color:#ffffcc; color:green; width:500.222px" %) 1078 -|=(% colspan="3" style="width: 497px;" %)AT+PORT 1079 -|(% style="width:157px" %)**Command Example**|(% style="width:204px" %)**Function**|(% style="width:135px" %)**Response** 991 +(% border="1" style="background-color:#f2f2f2; width:500.222px" %) 992 +|(% style="background-color:#4f81bd; color:white; width:157px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:204px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:135px" %)**Response** 1080 1080 |(% style="width:157px" %)AT+PORT=?|(% style="width:204px" %)Get the application port|(% style="width:135px" %)21((( 1081 1081 OK 1082 1082 ))) ... ... @@ -1091,9 +1091,8 @@ 1091 1091 * **Example 1**: Downlink Payload: **2301** ~/~/ set the application port to 1 1092 1092 * **Example 2**: Downlink Payload:** 2305** ~/~/ set the application port to 5 1093 1093 1007 +(% style="display:none" %) (%%) 1094 1094 1095 - 1096 - 1097 1097 == 7.18 Single Channel Mode == 1098 1098 1099 1099 ... ... @@ -1102,17 +1102,15 @@ 1102 1102 1103 1103 (% style="color:blue" %)**AT Command: AT+CHS** 1104 1104 1105 -(% border="1" style="background-color:#ffffcc; color:green; width:603.222px" %) 1106 -|=(% colspan="3" style="width: 600px;" %)AT+CHS 1107 -|(% style="width:182px" %)**Command Example**|(% style="width:295px" %)**Function**|(% style="width:122px" %)**Response** 1017 +(% border="1" style="background-color:#f2f2f2; width:603.222px" %) 1018 +|(% style="background-color:#4f81bd; color:white; width:182px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:295px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:122px" %)**Response** 1108 1108 |(% style="width:182px" %)AT+CHS=?|(% style="width:295px" %)Get Frequency for Single Channel Mode|(% style="width:122px" %)0((( 1109 1109 OK 1110 1110 ))) 1111 1111 |(% style="width:182px" %)AT+CHS=868100000|(% style="width:295px" %)Set Frequency for Single Channel Mode|(% style="width:122px" %)OK 1112 1112 1024 +(% style="display:none" %) (%%) 1113 1113 1114 - 1115 - 1116 1116 == 7.19 Eight Channel Mode == 1117 1117 1118 1118 ... ... @@ -1121,9 +1121,8 @@ 1121 1121 1122 1122 (% style="color:blue" %)**AT Command: AT+CHE** 1123 1123 1124 -(% border="1" style="background-color:#ffffcc; color:green; width:710.222px" %) 1125 -|=(% colspan="3" style="width: 707px;" %)AT+CHE 1126 -|(% style="width:160px" %)**Command Example**|(% style="width:198px" %)**Function**|(% style="width:349px" %)**Response** 1034 +(% border="1" style="background-color:#f2f2f2; width:710.222px" %) 1035 +|(% style="background-color:#4f81bd; color:white; width:160px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:198px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:349px" %)**Response** 1127 1127 |(% style="width:160px" %)AT+CHE=?|(% style="width:198px" %)Get eight channels mode|(% style="width:349px" %)1((( 1128 1128 902.3 902.5 902.7 902.9 903.1 903.3 903.5 903.7 1129 1129 ... ... @@ -1131,7 +1131,7 @@ 1131 1131 ))) 1132 1132 |(% style="width:160px" %)AT+CHE=1|(% style="width:198px" %)Set eight channels mode|(% style="width:349px" %)OK 1133 1133 1134 -(% style="color:blue" %)**Downlink Command: 0x24** 1043 +(% style="color:blue" %)**Downlink Command: 0x24 (LHT65,LHT65N Downlink Command:0x07)** 1135 1135 1136 1136 Format: Command Code (0x24) followed by 1 bytes channel value. 1137 1137 ... ... @@ -1140,9 +1140,8 @@ 1140 1140 * **Example 1**: Downlink Payload: 2401 ~/~/ set channel mode to 1 1141 1141 * **Example 2**: Downlink Payload: 2405 ~/~/ set channel mode to 5 1142 1142 1052 +(% style="display:none" %) (%%) 1143 1143 1144 - 1145 - 1146 1146 == 7.20 Get or Set RXwindows1 timeout == 1147 1147 1148 1148 ... ... @@ -1151,33 +1151,26 @@ 1151 1151 1152 1152 (% style="color:blue" %)**AT Command: AT+RX1WTO** 1153 1153 1154 -(% border="1" style="background-color:#ffffcc; color:green; width:460.222px" %) 1155 -|=(% colspan="3" style="width: 457px;" %)AT+ RX1WTO 1156 -|(% style="width:163px" %)**Command Example**|(% style="width:201px" %)**Function**|(% style="width:93px" %)**Response** 1062 +(% border="1" style="background-color:#f2f2f2; width:460.222px" %) 1063 +|(% style="background-color:#4f81bd; color:white; width:163px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:201px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:93px" %)**Response** 1157 1157 |(% style="width:163px" %)AT+RX1WTO=?|(% style="width:201px" %)Get RXwindows1 timeout|(% style="width:93px" %)14((( 1158 1158 OK 1159 1159 ))) 1160 1160 |(% style="width:163px" %)AT+RX1WTO=60|(% style="width:201px" %)Set RXwindows1 timeout|(% style="width:93px" %)OK 1161 1161 1162 -((( 1163 - 1069 +(% style="display:none" %) (%%) 1164 1164 1165 - 1071 +((( 1166 1166 (% style="color:blue" %)**AT+RX1WTO**(%%) is theRxSingle timeout value of receive window 1. If it is not set, then the queriedvalue is the default value. If it is set, then the queried value is the setvalue. AT+RX2TWO is thesame as above. The definitionof RxSingle timeout is as described in the following paragraph. 1167 - 1168 - 1169 1169 ))) 1170 1170 1171 1171 [[image:image-20220526162535-1.png]] 1172 1172 1173 - 1174 1174 ((( 1175 1175 Increasing thisvalue is equal to extending the time that the receiving window is opened, butthe corresponding power consumption will also increase. Properly increasingthis value can increase the success rate of the downlink. 1176 - 1177 - 1178 - 1179 1179 ))) 1180 1180 1081 + 1181 1181 == 7.21 Get or Set RXwindows2 timeout == 1182 1182 1183 1183 ... ... @@ -1186,17 +1186,15 @@ 1186 1186 1187 1187 (% style="color:blue" %)**AT Command: AT+RX2WTO** 1188 1188 1189 -(% border="1" style="background-color:#ffffcc; color:green; width:497.222px" %) 1190 -|=(% colspan="3" style="width: 494px;" %)AT+ RX2WTO 1191 -|(% style="width:190px" %)**Command Example**|(% style="width:199px" %)**Function**|(% style="width:104px" %)**Response** 1090 +(% border="1" style="background-color:#f2f2f2; width:497.222px" %) 1091 +|(% style="background-color:#4f81bd; color:white; width:190px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:199px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:104px" %)**Response** 1192 1192 |(% style="width:190px" %)AT+RX2WTO=?|(% style="width:199px" %)Get RXwindows2 timeout|(% style="width:104px" %)7((( 1193 1193 OK 1194 1194 ))) 1195 1195 |(% style="width:190px" %)AT+RX2WTO=20|(% style="width:199px" %)Set RXwindows2 timeout|(% style="width:104px" %)OK 1196 1196 1097 +(% style="display:none" %) (%%) 1197 1197 1198 - 1199 - 1200 1200 == 7.22 Setting up uplinkdwelltime (as923, au915) == 1201 1201 1202 1202 ... ... @@ -1205,9 +1205,8 @@ 1205 1205 1206 1206 (% style="color:blue" %)**AT Command: AT+DWELLT** 1207 1207 1208 -(% border="1" style="background-color:#ffffcc; color:green; width:497.222px" %) 1209 -|=(% colspan="3" style="width: 494px;" %)AT+DWELLT 1210 -|(% style="width:183px" %)**Command Example**|(% style="width:179px" %)**Function**|(% style="width:131px" %)**Response** 1107 +(% border="1" style="background-color:#f2f2f2; width:497.222px" %) 1108 +|(% style="background-color:#4f81bd; color:white; width:183px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:179px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:131px" %)**Response** 1211 1211 |(% style="width:183px" %)AT+DWELLT=?|(% style="width:179px" %)Get uplinkdwelltime|(% style="width:131px" %)1((( 1212 1212 OK 1213 1213 ))) ... ... @@ -1222,9 +1222,8 @@ 1222 1222 * **Example 1**: Downlink Payload: **2501** ~/~/ set uplinkdwelltime to 1 1223 1223 * **Example 2**: Downlink Payload: **2500** ~/~/ set uplinkdwelltime to 0 1224 1224 1123 +(% style="display:none" %) (%%) 1225 1225 1226 - 1227 - 1228 1228 == 7.23 Set Packet Receiving Response Level == 1229 1229 1230 1230 ... ... @@ -1231,7 +1231,7 @@ 1231 1231 Feature: Get or Set packet receiving response level. This feature is used to set compatible with different LoRaWAN servers. If RPL doesn;t match , user will see strange message in the server portal. 1232 1232 1233 1233 1234 -**RPL value:** 1131 +(% style="color:blue" %)**RPL value:** 1235 1235 1236 1236 * **AT+RPL=0:** Device won't immediately reply any downlink commands from platform. 1237 1237 * **AT+RPL=1:** Device will immediately reply message to Unconfirmed Data Down. Payload is 0x00. ... ... @@ -1239,7 +1239,7 @@ 1239 1239 * **AT+RPL=3:** Device will immediately reply message to MAC Command. Payload is 0x00 and requied response header for this command. 1240 1240 * **AT+RPL=4: **Device will immediately reply message to Confirmed Data Down & MAC Command. Payload is 0x00 and requied response header for these two commands. 1241 1241 1242 -**Case Analyes:** 1139 +(% style="color:blue" %)**Case Analyes:** 1243 1243 1244 1244 * For Class A devices, AT+RPL=0 is ok. that is defaut settings in software. 1245 1245 * For Class C devices used in ChirpStack, need to set AT+RPL=4 because Chirpstack require immedietely reply message to MAC Command. ... ... @@ -1247,9 +1247,8 @@ 1247 1247 1248 1248 (% style="color:blue" %)**AT Command: AT+RPL** 1249 1249 1250 -(% border="1" style="background-color:#ffffcc; color:green; width:536.222px" %) 1251 -|=(% colspan="3" style="width: 533px;" %)AT+RPL 1252 -|(% style="width:160px" %)**Command Example**|(% style="width:263px" %)**Function**|(% style="width:109px" %)**Response** 1147 +(% border="1" style="background-color:#f2f2f2; width:536.222px" %) 1148 +|(% style="background-color:#4f81bd; color:white; width:160px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:263px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:109px" %)**Response** 1253 1253 |(% style="width:160px" %)AT+RPL=?|(% style="width:263px" %)Get packet receiving response level|(% style="width:109px" %)1((( 1254 1254 OK 1255 1255 ))) ... ... @@ -1264,21 +1264,19 @@ 1264 1264 * **Example 1**: Downlink Payload: **2101** ~/~/ set packet receiving response level to 1 1265 1265 * **Example 2**: Downlink Payload: **2102** ~/~/ set packet receiving response level to 2 1266 1266 1163 +(% style="display:none" %) (%%) 1267 1267 1268 - 1269 - 1270 1270 == 7.24 Controls NBTrans in unconfirmed uplink mode(LWS007 NBTrans:Set retransmission packets) == 1271 1271 1272 1272 1273 1273 (% style="color:blue" %)**AT Command: AT+SETMAXNBTRANS ** 1274 1274 1275 -(% border="1" style="background-color:#ffffcc; color:green; width:589px" %) 1276 -|=(% colspan="3" style="width: 586px;" %)AT+**SETMAXNBTRANS** 1277 -|(% style="width:227px" %)**Command Example**|(% style="width:300px" %)**Function**|(% style="width:87px" %)**Response** 1278 -|(% style="width:227px" %)**AT+SETMAXNBTRANS=1,0**|(% style="width:300px" %)Value1: set the maximum NBTrans.|(% style="width:87px" %)1((( 1170 +(% border="1" style="background-color:#f2f2f2; width:589px" %) 1171 +|(% style="background-color:#4f81bd; color:white; width:227px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:300px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:87px" %)**Response** 1172 +|(% style="width:227px" %)AT+SETMAXNBTRANS=1,0|(% style="width:300px" %)Value1: set the maximum NBTrans.|(% style="width:87px" %)1((( 1279 1279 OK 1280 1280 ))) 1281 -|(% style="width:227px" %) **AT+SETMAXNBTRANS=?,1**|(% style="width:300px" %)(((1175 +|(% style="width:227px" %)AT+SETMAXNBTRANS=?,1|(% style="width:300px" %)((( 1282 1282 value2: 0: uplink fcnt doesn't change for each NBTrans; 1283 1283 1284 1284 1: uplink fcnt increase by 1 for each NBTrans. ... ... @@ -1297,17 +1297,20 @@ 1297 1297 * Example 1: Downlink Payload: 330100 ~/~/ Set AT+SETMAXNBTRANS=1,0 1298 1298 * Example 2: Downlink Payload: 330201 ~/~/ Set AT+SETMAXNBTRANS=2,1 1299 1299 1194 +(% style="display:none" %) (%%) 1300 1300 1301 - 1302 - 1303 1303 == 7.25 Device offline rejoining (LWS007) == 1304 1304 1305 1305 1306 1306 (% style="color:blue" %)**AT Command: AT+DDETECT** 1307 1307 1308 -(% border="1" style="background-color:#ffffcc; color:green; width:710.222px" %) 1309 -|=(% colspan="3" style="width: 707px;" %)AT+**DDETECT** 1310 -|(% style="width:160px" %)**Command Example**|(% style="width:198px" %)**Function**|(% style="width:349px" %)**Response** 1201 +AT+DDETECT=<Flag>,<ACK_Timout_1>,<ACK_Timout_2> (Default Value: AT+DDETECT=1,1440,2880) 1202 + 1203 +* ACK_Timout_1: Unit: min 1204 +* ACK_Timout_2: Unit: min 1205 + 1206 +(% border="1" style="background-color:#f2f2f2; width:710.222px" %) 1207 +|(% style="background-color:#4f81bd; color:white; width:160px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:198px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:349px" %)**Response** 1311 1311 |(% style="width:160px" %)((( 1312 1312 AT+DDETECT=1,1440,2880 1313 1313 ... ... @@ -1336,52 +1336,51 @@ 1336 1336 OK 1337 1337 ))) 1338 1338 1339 -(% style="color:blue" %)**Downlink Command: 0x3 3**1236 +(% style="color:blue" %)**Downlink Command: 0x32** 1340 1340 1341 1341 Format: Command Code (0x32) followed by 2 bytes mode value. 1342 1342 1343 -If the downlink payload=320105A00B40, it means set end node to use confirm mode, while type code is 3 3.1240 +If the downlink payload=320105A00B40, it means set end node to use confirm mode, while type code is 32. 1344 1344 1345 -* **Example 1:** Downlink Payload: 320105A00B40 ~/~/ Set AT+DDETECT=1,1440,2880 1242 +* **Example 1:** Downlink Payload: 320105A00B40 ~/~/ Set AT+DDETECT=1,1440,2880 1243 +** 0x01 : Flag 1244 +** 0x05A0: ACK_Timout_1 : 1440minutes (24 hours) 1245 +** 0x0B40: ACK_Timout_2 : 2880minutes (48 hours) 1246 +** **Explain**: Enable Online Detect, if end node doesn't receive any downlink within ACK_Timout_1( 1440 minutes or 24 hours). End node will use confirmed uplink to send packets during ACK_Timout_1 (the 24th hour) to ACK_Timout_2 ( the 48th hour). If from the 24th to 48th hour, end node got an downlink from server, it will switch back to unconfirmed uplink. end node will restart ACK_Timout_1. If from the 24th to 48th hour, end node still not got any downlink, means device doesn't get ACK from server within last 48 hours. Device will process rejoin, rejoin request interval is AT+RJTDC period. For AU915/ US915, device will use the sub-band used for last join. 1346 1346 1248 +(% style="display:none" %) (%%) 1347 1347 1348 - 1349 - 1350 1350 == 7.26 Request the server to send an ACK == 1351 1351 1352 1352 1353 1353 (% style="color:blue" %)**AT Command: AT+PNACKMD** 1354 1354 1355 -(% border="1" style="background-color:#ffffcc; color:green; width:536.222px" %) 1356 -|=(% colspan="3" style="width: 533px;" %)**AT+PNACKMD** 1357 -|(% style="width:160px" %)**Command Example**|(% style="width:263px" %)**Function**|(% style="width:109px" %)**Response** 1358 -|(% style="width:160px" %)**AT+PNACKMD=1**|(% style="width:263px" %)If the node uploads the ACK as confirm, it will request the server to send an ACK. If the server ack is not received, the node will upload the packets that have not received the ACK the next time it receives the ACK|(% style="width:109px" %)1((( 1255 +(% border="1" style="background-color:#f2f2f2; width:536.222px" %) 1256 +|(% style="background-color:#4f81bd; color:white; width:160px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:263px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:109px" %)**Response** 1257 +|(% style="width:160px" %)AT+PNACKMD=1|(% style="width:263px" %)If the node uploads the ACK as confirm, it will request the server to send an ACK. If the server ack is not received, the node will upload the packets that have not received the ACK the next time it receives the ACK|(% style="width:109px" %)1((( 1359 1359 OK 1360 1360 ))) 1361 -|(% style="width:160px" %) **AT+PNACKMD=0**|(% style="width:263px" %)off request the server to send an ACK|(% style="width:109px" %)(((1260 +|(% style="width:160px" %)AT+PNACKMD=0|(% style="width:263px" %)off request the server to send an ACK|(% style="width:109px" %)((( 1362 1362 0 1363 - 1364 1364 OK 1365 1365 ))) 1366 1366 1265 +(% style="display:none" %) (%%) 1367 1367 1368 - 1369 - 1370 1370 == 7.27 Adjust network rejoining interval == 1371 1371 1372 1372 1373 1373 (% style="color:blue" %)**AT Command: AT+RJTDC** 1374 1374 1375 -(% border="1" style="background-color:#ffffcc; color:green; width:727.222px" %) 1376 -|=(% colspan="3" style="width: 724px;" %)AT+RJTDC 1377 -|(% style="width:165px" %)**Command Example**|(% style="width:227px" %)**Function**|(% style="width:329px" %)**Response** 1378 -|(% style="width:165px" %)AT+RJTDC=?|(% style="width:227px" %)Show the ReJoin data transmission interval in min|(% style="width:329px" %)30000((( 1272 +(% border="1" style="background-color:#f2f2f2; width:727.222px" %) 1273 +|(% style="background-color:#4f81bd; color:white; width:165px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:227px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:329px" %)**Response** 1274 +|(% style="width:165px" %)AT+RJTDC=?|(% style="width:227px" %)Show the ReJoin data transmission interval in min|(% style="width:329px" %)30((( 1379 1379 OK 1380 1380 1381 -the interval is 30 000ms= 30s1277 +the interval is 30 min 1382 1382 ))) 1383 -|(% style="width:165px" %)AT+RJTDC=60 000|(% style="width:227px" %)Set the ReJoin data transmission interval in min|(% style="width:329px" %)OK(((1384 -Set the ReJoin data transmission interval to 60 000ms= 60 seconds1279 +|(% style="width:165px" %)AT+RJTDC=60|(% style="width:227px" %)Set the ReJoin data transmission interval in min|(% style="width:329px" %)OK((( 1280 +Set the ReJoin data transmission interval to 60 min 1385 1385 ))) 1386 1386 1387 1387 (% style="color:blue" %)**Downlink Command: 0x26** ... ... @@ -1390,23 +1390,22 @@ 1390 1390 1391 1391 If the downlink payload=26000A, it means set end node to use confirm mode, while type code is 26. 1392 1392 1393 -* **Example 1:** Downlink Payload: 26000A ~/~/ Set AT+RJTDC=10 1394 -* **Example 2: **Downlink Payload: 260002 ~/~/ Set AT+RJTDC=2 1289 +* **Example 1:** Downlink Payload: 26000A ~/~/ Set AT+RJTDC=10 1290 +* **Example 2: **Downlink Payload: 260002 ~/~/ Set AT+RJTDC=2 1395 1395 1292 +(% style="display:none" %) (%%) 1396 1396 1397 - 1398 - 1399 1399 = 8. AT Commands Combination = 1400 1400 1401 1401 == 8.1 Set a fix RX2DR for downlink window == 1402 1402 1403 1403 1404 -* (% style="color:blue" %)**AT+ADR=0 **(%%) **~-~->** Disable ADR first 1405 -* (% style="color:blue" %)**AT+RX2DR=xxxx** (%%) **~-~->** Set xxxx to your wanted DataRate 1299 +* (% style="color:blue" %)**AT+ADR=0 **(%%) **~/~/** Disable ADR first 1406 1406 1301 +* (% style="color:blue" %)**AT+RX2DR=xxxx** (%%) **~/~/** Set xxxx to your wanted DataRate 1407 1407 1303 +(% style="display:none" %) (%%) 1408 1408 1409 - 1410 1410 == 8.2 Use Downlink Command to set a fix uplink DR == 1411 1411 1412 1412 ... ... @@ -1415,7 +1415,9 @@ 1415 1415 **Same as:** 1416 1416 1417 1417 * AT+ADR=0 [[Reference>>||anchor="H7.1AdaptiveDataRate"]] 1313 + 1418 1418 * AT+DR=5 [[Reference>>||anchor="H7.4DataRate"]] 1315 + 1419 1419 * AT+TXP=0 [[Reference>>||anchor="H7.14TransmitPower"]] 1420 1420 1421 1421