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,10 +14,9 @@ 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 19 ))) 20 20 19 + 21 21 = 2. How to use AT Commands or Downlink command = 22 22 23 23 ... ... @@ -29,22 +29,14 @@ 29 29 30 30 (% style="display:none" %) (%%) 31 31 32 - 33 33 = 3. Support End Node and firmware version = 34 34 35 35 36 -(% border="1" style="background-color:#ffffcc; color:green; width:966px" %) 37 -|=(% colspan="3" style="width: 963px;" %)((( 38 38 Dragino STM32 base hardware Firmware / LoRaWAN stack list 39 -))) 35 + 36 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:966px" %) 37 +|(% style="background-color:#4f81bd; color:white; width:187px" %)**Model**|(% style="background-color:#4f81bd; color:white; width:330px" %)**Description**|(% style="background-color:#4f81bd; color:white; width:445px" %)**Firmware Version <~-~-> Stack Version** 40 40 |(% style="width:187px" %)((( 41 -**Model** 42 -)))|(% style="width:330px" %)((( 43 -**Description** 44 -)))|(% style="width:445px" %)((( 45 -**Firmware Version <~-~-> Stack Version** 46 -))) 47 -|(% style="width:187px" %)((( 48 48 [[LSN50-v1>>url:http://www.dragino.com/products/lora-lorawan-end-node/item/128-lsn50.html]], [[LSN50-V2>>url:http://www.dragino.com/products/lora-lorawan-end-node/item/155-lsn50-v2.html]], 49 49 )))|(% style="width:330px" %)((( 50 50 Open Source Generic LoRaWAN Sensor Node ... ... @@ -104,6 +104,8 @@ 104 104 ))) 105 105 ))) 106 106 98 +(% style="display:none" %) (%%) 99 + 107 107 = 4. System Management Commands = 108 108 109 109 == 4.1 Change Uplink Interval == ... ... @@ -114,9 +114,8 @@ 114 114 115 115 (% style="color:blue" %)**AT Command: AT+TDC** 116 116 117 -(% border="1" style="background-color:#ffffcc; color:green; width:727.222px" %) 118 -|=(% colspan="3" style="width: 724px;" %)AT+TDC 119 -|(% style="width:165px" %)**Command Example**|(% style="width:227px" %)**Function**|(% style="width:329px" %)**Response** 110 +(% border="1" style="background-color:#f2f2f2; width:727.222px" %) 111 +|(% 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** 120 120 |(% style="width:165px" %)AT+TDC=?|(% style="width:227px" %)Show current transmit Interval|(% style="width:329px" %)30000((( 121 121 OK 122 122 ... ... @@ -127,8 +127,6 @@ 127 127 ))) 128 128 129 129 ((( 130 - 131 - 132 132 (% style="color:blue" %)**Downlink Command: 0x01** 133 133 134 134 Format: Command Code (0x01) followed by 3 bytes time value. ... ... @@ -141,6 +141,8 @@ 141 141 * **Example 1**: Downlink Payload:** 0100001E** ~/~/ Set Transmit Interval (TDC) = 30 seconds 142 142 * **Example 2**: Downlink Payload:** 0100003C** ~/~/ Set Transmit Interval (TDC) = 60 seconds 143 143 134 +(% style="display:none" %) (%%) 135 + 144 144 == 4.2 Reboot End Node == 145 145 146 146 ... ... @@ -147,11 +147,10 @@ 147 147 Feature: Reboot End Node to perform a new OTAA or ABP Join. 148 148 149 149 150 -(% style="color:blue" %)**AT Command: ATZ** 142 +(% style="color:blue" %)**AT Command: ATZ ~/~/ **(%%)Trig a reset of the MCU 151 151 152 -(% border="1" style="background-color:#ffffcc; color:green; width:546px" %) 153 -|=(% colspan="3" style="width: 543px;" %)ATZ: Trig a reset of the MCU 154 -|(% style="width:157px" %)**Command Example**|(% style="width:92px" %)**Function**|(% style="width:294px" %)**Response** 144 +(% border="1" style="background-color:#f2f2f2; width:546px" %) 145 +|(% 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** 155 155 |(% style="width:157px" %)ATZ|(% style="width:92px" %)Reset MCU|(% style="width:294px" %)((( 156 156 Device reset and show booting info 157 157 ... ... @@ -173,11 +173,10 @@ 173 173 ))) 174 174 175 175 ((( 176 -If the downlink payload=**04FF**, the end node will reboot. 177 - 178 - 167 +If the downlink payload=**04FF**, the end node will reboot. 179 179 ))) 180 180 170 + 181 181 == 4.3 Reset to factory Default == 182 182 183 183 ... ... @@ -184,11 +184,10 @@ 184 184 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. 185 185 186 186 187 -(% style="color:blue" %)**AT Command: AT+FDR** 177 +(% style="color:blue" %)**AT Command: AT+FDR ~/~/ **(%%)Reset to factory default 188 188 189 -(% border="1" style="background-color:#ffffcc; color:green; width:789px" %) 190 -|=(% colspan="3" style="width: 786px;" %)Reset to factory default 191 -|(% style="width:154px" %)**Command Example**|(% style="width:175px" %)**Function**|(% style="width:456px" %)**Response** 179 +(% border="1" style="background-color:#f2f2f2; width:789px" %) 180 +|(% 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** 192 192 |(% style="width:154px" %)AT+FDR|(% style="width:175px" %)Reset to factory default|(% style="width:456px" %)((( 193 193 Device reset to factory default parameters and show booting info 194 194 ... ... @@ -220,11 +220,10 @@ 220 220 Feature: Show firmware version. No downlink command yet. 221 221 222 222 223 -(% style="color:blue" %)**AT Command: AT+VER** 212 +(% style="color:blue" %)**AT Command: AT+VER ~/~/ **(%%)Image Version and Frequency Band 224 224 225 -(% border="1" style="background-color:#ffffcc; color:green; width:542px" %) 226 -|=(% colspan="3" style="width: 539px;" %)AT+VER: Image Version and Frequency Band 227 -|(% style="width:157px" %)**Command Example**|(% style="width:295px" %)**Function**|(% style="width:86px" %)**Response** 214 +(% border="1" style="background-color:#f2f2f2; width:542px" %) 215 +|(% 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** 228 228 |(% style="width:157px" %)AT+VER=?|(% style="width:295px" %)Show Image version and Frequency Band|(% style="width:86px" %)((( 229 229 1.3 EU868 230 230 ... ... @@ -244,7 +244,7 @@ 244 244 ((( 245 245 246 246 247 -**xx: Software Type:** 235 +(% style="color:#037691" %)**xx: Software Type:** 248 248 ))) 249 249 250 250 * 0x00 01: LGT92 Version ... ... @@ -254,7 +254,7 @@ 254 254 ((( 255 255 256 256 257 -**yy: Frequency Band:** 245 +(% style="color:#037691" %)**yy: Frequency Band:** 258 258 ))) 259 259 260 260 * 0x01: EU868 ... ... @@ -271,7 +271,7 @@ 271 271 ((( 272 272 273 273 274 -**zz: Subband** 262 +(% style="color:#037691" %)**zz: Subband** 275 275 ))) 276 276 277 277 firmware version: v1.1.0 ~-~-> 110 ... ... @@ -283,25 +283,21 @@ 283 283 Feature: Show All configure. No downlink command yet. 284 284 285 285 286 -(% style="color:blue" %)**AT Command: AT+CFG** 274 +(% style="color:blue" %)**AT Command: AT+CFG ~/~/ **(%%)Print all configurations 287 287 288 -(% border="1" style="background-color:#ffffcc; color:green; width:599.222px" %) 289 -|=(% colspan="3" style="width: 596px;" %)AT+CFG: Print all configurations 290 -|(% style="width:160px" %)**Command Example**|(% style="width:154px" %)**Function**|(% style="width:280px" %)**Response** 276 +(% border="1" style="background-color:#f2f2f2; width:599.222px" %) 277 +|(% 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** 291 291 |(% style="width:160px" %)AT+CFG|(% style="width:154px" %)Show all configures|(% style="width:280px" %)((( 292 292 AT+DEUI = XX XX XX XX XX XX XX XX 293 - 294 294 AT+DADDR=XXXXXXXX 295 - 296 296 ………. 297 - 298 298 AT+RX2WTO=X 299 - 300 300 AT+CHS=868100000 301 - 302 302 OK 303 303 ))) 304 304 287 +(% style="display:none" %) (%%) 288 + 305 305 = 5. Keys, IDs and EUIs management = 306 306 307 307 == 5.1 Application EUI == ... ... @@ -312,14 +312,15 @@ 312 312 313 313 (% style="color:blue" %)**AT Command: AT+APPEUI** 314 314 315 -(% border="1" style="background-color:#ffffcc; color:green; width:686.222px" %) 316 -|=(% colspan="3" style="width: 683px;" %)AT+APPEUI 317 -|(% style="width:305px" %)**Command Example**|(% style="width:186px" %)**Function**|(% style="width:191px" %)**Response** 299 +(% border="1" style="background-color:#f2f2f2; width:686.222px" %) 300 +|(% 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** 318 318 |(% style="width:305px" %)AT+APPEUI=?|(% style="width:186px" %)Get the Application EUI|(% style="width:191px" %)00 b3 d5 00 00 00 00 00((( 319 319 OK 320 320 ))) 321 321 |(% style="width:305px" %)AT+APPEUI=00 b3 d5 7e f0 00 4d 34|(% style="width:186px" %)Set the Application EUI|(% style="width:191px" %)OK 322 322 306 +(% style="display:none" %) (%%) 307 + 323 323 == 5.2 Application Key == 324 324 325 325 ... ... @@ -328,14 +328,15 @@ 328 328 329 329 (% style="color:blue" %)**AT Command: AT+APPKEY** 330 330 331 -(% border="1" style="background-color:#ffffcc; color:green; width:976.222px" %) 332 -|=(% colspan="3" style="width: 973px;" %)AT+APPKEY 333 -|(% style="width:441px" %)**Command Example**|(% style="width:180px" %)**Function**|(% style="width:350px" %)**Response** 316 +(% border="1" style="background-color:#f2f2f2; width:976.222px" %) 317 +|(% 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** 334 334 |(% 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((( 335 335 OK 336 336 ))) 337 337 |(% 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 338 338 323 +(% style="display:none" %) (%%) 324 + 339 339 == 5.3 Application Session Key == 340 340 341 341 ... ... @@ -344,9 +344,8 @@ 344 344 345 345 (% style="color:blue" %)**AT Command: AT+APPSKEY** 346 346 347 -(% border="1" style="background-color:#ffffcc; color:green; width:1040.22px" %) 348 -|=(% colspan="3" style="width: 1037px;" %)AT+APPSKEY 349 -|(% style="width:451px" %)**Command Example**|(% style="width:231px" %)**Function**|(% style="width:354px" %)**Response** 333 +(% border="1" style="background-color:#f2f2f2; width:1040.22px" %) 334 +|(% 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** 350 350 |(% 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((( 351 351 OK 352 352 ))) ... ... @@ -354,6 +354,8 @@ 354 354 OK 355 355 ))) 356 356 342 +(% style="display:none" %) (%%) 343 + 357 357 == 5.4 Device Address == 358 358 359 359 ... ... @@ -362,9 +362,8 @@ 362 362 363 363 (% style="color:blue" %)**AT Command: AT+DADDR** 364 364 365 -(% border="1" style="background-color:#ffffcc; color:green; width:795.222px" %) 366 -|=(% colspan="3" style="width: 792px;" %)AT+DADDR 367 -|(% style="width:192px" %)**Command Example**|(% style="width:241px" %)**Function**|(% style="width:359px" %)**Response** 352 +(% border="1" style="background-color:#f2f2f2; width:795.222px" %) 353 +|(% 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** 368 368 |(% style="width:192px" %)AT+DADDR=?|(% style="width:241px" %)Get the Application Session Key.|(% style="width:359px" %)(While Error in format, return AT_PARAM_ERROR)((( 369 369 A8 40 41 FF 370 370 ... ... @@ -372,6 +372,8 @@ 372 372 ))) 373 373 |(% style="width:192px" %)AT+DADDR=A8 40 41 FF|(% style="width:241px" %)Set the Application Session Key.|(% style="width:359px" %)OK 374 374 361 +(% style="display:none" %) (%%) 362 + 375 375 == 5.5 Device EUI == 376 376 377 377 ... ... @@ -380,9 +380,8 @@ 380 380 381 381 (% style="color:blue" %)**AT Command: AT+DEUI** 382 382 383 -(% border="1" style="background-color:#ffffcc; color:green; width:1035.22px" %) 384 -|=(% colspan="3" style="width: 1032px;" %)AT+DEUI 385 -|(% style="width:250px" %)**Command Example**|(% style="width:147px" %)**Function**|(% style="width:634px" %)**Response** 371 +(% border="1" style="background-color:#f2f2f2; width:1035.22px" %) 372 +|(% 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** 386 386 |(% style="width:250px" %)AT+DEUI=?|(% style="width:147px" %)Get the Device EUI.|(% style="width:634px" %)00 44 34 22 33 45 55 55((( 387 387 OK 388 388 ))) ... ... @@ -390,6 +390,8 @@ 390 390 OK 391 391 ))) 392 392 380 +(% style="display:none" %) (%%) 381 + 393 393 == 5.6 Network ID == 394 394 395 395 ... ... @@ -398,14 +398,15 @@ 398 398 399 399 (% style="color:blue" %)**AT Command: AT+NWKID** 400 400 401 -(% border="1" style="background-color:#ffffcc; color:green; width:448.222px" %) 402 -|=(% colspan="3" style="width: 445px;" %)AT+NWKID 403 -|(% style="width:191px" %)**Command Example**|(% style="width:153px" %)**Function**|(% style="width:101px" %)**Response** 390 +(% border="1" style="background-color:#f2f2f2; width:448.222px" %) 391 +|(% 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** 404 404 |(% style="width:191px" %)AT+NWKID=?|(% style="width:153px" %)Get the Network ID.|(% style="width:101px" %)a8 40 41 ff((( 405 405 OK 406 406 ))) 407 407 |(% style="width:191px" %)AT+NWKID=A8 40 41 FF|(% style="width:153px" %)Set the Network ID.|(% style="width:101px" %)OK 408 408 397 +(% style="display:none" %) (%%) 398 + 409 409 == 5.7 Network Session Key == 410 410 411 411 ... ... @@ -414,14 +414,15 @@ 414 414 415 415 (% style="color:blue" %)**AT Command: AT+NWKSKEY** 416 416 417 -(% border="1" style="background-color:#ffffcc; color:green; width:1017.22px" %) 418 -|=(% colspan="3" style="width: 1014px;" %)AT+NWKSKEY 419 -|(% style="width:455px" %)**Command Example**|(% style="width:215px" %)**Function**|(% style="width:343px" %)**Response** 407 +(% border="1" style="background-color:#f2f2f2; width:1017.22px" %) 408 +|(% 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** 420 420 |(% 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((( 421 421 OK 422 422 ))) 423 423 |(% 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 424 424 414 +(% style="display:none" %) (%%) 415 + 425 425 = 6. Joining and sending date on LoRaWAN network = 426 426 427 427 == 6.1 Confirm Mode == ... ... @@ -434,9 +434,8 @@ 434 434 435 435 (% style="color:blue" %)**AT Command: AT+CFM** 436 436 437 -(% border="1" style="background-color:#ffffcc; color:green; width:710.222px" %) 438 -|=(% colspan="3" style="width: 707px;" %)AT+CFM 439 -|(% style="width:155px" %)**Command Example**|(% style="width:205px" %)**Function**|(% style="width:346px" %)**Response** 428 +(% border="1" style="background-color:#f2f2f2; width:710.222px" %) 429 +|(% 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** 440 440 |(% style="width:155px" %)AT+CFM=?|(% style="width:205px" %)Get the confirmation mode|(% style="width:346px" %)0((( 441 441 OK 442 442 ))) ... ... @@ -452,14 +452,15 @@ 452 452 * **Example 1:** Downlink Payload: 0501 ~/~/ Set AT+CFM=1 453 453 * **Example 2:** Downlink Payload: 0500 ~/~/ Set AT+CFM=0 454 454 445 +(% style="display:none" %) (%%) 446 + 455 455 === 6.1.2 AT+CFM command since DR-LWS007 software stack === 456 456 457 457 458 458 (% style="color:blue" %)**AT Command: AT+CFM** 459 459 460 -(% border="1" style="background-color:#ffffcc; color:green; width:710.222px" %) 461 -|=(% colspan="3" style="width: 707px;" %)AT+CFM 462 -|(% style="width:160px" %)**Command Example**|(% style="width:198px" %)**Function**|(% style="width:349px" %)**Response** 452 +(% border="1" style="background-color:#f2f2f2; width:710.222px" %) 453 +|(% 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** 463 463 |(% style="width:160px" %)((( 464 464 AT+CFM=1,0,0 465 465 ... ... @@ -497,6 +497,8 @@ 497 497 * **Example 1:** Downlink Payload: 05010101 ~/~/ Set AT+CFM=1,1,1 498 498 * **Example 2:** Downlink Payload: 05000700 ~/~/ Set AT+CFM=0,7,0 499 499 491 +(% style="display:none" %) (%%) 492 + 500 500 == 6.2 Confirm Status == 501 501 502 502 ... ... @@ -505,13 +505,14 @@ 505 505 506 506 (% style="color:blue" %)**AT Command: AT+CFS** 507 507 508 -(% border="1" style="background-color:#ffffcc; color:green; width:463px" %) 509 -|=(% colspan="3" style="width: 460px;" %)AT+CFS 510 -|(% style="width:156px" %)**Command Example**|(% style="width:193px" %)**Function**|(% style="width:107px" %)**Response** 501 +(% border="1" style="background-color:#f2f2f2; width:463px" %) 502 +|(% 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** 511 511 |(% style="width:156px" %)AT+CFS=?|(% style="width:193px" %)Get confirmation status|(% style="width:107px" %)0((( 512 512 OK 513 513 ))) 514 514 507 +(% style="display:none" %) (%%) 508 + 515 515 == 6.3 Join LoRa® Network == 516 516 517 517 ... ... @@ -520,15 +520,15 @@ 520 520 521 521 (% style="color:blue" %)**AT Command: AT+JOIN** 522 522 523 -(% border="1" style="background-color:#ffffcc; color:green; width:647.222px" %) 524 -|=(% colspan="3" style="width: 644px;" %)AT+JOIN 525 -|(% style="width:163px" %)**Command Example**|(% style="width:147px" %)**Function**|(% style="width:334px" %)**Response** 517 +(% border="1" style="background-color:#f2f2f2; width:647.222px" %) 518 +|(% 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** 526 526 |(% style="width:163px" %)AT+JOIN ?|(% style="width:147px" %)Get imformation.|(% style="width:334px" %)AT+JOIN: Join network((( 527 527 OK 528 - 529 529 While Error in format, return AT_BUSY_ERROR 530 530 ))) 531 531 524 +(% style="display:none" %) (%%) 525 + 532 532 == 6.4 LoRa® Network Join Mode == 533 533 534 534 ... ... @@ -537,9 +537,8 @@ 537 537 538 538 (% style="color:blue" %)**AT Command: AT+NJM** 539 539 540 -(% border="1" style="background-color:#ffffcc; color:green; width:753.222px" %) 541 -|=(% colspan="3" style="width: 750px;" %)AT+NJM 542 -|(% style="width:162px" %)**Command Example**|(% style="width:227px" %)**Function**|(% style="width:361px" %)**Response** 534 +(% border="1" style="background-color:#f2f2f2; width:753.222px" %) 535 +|(% 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** 543 543 |(% style="width:162px" %)AT+NJM=?|(% style="width:227px" %)Get the Network Join Mode|(% style="width:361px" %)1((( 544 544 OK 545 545 ))) ... ... @@ -555,6 +555,8 @@ 555 555 * **Example 1: **Downlink Payload: **2000 ** ~/~/ Set AT+NJM=0 556 556 * **Example 2:** Downlink Payload: **2001** ~/~/ Set AT+NJM=1 557 557 551 +(% style="display:none" %) (%%) 552 + 558 558 == 6.5 LoRa® Network Join Status == 559 559 560 560 ... ... @@ -563,13 +563,14 @@ 563 563 564 564 (% style="color:blue" %)**AT Command: AT+NJS** 565 565 566 -(% border="1" style="background-color:#ffffcc; color:green; width:498.222px" %) 567 -|=(% colspan="3" style="width: 495px;" %)AT+NJS 568 -|(% style="width:169px" %)**Command Example**|(% style="width:164px" %)**Function**|(% style="width:161px" %)**Response** 561 +(% border="1" style="background-color:#f2f2f2; width:498.222px" %) 562 +|(% 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** 569 569 |(% style="width:169px" %)AT+NJS=?|(% style="width:164px" %)Get the join status.|(% style="width:161px" %)0((( 570 570 OK 571 571 ))) 572 572 567 +(% style="display:none" %) (%%) 568 + 573 573 == 6.6 Print Last Received Data in Raw Format == 574 574 575 575 ... ... @@ -578,13 +578,14 @@ 578 578 579 579 (% style="color:blue" %)**AT Command: AT+RECV** 580 580 581 -(% border="1" style="background-color:#ffffcc; color:green; width:587.222px" %) 582 -|=(% colspan="3" style="width: 584px;" %)AT+RECV 583 -|(% style="width:161px" %)**Command Example**|(% style="width:272px" %)**Function**|(% style="width:150px" %)**Response** 577 +(% border="1" style="background-color:#f2f2f2; width:587.222px" %) 578 +|(% 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** 584 584 |(% style="width:161px" %)AT+RECV=?|(% style="width:272px" %)print last received data in raw format.|(% style="width:150px" %)0:((( 585 585 OK 586 586 ))) 587 587 583 +(% style="display:none" %) (%%) 584 + 588 588 == 6.7 Print Last Received Data in Binary Format == 589 589 590 590 ... ... @@ -593,13 +593,14 @@ 593 593 594 594 (% style="color:blue" %)**AT Command: AT+RECVB** 595 595 596 -(% border="1" style="background-color:#ffffcc; color:green; width:793.222px" %) 597 -|=(% colspan="3" style="width: 790px;" %)AT+RECVB 598 -|(% style="width:173px" %)**Command Example**|(% style="width:497px" %)**Function**|(% style="width:120px" %)**Response** 593 +(% border="1" style="background-color:#f2f2f2; width:793.222px" %) 594 +|(% 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** 599 599 |(% style="width:173px" %)AT+RECVB=?|(% style="width:497px" %)print last received data in binary format (with hexadecimal values).|(% style="width:120px" %)2: 0010((( 600 600 OK 601 601 ))) 602 602 599 +(% style="display:none" %) (%%) 600 + 603 603 == 6.8 Send Text Data == 604 604 605 605 ... ... @@ -608,17 +608,15 @@ 608 608 609 609 (% style="color:blue" %)**AT Command: AT+SEND** 610 610 611 -(% border="1" style="background-color:#ffffcc; color:green; width:991.222px" %) 612 -|=(% colspan="3" style="width: 988px;" %)AT+SEND 613 -|(% style="width:201px" %)**Command Example**|(% style="width:340px" %)**Function**|(% style="width:446px" %)**Response** 609 +(% border="1" style="background-color:#f2f2f2; width:991.222px" %) 610 +|(% 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** 614 614 |(% style="width:201px" %)AT+SEND=12:hello world|(% style="width:340px" %)Send text data along with the application port.|(% style="width:446px" %)OK((( 615 615 While Error in format, return 616 - 617 617 AT_BUSY_ERROR/AT_BUSY_ERROR/AT_NO_NETWORK_JOINED 618 - 619 - 620 620 ))) 621 621 616 +(% style="display:none" %) (%%) 617 + 622 622 == 6.9 Send Hexadecimal Data == 623 623 624 624 ... ... @@ -627,16 +627,15 @@ 627 627 628 628 (% style="color:blue" %)**AT Command: AT+SENDB** 629 629 630 -(% border="1" style="background-color:#ffffcc; color:green; width:1101px" %) 631 -|=(% colspan="3" style="width: 1098px;" %)AT+SENDB 632 -|(% style="width:257px" %)**Command Example**|(% style="width:394px" %)**Function**|(% style="width:446px" %)**Response** 633 -|(% style="width:257px" %)AT+SENDB=12:abcdef0123456789|(% style="width:394px" %)Send hexadecimal data along with the application port.|(% style="width:446px" %)OK 634 -|(% 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((( 635 -AT_PARAM_ERROR AT_BUSY_ERROR/AT_NO_NETWORK_JOINED 636 - 637 - 626 +(% border="1" style="width:974px" %) 627 +|(% 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** 628 +|(% style="width:257px" %)AT+SENDB=12:abcdef0123456789|(% style="width:394px" %)Send hexadecimal data along with the application port.|(% style="width:318px" %)OK 629 +|(% 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((( 630 +AT_PARAM_ERROR AT_BUSY_ERROR/AT_NO_NETWORK_JOINED 638 638 ))) 639 639 633 +(% style="display:none" %) (%%) 634 + 640 640 = 7. LoRaWAN network management = 641 641 642 642 == 7.1 Adaptive Data Rate == ... ... @@ -647,14 +647,13 @@ 647 647 648 648 (% style="color:blue" %)**AT Command: AT+ADR** 649 649 650 -(% border="1" style="background-color:#ffffcc; color:green; width:683.222px" %) 651 -|=(% colspan="3" style="width: 680px;" %)AT+ADR 652 -|(% style="width:162px" %)**Command Example**|(% style="width:266px" %)**Function**|(% style="width:250px" %)**Response** 653 -|(% style="width:162px" %)AT+ADR=?|(% style="width:266px" %)Get the Adaptive Data Rate setting.|(% style="width:250px" %)1((( 645 +(% border="1" style="width:643px" %) 646 +|(% 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** 647 +|(% style="width:162px" %)AT+ADR=?|(% style="width:266px" %)Get the Adaptive Data Rate setting.|(% style="width:209px" %)1((( 654 654 OK 655 655 ))) 656 -|(% style="width:162px" %)AT+ADR=0|(% style="width:266px" %)Set the Adaptive Data Rate setting.|(% style="width:2 50px" %)OK657 -|(% style="width:162px" %)AT+ADR=2|(% style="width:266px" %)Set the Adaptive Data Rate setting.|(% style="width:2 50px" %)While Error in format, return(((650 +|(% style="width:162px" %)AT+ADR=0|(% style="width:266px" %)Set the Adaptive Data Rate setting.|(% style="width:209px" %)OK 651 +|(% style="width:162px" %)AT+ADR=2|(% style="width:266px" %)Set the Adaptive Data Rate setting.|(% style="width:209px" %)While Error in format, return((( 658 658 AT_PARAM_ERROR 659 659 ))) 660 660 ... ... @@ -665,6 +665,8 @@ 665 665 * **Example 1**: Downlink Payload: **2201** ~/~/ Set AT+ADR=1. 666 666 * **Example 2**: Downlink Payload: **2200FFFF** ~/~/ Set AT+ADR=0. 667 667 662 +(% style="display:none" %) (%%) 663 + 668 668 == 7.2 LoRa® Class == 669 669 670 670 ... ... @@ -673,9 +673,8 @@ 673 673 674 674 (% style="color:blue" %)**AT Command: AT+CLASS** 675 675 676 -(% border="1" style="background-color:#ffffcc; color:green; width:507.222px" %) 677 -|=(% colspan="3" style="width: 504px;" %)AT+CLASS 678 -|(% style="width:163px" %)**Command Example**|(% style="width:166px" %)**Function**|(% style="width:175px" %)**Response** 672 +(% border="1" style="background-color:#f2f2f2; width:507.222px" %) 673 +|(% 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** 679 679 |(% style="width:163px" %)AT+CLASS=?|(% style="width:166px" %)Get the Device Class.|(% style="width:175px" %)A((( 680 680 OK 681 681 ))) ... ... @@ -683,17 +683,23 @@ 683 683 684 684 ))) 685 685 681 +(% style="display:none" %) 682 + 683 +(% style="color:red" %)**Notice:** 684 + 685 +* Run AT+FDR before running AT+CLASS=C 686 +* 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. 687 + 686 686 == 7.3 Duty Cycle Setting == 687 687 688 688 689 -Feature: Get or Set the ETSI Duty Cycle setting** -0**=disable, **1**=enable - Only for testing.691 +Feature: Get or Set the ETSI Duty Cycle setting** : 0**=disable, **1**=enable - Only for testing. 690 690 691 691 692 692 (% style="color:blue" %)**AT Command: AT+DCS** 693 693 694 -(% border="1" style="background-color:#ffffcc; color:green; width:515.222px" %) 695 -|=(% colspan="3" style="width: 512px;" %)AT+DCS 696 -|(% style="width:165px" %)**Command Example**|(% style="width:239px" %)**Function**|(% style="width:107px" %)**Response** 696 +(% border="1" style="background-color:#f2f2f2; width:515.222px" %) 697 +|(% 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** 697 697 |(% style="width:165px" %)AT+DCS=?|(% style="width:239px" %)Get the ETSI Duty Cycle setting.|(% style="width:107px" %)1((( 698 698 OK 699 699 ))) ... ... @@ -701,6 +701,8 @@ 701 701 702 702 ))) 703 703 705 +(% style="display:none" %) (%%) 706 + 704 704 == 7.4 Data Rate == 705 705 706 706 ... ... @@ -714,9 +714,8 @@ 714 714 715 715 (% style="color:blue" %)**AT Command: AT+DR** 716 716 717 -(% border="1" style="background-color:#ffffcc; color:green; width:466.222px" %) 718 -|=(% colspan="3" style="width: 463px;" %)AT+DR 719 -|(% style="width:156px" %)**Command Example**|(% style="width:167px" %)**Function**|(% style="width:140px" %)**Response** 720 +(% border="1" style="background-color:#f2f2f2; width:466.222px" %) 721 +|(% 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** 720 720 |(% style="width:156px" %)AT+DR=?|(% style="width:167px" %)Get the Data Rate.|(% style="width:140px" %)5((( 721 721 OK 722 722 ))) ... ... @@ -731,6 +731,8 @@ 731 731 * **Example 1**: Downlink Payload: **220001FF** ~/~/ Set AT+DR=1. 732 732 * **Example 2**: Downlink Payload: **220000FF** ~/~/ Set AT+DR=0. 733 733 736 +(% style="display:none" %) (%%) 737 + 734 734 == 7.5 Frame Counter Downlink == 735 735 736 736 ... ... @@ -739,9 +739,8 @@ 739 739 740 740 (% style="color:blue" %)**AT Command: AT+FCD** 741 741 742 -(% border="1" style="background-color:#ffffcc; color:green; width:693.222px" %) 743 -|=(% colspan="3" style="width: 690px;" %)AT+FCD 744 -|(% style="width:162px" %)**Command Example**|(% style="width:258px" %)**Function**|(% style="width:269px" %)**Response** 746 +(% border="1" style="background-color:#f2f2f2; width:693.222px" %) 747 +|(% 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** 745 745 |(% style="width:162px" %)AT+FCD=?|(% style="width:258px" %)Get the Frame Counter Downlink.|(% style="width:269px" %)0((( 746 746 OK 747 747 ))) ... ... @@ -749,6 +749,8 @@ 749 749 OK 750 750 ))) 751 751 755 +(% style="display:none" %) (%%) 756 + 752 752 == 7.6 Frame Counter Uplink == 753 753 754 754 Feature: Get or Set the Frame Counter Uplink. ... ... @@ -756,9 +756,8 @@ 756 756 757 757 (% style="color:blue" %)**AT Command: AT+FCU** 758 758 759 -(% border="1" style="background-color:#ffffcc; color:green; width:534.222px" %) 760 -|=(% colspan="3" style="width: 531px;" %)AT+FCU 761 -|(% style="width:177px" %)**Command Example**|(% style="width:239px" %)**Function**|(% style="width:113px" %)**Response** 764 +(% border="1" style="background-color:#f2f2f2; width:534.222px" %) 765 +|(% 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** 762 762 |(% style="width:177px" %)AT+FCU=?|(% style="width:239px" %)Get the Frame Counter Uplink.|(% style="width:113px" %)0((( 763 763 OK 764 764 ))) ... ... @@ -766,6 +766,8 @@ 766 766 767 767 ))) 768 768 773 +(% style="display:none" %) (%%) 774 + 769 769 == 7.7 Join Accept Delay1 == 770 770 771 771 ... ... @@ -774,9 +774,8 @@ 774 774 775 775 (% style="color:blue" %)**AT Command: AT+JN1DL** 776 776 777 -(% border="1" style="background-color:#ffffcc; color:green; width:537.222px" %) 778 -|=(% colspan="3" style="width: 534px;" %)AT+JN1DL 779 -|(% style="width:164px" %)**Command Example**|(% style="width:229px" %)**Function**|(% style="width:140px" %)**Response** 783 +(% border="1" style="background-color:#f2f2f2; width:537.222px" %) 784 +|(% 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** 780 780 |(% style="width:164px" %)AT+JN1DL=?|(% style="width:229px" %)Get the Join Accept Delay.|(% style="width:140px" %)5000((( 781 781 OK 782 782 ))) ... ... @@ -784,6 +784,8 @@ 784 784 785 785 ))) 786 786 792 +(% style="display:none" %) (%%) 793 + 787 787 == 7.8 Join Accept Delay2 == 788 788 789 789 ... ... @@ -792,9 +792,8 @@ 792 792 793 793 (% style="color:blue" %)**AT Command: AT+JN2DL** 794 794 795 -(% border="1" style="background-color:#ffffcc; color:green; width:538.222px" %) 796 -|=(% colspan="3" style="width: 535px;" %)AT+JN2DL 797 -|(% style="width:160px" %)**Command Example**|(% style="width:228px" %)**Function**|(% style="width:146px" %)**Response** 802 +(% border="1" style="background-color:#f2f2f2; width:538.222px" %) 803 +|(% 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** 798 798 |(% style="width:160px" %)AT+JN2DL=?|(% style="width:228px" %)Get the Join Accept Delay.|(% style="width:146px" %)6000((( 799 799 OK 800 800 ))) ... ... @@ -802,6 +802,8 @@ 802 802 803 803 ))) 804 804 811 +(% style="display:none" %) (%%) 812 + 805 805 == 7.9 Public Network Mode == 806 806 807 807 ... ... @@ -812,9 +812,8 @@ 812 812 813 813 (% style="color:blue" %)**AT Command: AT+PNM** 814 814 815 -(% border="1" style="background-color:#ffffcc; color:green; width:667.222px" %) 816 -|=(% colspan="3" style="width: 664px;" %)AT+PNM 817 -|(% style="width:166px" %)**Command Example**|(% style="width:225px" %)**Function**|(% style="width:272px" %)**Response** 823 +(% border="1" style="background-color:#f2f2f2; width:667.222px" %) 824 +|(% 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** 818 818 |(% style="width:166px" %)AT+PNM=?|(% style="width:225px" %)Get the public network mode.|(% style="width:272px" %)1((( 819 819 OK 820 820 ))) ... ... @@ -829,6 +829,8 @@ 829 829 ))) 830 830 |(% style="width:166px" %)AT+PNM=0|(% style="width:225px" %)Set to use private network autoset syncword=0x12|(% style="width:272px" %) 831 831 839 +(% style="display:none" %) (%%) 840 + 832 832 == 7.10 Receive Delay1 == 833 833 834 834 ... ... @@ -837,9 +837,8 @@ 837 837 838 838 (% style="color:blue" %)**AT Command: AT+RX1DL** 839 839 840 -(% border="1" style="background-color:#ffffcc; color:green; width:408.222px" %) 841 -|=(% colspan="3" style="width: 405px;" %)AT+RX1DL 842 -|(% style="width:155px" %)**Command Example**|(% style="width:128px" %)**Function**|(% style="width:122px" %)**Response** 849 +(% border="1" style="background-color:#f2f2f2; width:408.222px" %) 850 +|(% 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** 843 843 |(% style="width:155px" %)AT+RX1DL=?|(% style="width:128px" %)Get the delay.|(% style="width:122px" %)1000((( 844 844 OK 845 845 ))) ... ... @@ -847,6 +847,8 @@ 847 847 848 848 ))) 849 849 858 +(% style="display:none" %) (%%) 859 + 850 850 == 7.11 Receive Delay2 == 851 851 852 852 ... ... @@ -855,9 +855,8 @@ 855 855 856 856 (% style="color:blue" %)**AT Command: AT+RX2DL** 857 857 858 -(% border="1" style="background-color:#ffffcc; color:green; width:481.222px" %) 859 -|=(% colspan="3" style="width: 478px;" %)AT+RX2DL 860 -|(% style="width:175px" %)**Command Example**|(% style="width:152px" %)**Function**|(% style="width:150px" %)**Response** 868 +(% border="1" style="background-color:#f2f2f2; width:481.222px" %) 869 +|(% 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** 861 861 |(% style="width:175px" %)AT+RX2DL=?|(% style="width:152px" %)Get the delay.|(% style="width:150px" %)2000((( 862 862 OK 863 863 ))) ... ... @@ -865,6 +865,8 @@ 865 865 866 866 ))) 867 867 877 +(% style="display:none" %) (%%) 878 + 868 868 == 7.12 Rx2 Window Data Rate == 869 869 870 870 ... ... @@ -873,9 +873,8 @@ 873 873 874 874 (% style="color:blue" %)**AT Command: AT+RX2DR** 875 875 876 -(% border="1" style="background-color:#ffffcc; color:green; width:525.222px" %) 877 -|=(% colspan="3" style="width: 522px;" %)AT+RX2DR 878 -|(% style="width:160px" %)**Command Example**|(% style="width:232px" %)**Function**|(% style="width:130px" %)**Response** 887 +(% border="1" style="background-color:#f2f2f2; width:525.222px" %) 888 +|(% 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** 879 879 |(% style="width:160px" %)AT+RX2DR=?|(% style="width:232px" %)Get the Rx2 window data rate.|(% style="width:130px" %)2((( 880 880 OK 881 881 ))) ... ... @@ -883,6 +883,8 @@ 883 883 884 884 ))) 885 885 896 +(% style="display:none" %) (%%) 897 + 886 886 == 7.13 Rx2 Window Frequency == 887 887 888 888 ... ... @@ -891,9 +891,8 @@ 891 891 892 892 (% style="color:blue" %)**AT Command: AT+RX2FQ** 893 893 894 -(% border="1" style="background-color:#ffffcc; color:green; width:587.222px" %) 895 -|=(% colspan="3" style="width: 584px;" %)AT+RX2FQ 896 -|(% style="width:183px" %)**Command Example**|(% style="width:240px" %)**Function**|(% style="width:160px" %)**Response** 906 +(% border="1" style="background-color:#f2f2f2; width:587.222px" %) 907 +|(% 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** 897 897 |(% style="width:183px" %)AT+RX2FQ=?|(% style="width:240px" %)Get the Rx2 window frequency.|(% style="width:160px" %)434665000((( 898 898 OK 899 899 ))) ... ... @@ -901,6 +901,8 @@ 901 901 902 902 ))) 903 903 915 +(% style="display:none" %) (%%) 916 + 904 904 == 7.14 Transmit Power == 905 905 906 906 ... ... @@ -911,9 +911,8 @@ 911 911 912 912 (% style="color:blue" %)**AT Command: AT+TXP** 913 913 914 -(% border="1" style="background-color:#ffffcc; color:green; width:465.222px" %) 915 -|=(% colspan="3" style="width: 462px;" %)AT+TXP 916 -|(% style="width:161px" %)**Command Example**|(% style="width:189px" %)**Function**|(% style="width:112px" %)**Response** 927 +(% border="1" style="background-color:#f2f2f2; width:465.222px" %) 928 +|(% 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** 917 917 |(% style="width:161px" %)AT+TXP=?|(% style="width:189px" %)Get the Transmit Power.|(% style="width:112px" %)0((( 918 918 OK 919 919 ))) ... ... @@ -926,8 +926,10 @@ 926 926 If the downlink payload=22000100, it means setting the TXP to 0. 927 927 928 928 * **Example 1**: Downlink Payload: **22000102** ~/~/ Set AT+TXP=2. 929 -* **Example 2**: Downlink Payload: **220000 FF**941 +* **Example 2**: Downlink Payload: **22000000** ~/~/ Set AT+TXP=0. 930 930 943 +(% style="display:none" %) (%%) 944 + 931 931 == 7.15 RSSI of the Last Received Packet == 932 932 933 933 ... ... @@ -936,13 +936,14 @@ 936 936 937 937 (% style="color:blue" %)**AT Command:AT+RSSI** 938 938 939 -(% border="1" style="background-color:#ffffcc; color:green; width:557.222px" %) 940 -|=(% colspan="3" style="width: 554px;" %)AT+RSSI 941 -|(% style="width:164px" %)**Command Example**|(% style="width:289px" %)**Function**|(% style="width:100px" %)**Response** 953 +(% border="1" style="background-color:#f2f2f2; width:557.222px" %) 954 +|(% 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** 942 942 |(% style="width:164px" %)AT+RSSI=?|(% style="width:289px" %)Get the RSSI of the last received packet.|(% style="width:100px" %)0((( 943 943 OK 944 944 ))) 945 945 959 +(% style="display:none" %) (%%) 960 + 946 946 == 7.16 SNR of the Last Received Packet == 947 947 948 948 ... ... @@ -951,13 +951,14 @@ 951 951 952 952 (% style="color:blue" %)**AT Command: AT+SNR** 953 953 954 -(% border="1" style="background-color:#ffffcc; color:green; width:571.222px" %) 955 -|=(% colspan="3" style="width: 568px;" %)AT+SNR 956 -|(% style="width:164px" %)**Command Example**|(% style="width:290px" %)**Function**|(% style="width:113px" %)**Response** 969 +(% border="1" style="background-color:#f2f2f2; width:571.222px" %) 970 +|(% 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** 957 957 |(% style="width:164px" %)AT+SNR=?|(% style="width:290px" %)Get the RSSI of the last received packet.|(% style="width:113px" %)0((( 958 958 OK 959 959 ))) 960 960 975 +(% style="display:none" %) (%%) 976 + 961 961 == 7.17 Application Port == 962 962 963 963 ... ... @@ -966,9 +966,8 @@ 966 966 967 967 (% style="color:blue" %)**AT Command: AT+PORT** 968 968 969 -(% border="1" style="background-color:#ffffcc; color:green; width:500.222px" %) 970 -|=(% colspan="3" style="width: 497px;" %)AT+PORT 971 -|(% style="width:157px" %)**Command Example**|(% style="width:204px" %)**Function**|(% style="width:135px" %)**Response** 985 +(% border="1" style="background-color:#f2f2f2; width:500.222px" %) 986 +|(% 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** 972 972 |(% style="width:157px" %)AT+PORT=?|(% style="width:204px" %)Get the application port|(% style="width:135px" %)21((( 973 973 OK 974 974 ))) ... ... @@ -983,6 +983,8 @@ 983 983 * **Example 1**: Downlink Payload: **2301** ~/~/ set the application port to 1 984 984 * **Example 2**: Downlink Payload:** 2305** ~/~/ set the application port to 5 985 985 1001 +(% style="display:none" %) (%%) 1002 + 986 986 == 7.18 Single Channel Mode == 987 987 988 988 ... ... @@ -991,14 +991,15 @@ 991 991 992 992 (% style="color:blue" %)**AT Command: AT+CHS** 993 993 994 -(% border="1" style="background-color:#ffffcc; color:green; width:603.222px" %) 995 -|=(% colspan="3" style="width: 600px;" %)AT+CHS 996 -|(% style="width:182px" %)**Command Example**|(% style="width:295px" %)**Function**|(% style="width:122px" %)**Response** 1011 +(% border="1" style="background-color:#f2f2f2; width:603.222px" %) 1012 +|(% 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** 997 997 |(% style="width:182px" %)AT+CHS=?|(% style="width:295px" %)Get Frequency for Single Channel Mode|(% style="width:122px" %)0((( 998 998 OK 999 999 ))) 1000 1000 |(% style="width:182px" %)AT+CHS=868100000|(% style="width:295px" %)Set Frequency for Single Channel Mode|(% style="width:122px" %)OK 1001 1001 1018 +(% style="display:none" %) (%%) 1019 + 1002 1002 == 7.19 Eight Channel Mode == 1003 1003 1004 1004 ... ... @@ -1007,9 +1007,8 @@ 1007 1007 1008 1008 (% style="color:blue" %)**AT Command: AT+CHE** 1009 1009 1010 -(% border="1" style="background-color:#ffffcc; color:green; width:710.222px" %) 1011 -|=(% colspan="3" style="width: 707px;" %)AT+CHE 1012 -|(% style="width:160px" %)**Command Example**|(% style="width:198px" %)**Function**|(% style="width:349px" %)**Response** 1028 +(% border="1" style="background-color:#f2f2f2; width:710.222px" %) 1029 +|(% 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** 1013 1013 |(% style="width:160px" %)AT+CHE=?|(% style="width:198px" %)Get eight channels mode|(% style="width:349px" %)1((( 1014 1014 902.3 902.5 902.7 902.9 903.1 903.3 903.5 903.7 1015 1015 ... ... @@ -1026,6 +1026,8 @@ 1026 1026 * **Example 1**: Downlink Payload: 2401 ~/~/ set channel mode to 1 1027 1027 * **Example 2**: Downlink Payload: 2405 ~/~/ set channel mode to 5 1028 1028 1046 +(% style="display:none" %) (%%) 1047 + 1029 1029 == 7.20 Get or Set RXwindows1 timeout == 1030 1030 1031 1031 ... ... @@ -1034,32 +1034,26 @@ 1034 1034 1035 1035 (% style="color:blue" %)**AT Command: AT+RX1WTO** 1036 1036 1037 -(% border="1" style="background-color:#ffffcc; color:green; width:460.222px" %) 1038 -|=(% colspan="3" style="width: 457px;" %)AT+ RX1WTO 1039 -|(% style="width:163px" %)**Command Example**|(% style="width:201px" %)**Function**|(% style="width:93px" %)**Response** 1056 +(% border="1" style="background-color:#f2f2f2; width:460.222px" %) 1057 +|(% 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** 1040 1040 |(% style="width:163px" %)AT+RX1WTO=?|(% style="width:201px" %)Get RXwindows1 timeout|(% style="width:93px" %)14((( 1041 1041 OK 1042 1042 ))) 1043 1043 |(% style="width:163px" %)AT+RX1WTO=60|(% style="width:201px" %)Set RXwindows1 timeout|(% style="width:93px" %)OK 1044 1044 1045 -((( 1046 - 1063 +(% style="display:none" %) (%%) 1047 1047 1048 - 1065 +((( 1049 1049 (% 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. 1050 - 1051 - 1052 1052 ))) 1053 1053 1054 1054 [[image:image-20220526162535-1.png]] 1055 1055 1056 - 1057 1057 ((( 1058 1058 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. 1059 - 1060 - 1061 1061 ))) 1062 1062 1075 + 1063 1063 == 7.21 Get or Set RXwindows2 timeout == 1064 1064 1065 1065 ... ... @@ -1068,14 +1068,15 @@ 1068 1068 1069 1069 (% style="color:blue" %)**AT Command: AT+RX2WTO** 1070 1070 1071 -(% border="1" style="background-color:#ffffcc; color:green; width:497.222px" %) 1072 -|=(% colspan="3" style="width: 494px;" %)AT+ RX2WTO 1073 -|(% style="width:190px" %)**Command Example**|(% style="width:199px" %)**Function**|(% style="width:104px" %)**Response** 1084 +(% border="1" style="background-color:#f2f2f2; width:497.222px" %) 1085 +|(% 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** 1074 1074 |(% style="width:190px" %)AT+RX2WTO=?|(% style="width:199px" %)Get RXwindows2 timeout|(% style="width:104px" %)7((( 1075 1075 OK 1076 1076 ))) 1077 1077 |(% style="width:190px" %)AT+RX2WTO=20|(% style="width:199px" %)Set RXwindows2 timeout|(% style="width:104px" %)OK 1078 1078 1091 +(% style="display:none" %) (%%) 1092 + 1079 1079 == 7.22 Setting up uplinkdwelltime (as923, au915) == 1080 1080 1081 1081 ... ... @@ -1084,9 +1084,8 @@ 1084 1084 1085 1085 (% style="color:blue" %)**AT Command: AT+DWELLT** 1086 1086 1087 -(% border="1" style="background-color:#ffffcc; color:green; width:497.222px" %) 1088 -|=(% colspan="3" style="width: 494px;" %)AT+DWELLT 1089 -|(% style="width:183px" %)**Command Example**|(% style="width:179px" %)**Function**|(% style="width:131px" %)**Response** 1101 +(% border="1" style="background-color:#f2f2f2; width:497.222px" %) 1102 +|(% 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** 1090 1090 |(% style="width:183px" %)AT+DWELLT=?|(% style="width:179px" %)Get uplinkdwelltime|(% style="width:131px" %)1((( 1091 1091 OK 1092 1092 ))) ... ... @@ -1101,6 +1101,8 @@ 1101 1101 * **Example 1**: Downlink Payload: **2501** ~/~/ set uplinkdwelltime to 1 1102 1102 * **Example 2**: Downlink Payload: **2500** ~/~/ set uplinkdwelltime to 0 1103 1103 1117 +(% style="display:none" %) (%%) 1118 + 1104 1104 == 7.23 Set Packet Receiving Response Level == 1105 1105 1106 1106 ... ... @@ -1107,7 +1107,7 @@ 1107 1107 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. 1108 1108 1109 1109 1110 -**RPL value:** 1125 +(% style="color:blue" %)**RPL value:** 1111 1111 1112 1112 * **AT+RPL=0:** Device won't immediately reply any downlink commands from platform. 1113 1113 * **AT+RPL=1:** Device will immediately reply message to Unconfirmed Data Down. Payload is 0x00. ... ... @@ -1115,7 +1115,7 @@ 1115 1115 * **AT+RPL=3:** Device will immediately reply message to MAC Command. Payload is 0x00 and requied response header for this command. 1116 1116 * **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. 1117 1117 1118 -**Case Analyes:** 1133 +(% style="color:blue" %)**Case Analyes:** 1119 1119 1120 1120 * For Class A devices, AT+RPL=0 is ok. that is defaut settings in software. 1121 1121 * For Class C devices used in ChirpStack, need to set AT+RPL=4 because Chirpstack require immedietely reply message to MAC Command. ... ... @@ -1123,9 +1123,8 @@ 1123 1123 1124 1124 (% style="color:blue" %)**AT Command: AT+RPL** 1125 1125 1126 -(% border="1" style="background-color:#ffffcc; color:green; width:536.222px" %) 1127 -|=(% colspan="3" style="width: 533px;" %)AT+RPL 1128 -|(% style="width:160px" %)**Command Example**|(% style="width:263px" %)**Function**|(% style="width:109px" %)**Response** 1141 +(% border="1" style="background-color:#f2f2f2; width:536.222px" %) 1142 +|(% 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** 1129 1129 |(% style="width:160px" %)AT+RPL=?|(% style="width:263px" %)Get packet receiving response level|(% style="width:109px" %)1((( 1130 1130 OK 1131 1131 ))) ... ... @@ -1140,18 +1140,19 @@ 1140 1140 * **Example 1**: Downlink Payload: **2101** ~/~/ set packet receiving response level to 1 1141 1141 * **Example 2**: Downlink Payload: **2102** ~/~/ set packet receiving response level to 2 1142 1142 1157 +(% style="display:none" %) (%%) 1158 + 1143 1143 == 7.24 Controls NBTrans in unconfirmed uplink mode(LWS007 NBTrans:Set retransmission packets) == 1144 1144 1145 1145 1146 1146 (% style="color:blue" %)**AT Command: AT+SETMAXNBTRANS ** 1147 1147 1148 -(% border="1" style="background-color:#ffffcc; color:green; width:589px" %) 1149 -|=(% colspan="3" style="width: 586px;" %)AT+**SETMAXNBTRANS** 1150 -|(% style="width:227px" %)**Command Example**|(% style="width:300px" %)**Function**|(% style="width:87px" %)**Response** 1151 -|(% style="width:227px" %)**AT+SETMAXNBTRANS=1,0**|(% style="width:300px" %)Value1: set the maximum NBTrans.|(% style="width:87px" %)1((( 1164 +(% border="1" style="background-color:#f2f2f2; width:589px" %) 1165 +|(% 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** 1166 +|(% style="width:227px" %)AT+SETMAXNBTRANS=1,0|(% style="width:300px" %)Value1: set the maximum NBTrans.|(% style="width:87px" %)1((( 1152 1152 OK 1153 1153 ))) 1154 -|(% style="width:227px" %) **AT+SETMAXNBTRANS=?,1**|(% style="width:300px" %)(((1169 +|(% style="width:227px" %)AT+SETMAXNBTRANS=?,1|(% style="width:300px" %)((( 1155 1155 value2: 0: uplink fcnt doesn't change for each NBTrans; 1156 1156 1157 1157 1: uplink fcnt increase by 1 for each NBTrans. ... ... @@ -1170,6 +1170,8 @@ 1170 1170 * Example 1: Downlink Payload: 330100 ~/~/ Set AT+SETMAXNBTRANS=1,0 1171 1171 * Example 2: Downlink Payload: 330201 ~/~/ Set AT+SETMAXNBTRANS=2,1 1172 1172 1188 +(% style="display:none" %) (%%) 1189 + 1173 1173 == 7.25 Device offline rejoining (LWS007) == 1174 1174 1175 1175 ... ... @@ -1180,9 +1180,8 @@ 1180 1180 * ACK_Timout_1: Unit: min 1181 1181 * ACK_Timout_2: Unit: min 1182 1182 1183 -(% border="1" style="background-color:#ffffcc; color:green; width:710.222px" %) 1184 -|=(% colspan="3" style="width: 707px;" %)AT+**DDETECT** 1185 -|(% style="width:160px" %)**Command Example**|(% style="width:198px" %)**Function**|(% style="width:349px" %)**Response** 1200 +(% border="1" style="background-color:#f2f2f2; width:710.222px" %) 1201 +|(% 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** 1186 1186 |(% style="width:160px" %)((( 1187 1187 AT+DDETECT=1,1440,2880 1188 1188 ... ... @@ -1223,31 +1223,32 @@ 1223 1223 ** 0x0B40: ACK_Timout_2 : 2880minutes (48 hours) 1224 1224 ** **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. 1225 1225 1242 +(% style="display:none" %) (%%) 1243 + 1226 1226 == 7.26 Request the server to send an ACK == 1227 1227 1228 1228 1229 1229 (% style="color:blue" %)**AT Command: AT+PNACKMD** 1230 1230 1231 -(% border="1" style="background-color:#ffffcc; color:green; width:536.222px" %) 1232 -|=(% colspan="3" style="width: 533px;" %)**AT+PNACKMD** 1233 -|(% style="width:160px" %)**Command Example**|(% style="width:263px" %)**Function**|(% style="width:109px" %)**Response** 1234 -|(% 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((( 1249 +(% border="1" style="background-color:#f2f2f2; width:536.222px" %) 1250 +|(% 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** 1251 +|(% 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((( 1235 1235 OK 1236 1236 ))) 1237 -|(% style="width:160px" %) **AT+PNACKMD=0**|(% style="width:263px" %)off request the server to send an ACK|(% style="width:109px" %)(((1254 +|(% style="width:160px" %)AT+PNACKMD=0|(% style="width:263px" %)off request the server to send an ACK|(% style="width:109px" %)((( 1238 1238 0 1239 - 1240 1240 OK 1241 1241 ))) 1242 1242 1259 +(% style="display:none" %) (%%) 1260 + 1243 1243 == 7.27 Adjust network rejoining interval == 1244 1244 1245 1245 1246 1246 (% style="color:blue" %)**AT Command: AT+RJTDC** 1247 1247 1248 -(% border="1" style="background-color:#ffffcc; color:green; width:727.222px" %) 1249 -|=(% colspan="3" style="width: 724px;" %)AT+RJTDC 1250 -|(% style="width:165px" %)**Command Example**|(% style="width:227px" %)**Function**|(% style="width:329px" %)**Response** 1266 +(% border="1" style="background-color:#f2f2f2; width:727.222px" %) 1267 +|(% 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** 1251 1251 |(% style="width:165px" %)AT+RJTDC=?|(% style="width:227px" %)Show the ReJoin data transmission interval in min|(% style="width:329px" %)30((( 1252 1252 OK 1253 1253 ... ... @@ -1263,17 +1263,22 @@ 1263 1263 1264 1264 If the downlink payload=26000A, it means set end node to use confirm mode, while type code is 26. 1265 1265 1266 -* **Example 1:** Downlink Payload: 26000A ~/~/ Set AT+RJTDC=10 1267 -* **Example 2: **Downlink Payload: 260002 ~/~/ Set AT+RJTDC=2 1283 +* **Example 1:** Downlink Payload: 26000A ~/~/ Set AT+RJTDC=10 1284 +* **Example 2: **Downlink Payload: 260002 ~/~/ Set AT+RJTDC=2 1268 1268 1286 +(% style="display:none" %) (%%) 1287 + 1269 1269 = 8. AT Commands Combination = 1270 1270 1271 1271 == 8.1 Set a fix RX2DR for downlink window == 1272 1272 1273 1273 1274 -* (% style="color:blue" %)**AT+ADR=0 **(%%) **~-~->** Disable ADR first 1275 -* (% style="color:blue" %)**AT+RX2DR=xxxx** (%%) **~-~->** Set xxxx to your wanted DataRate 1293 +* (% style="color:blue" %)**AT+ADR=0 **(%%) **~/~/** Disable ADR first 1276 1276 1295 +* (% style="color:blue" %)**AT+RX2DR=xxxx** (%%) **~/~/** Set xxxx to your wanted DataRate 1296 + 1297 +(% style="display:none" %) (%%) 1298 + 1277 1277 == 8.2 Use Downlink Command to set a fix uplink DR == 1278 1278 1279 1279 ... ... @@ -1282,7 +1282,9 @@ 1282 1282 **Same as:** 1283 1283 1284 1284 * AT+ADR=0 [[Reference>>||anchor="H7.1AdaptiveDataRate"]] 1307 + 1285 1285 * AT+DR=5 [[Reference>>||anchor="H7.4DataRate"]] 1309 + 1286 1286 * AT+TXP=0 [[Reference>>||anchor="H7.14TransmitPower"]] 1287 1287 1288 1288