Changes for page RS485-LN – RS485 to LoRaWAN Converter User Manual
Last modified by Bei Jinggeng on 2025/01/16 11:36
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -207,6 +207,7 @@ 207 207 208 208 Here shows an example for how to join the TTN V3 Network. Below is the network structure, we use [[LG308>>url:http://www.dragino.com/products/lora-lorawan-gateway/item/140-lg308.html]] as LoRaWAN gateway here. 209 209 210 + 210 210 (% aria-label="1653268155545-638.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:1653268155545-638.png||data-widget="image" height="334" width="724"]](% style="background-image:url(http://wiki.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %) 211 211 212 212 ... ... @@ -217,6 +217,8 @@ 217 217 218 218 ((( 219 219 485A+ and 485B- of the sensor are connected to RS485A and RA485B of RS485-LN respectively. 221 + 222 + 220 220 ))) 221 221 222 222 (% aria-label="1653268227651-549.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:1653268227651-549.png||data-widget="image" height="592" width="720"]](% style="background-image:url(http://wiki.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %) ... ... @@ -243,6 +243,8 @@ 243 243 ((( 244 244 ((( 245 245 User can enter this key in their LoRaWAN Server portal. Below is TTN V3 screen shot: 249 + 250 + 246 246 ))) 247 247 248 248 ((( ... ... @@ -256,8 +256,11 @@ 256 256 257 257 (% aria-label="image-20220519174512-3.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20220519174512-3.png||data-widget="image" height="556" width="724"]](% style="background-image:url(http://wiki.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %) 258 258 259 -(% aria-label="image-20220519174512-4.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20220519174512-4.png||data-widget="image"]](% style="background-image:url(http://wiki.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]] (% title="Click and drag to resize" %)264 +(% aria-label="image-20220519174512-4.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20220519174512-4.png||data-widget="image"]](% style="background-image:url(http://wiki.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]] 260 260 266 + 267 +(% title="Click and drag to resize" %) 268 + 261 261 You can also choose to create the device manually. 262 262 263 263 (% aria-label="1652953542269-423.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:1652953542269-423.png||data-widget="image" height="710" width="723"]](% style="background-image:url(http://wiki.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %) ... ... @@ -269,8 +269,11 @@ 269 269 (% aria-label="1652953553383-907.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:1652953553383-907.png||data-widget="image" height="514" width="724"]](% style="background-image:url(http://wiki.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %) 270 270 271 271 280 + 272 272 ((( 273 273 (% style="color:blue" %)**Step 2**(%%): Power on RS485-LN and it will auto join to the TTN V3 network. After join success, it will start to upload message to TTN V3 and user can see in the panel. 283 + 284 + 274 274 ))) 275 275 276 276 (% aria-label="1652953568895-172.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:1652953568895-172.png||data-widget="image" height="232" width="724"]](% style="background-image:url(http://wiki.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %) ... ... @@ -284,6 +284,8 @@ 284 284 ((( 285 285 ((( 286 286 There are plenty of RS485 devices in the market and each device has different command to read the valid data. To support these devices in flexible, RS485-LN supports flexible command set. User can use [[AT Commands>>||anchor="H3.5ConfigureRS485-LNviaATorDownlink"]] or LoRaWAN Downlink Command to configure what commands RS485-LN should send for each sampling and how to handle the return from RS485 devices. 298 + 299 + 287 287 ))) 288 288 ))) 289 289 ... ... @@ -302,6 +302,7 @@ 302 302 303 303 To use RS485-LN to read data from RS485 sensors, connect the RS485-LN A/B traces to the sensors. And user need to make sure RS485-LN use the match UART setting to access the sensors. The related commands for UART settings are: 304 304 318 + 305 305 (% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:510px" %) 306 306 |=(% style="width: 110px;" %)((( 307 307 **AT Commands** ... ... @@ -360,6 +360,9 @@ 360 360 ))) 361 361 ))) 362 362 377 + 378 + 379 + 363 363 === 3.3.2 Configure sensors === 364 364 365 365 ... ... @@ -387,6 +387,9 @@ 387 387 ))) 388 388 )))|(% style="width:190px" %)AT+CFGDEV=xx xx xx xx xx xx xx xx xx xx xx xx,m 389 389 407 + 408 + 409 + 390 390 === 3.3.3 Configure read commands for each sampling === 391 391 392 392 ... ... @@ -402,6 +402,7 @@ 402 402 403 403 (% style="color:#037691" %)**Each RS485 commands include two parts:** 404 404 425 + 405 405 ~1. What commands RS485-LN will send to the RS485 sensors. There are total 15 commands from **AT+COMMAD1**, **ATCOMMAND2**,…, to **AT+COMMANDF**. All commands are of same grammar. 406 406 407 407 2. How to get wanted value the from RS485 sensors returns from by 1). There are total 15 AT Commands to handle the return, commands are **AT+DATACUT1**,**AT+DATACUT2**,…, **AT+DATACUTF** corresponding to the commands from 1). All commands are of same grammar. ... ... @@ -441,8 +441,10 @@ 441 441 * **c: define the position for valid value. ** 442 442 ))) 443 443 465 + 444 444 **Examples:** 445 445 468 + 446 446 * (% style="color:#037691" %)**Grab bytes** 447 447 448 448 (% aria-label="image-20220602153621-1.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20220602153621-1.png||data-widget="image"]](% style="background-image:url(http://wiki.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %) ... ... @@ -483,15 +483,13 @@ 483 483 ))) 484 484 485 485 ((( 486 -Final Payload is 509 +Final Payload is (% style="color:#4f81bd" %)**Battery Info+PAYVER + VALID Value from RETURN1 + Valid Value from RETURN2 + … + RETURNx** 487 487 ))) 488 488 489 489 ((( 490 -(% style="color:#4f81bd" %)**Battery Info+PAYVER + VALID Value from RETURN1 + Valid Value from RETURN2 + … + RETURNx** 491 -))) 492 - 493 -((( 494 494 Where PAYVER is defined by AT+PAYVER, below is an example screen shot. 514 + 515 + 495 495 ))) 496 496 497 497 (% aria-label="1653269759169-150.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:1653269759169-150.png||data-widget="image" height="513" width="716"]](% style="background-image:url(http://wiki.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %) ... ... @@ -502,16 +502,16 @@ 502 502 503 503 Compose the uplink payload with value returns in sequence and send with (% style="color:red" %)**Multiply UPLINKs**. 504 504 505 -Final Payload is 526 +Final Payload is (% style="color:#4f81bd" %)**Battery Info+PAYVER + PAYLOAD COUNT + PAYLOAD# + DATA** 506 506 507 -(% style="color:#4f81bd" %)**Battery Info+PAYVER + PAYLOAD COUNT + PAYLOAD# + DATA** 508 508 509 - 510 510 1. PAYVER: Defined by AT+PAYVER 511 511 1. PAYLOAD COUNT: Total how many uplinks of this sampling. 512 512 1. PAYLOAD#: Number of this uplink. (from 0,1,2,3…,to PAYLOAD COUNT) 513 513 1. DATA: Valid value: max 8 bytes for each uplink so each uplink <= 11 bytes. For the last uplink, DATA will might less than 8 bytes 514 514 534 + 535 + 515 515 (% aria-label="image-20220602155039-4.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20220602155039-4.png||data-widget="image"]](% style="background-image:url(http://wiki.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %) 516 516 517 517 ... ... @@ -526,6 +526,7 @@ 526 526 527 527 (% style="color:red" %)**Notice: In firmware v1.3, the Max bytes has been changed according to the max bytes in different Frequency Bands for lowest SF. As below:** 528 528 550 + 529 529 ~* For AU915/AS923 bands, if UplinkDwell time=0, max 51 bytes for each uplink. 530 530 531 531 * For AU915/AS923 bands, if UplinkDwell time=0, max 11 bytes for each uplink. ... ... @@ -541,17 +541,23 @@ 541 541 542 542 (% style="color:#4f81bd" %)**If the data is empty, return to the display(Since v1.4.0)** 543 543 544 -1)When AT+MOD=1, if the data intercepted by AT+DATACUT or AT+MBFUN is empty, it will display NULL, and the payload will be filled with n FFs. 566 +1 ) When **(% style="color:blue" %)AT+MOD=1**(%%), if the data intercepted by** AT+DATACUT** or **AT+MBFUN** is empty, it will display **NULL**, and the payload will be filled with **n FFs**. 545 545 568 + 546 546 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/test/WebHome/image-20220824114359-3.png?width=1106&height=297&rev=1.1||alt="image-20220824114359-3.png" height="297" width="1106"]] 547 547 548 -2)When AT+MOD=2, if the data intercepted by AT+DATACUT or AT+MBFUN is empty, it will display NULL, and the payload will be filled with n 00s. 549 549 572 + 573 +2 ) When **(% style="color:blue" %)AT+MOD=2**(%%), if the data intercepted by **AT+DATACUT** or **AT+MBFUN** is empty, it will display **NULL**, and the payload will be filled with **n 00s**. 574 + 575 + 550 550 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/test/WebHome/image-20220824114330-2.png?rev=1.1||alt="image-20220824114330-2.png"]] 551 551 552 552 579 + 553 553 Below are the uplink payloads: 554 554 582 + 555 555 (% aria-label="1654157178836-407.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:1654157178836-407.png||data-widget="image"]](% style="background-image:url(http://wiki.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %) 556 556 557 557 ... ... @@ -561,11 +561,11 @@ 561 561 562 562 Except uplink periodically, RS485-LN is able to uplink on demand. The server send downlink command to RS485-LN and RS485 will uplink data base on the command. 563 563 564 -Downlink control command: 592 +**(% style="color:blue" %)Downlink control command:** 565 565 566 -**0x08 command**: Poll an uplink with current command set in RS485-LN. 594 +**(% style="color:#4472C4" %) 0x08 command**(%%): Poll an uplink with current command set in RS485-LN. 567 567 568 -**0xA8 command**: Send a command to RS485-LN and uplink the output from sensors. 596 +**(% style="color:#4472C4" %) 0xA8 command**(%%): Send a command to RS485-LN and uplink the output from sensors. 569 569 570 570 571 571 ... ... @@ -574,6 +574,7 @@ 574 574 575 575 RS485-LN support external Interrupt uplink since hardware v1.2 release. 576 576 605 + 577 577 (% aria-label="1654157342174-798.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:1654157342174-798.png||data-widget="image"]](% style="background-image:url(http://wiki.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %) 578 578 579 579 Connect the Interrupt pin to RS485-LN INT port and connect the GND pin to V- port. When there is a high voltage (Max 24v) on INT pin. Device will send an uplink packet. ... ... @@ -583,8 +583,10 @@ 583 583 == 3.4 Uplink Payload == 584 584 585 585 586 -(% aria-label="image-20220606110929-1.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20220606110929-1.png||data-widget="image"]](% style="background-image:url(http://wiki.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]] (% title="Click and drag to resize" %)615 +(% aria-label="image-20220606110929-1.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20220606110929-1.png||data-widget="image"]](% style="background-image:url(http://wiki.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]] 587 587 617 +(% title="Click and drag to resize" %) 618 + 588 588 Below is the decoder for the first 3 bytes. The rest bytes are dynamic depends on different RS485 sensors. 589 589 590 590 ... ... @@ -648,7 +648,7 @@ 648 648 (% style="color:#037691" %)**AT Command** 649 649 650 650 ((( 651 -**AT+CFGDEV=xx xx xx xx xx xx xx xx xx xx xx xx,m** m: 0: no CRC, 1: add CRC-16/MODBUS in the end of this command 682 +**(% style="color:#4472C4" %) AT+CFGDEV=xx xx xx xx xx xx xx xx xx xx xx xx,m** (%%) m: 0: no CRC, 1: add CRC-16/MODBUS in the end of this command 652 652 ))) 653 653 ))) 654 654 ... ... @@ -661,7 +661,7 @@ 661 661 ))) 662 662 663 663 ((( 664 -Format: A8 MM NN XX XX XX XX YY 695 +Format:(%%) **(% style="color:#4472C4" %) A8 MM NN XX XX XX XX YY** 665 665 ))) 666 666 667 667 ((( ... ... @@ -770,7 +770,7 @@ 770 770 * ((( 771 771 (% style="color:#037691" %)**AT Command:** 772 772 773 -**AT+PAYVER: **Set PAYVER field = 1 804 +**(% style="color:#4472C4" %) AT+PAYVER: ** (%%) Set PAYVER field = 1 774 774 775 775 776 776 ))) ... ... @@ -779,18 +779,18 @@ 779 779 ))) 780 780 781 781 ((( 782 -**0xAE 01** ~-~-> Set PAYVER field = 0x01 813 +**(% style="color:#4472C4" %) 0xAE 01** (%%) ~-~-> Set PAYVER field = 0x01 783 783 ))) 784 784 785 785 ((( 786 -**0xAE 0F** ~-~-> Set PAYVER field = 0x0F 817 +**(% style="color:#4472C4" %) 0xAE 0F** (%%) ~-~-> Set PAYVER field = 0x0F 787 787 ))) 788 788 789 789 790 -1)Add the interrupt flag at the highest bit of the Payver byte, that is, Byte7 of the first byte. (Since v1.4.0)[[image:image-20220824145428-2.png||height="168" width="1300"]] 821 +1) Add the interrupt flag at the highest bit of the Payver byte, that is, Byte7 of the first byte. (Since v1.4.0)[[image:image-20220824145428-2.png||height="168" width="1300"]] 791 791 792 792 793 -2)if the data intercepted by AT+DATACUT or AT+MBFUN is empty, it will display NULL, and the payload will be filled with n FFs. 824 +2) if the data intercepted by AT+DATACUT or AT+MBFUN is empty, it will display NULL, and the payload will be filled with n FFs. 794 794 795 795 [[image:image-20220824145428-3.png||height="308" width="1200"]] 796 796 ... ... @@ -814,9 +814,9 @@ 814 814 (% style="color:#037691" %)**AT Command:** 815 815 ))) 816 816 817 -**AT+COMMANDx: **Configure RS485 read command to sensor. 848 +**(% style="color:#4472C4" %) AT+COMMANDx: ** (%%) Configure RS485 read command to sensor. 818 818 819 -**AT+DATACUTx: **Configure how to handle return from RS485 devices. 850 +**(% style="color:#4472C4" %) AT+DATACUTx: **(%%) Configure how to handle return from RS485 devices. 820 820 821 821 822 822 * ((( ... ... @@ -824,19 +824,19 @@ 824 824 ))) 825 825 826 826 ((( 827 -**0xAF** downlink command can be used to set AT+COMMANDx or AT+DATACUTx. 858 +**(% style="color:#4472C4" %) 0xAF**(%%) downlink command can be used to set AT+COMMANDx or AT+DATACUTx. 828 828 829 829 830 830 ))) 831 831 832 832 ((( 833 -(% style="color:red" %)**Note **(%%): if user use AT+COMMANDx to add a new command, he also need to send AT+DATACUTx downlink.864 +(% style="color:red" %)**Note : if user use AT+COMMANDx to add a new command, he also need to send AT+DATACUTx downlink.** 834 834 835 835 836 836 ))) 837 837 838 838 ((( 839 -Format: AF MM NN LL XX XX XX XX YY 870 +Format: (%%)**(% style="color:#4472C4" %) AF MM NN LL XX XX XX XX YY** 840 840 ))) 841 841 842 842 ((( ... ... @@ -884,7 +884,7 @@ 884 884 885 885 886 886 ((( 887 -**AT+MBFUN** is valid since v1.3 firmware version. The command is for fast configure to read Modbus devices. It is only valid for the devices which follow the [[MODBUS-RTU protocol>>url:https://www.modbustools.com/modbus.html]]. 918 +**(% style="color:#4472C4" %) AT+MBFUN**(%%) is valid since v1.3 firmware version. The command is for fast configure to read Modbus devices. It is only valid for the devices which follow the [[MODBUS-RTU protocol>>url:https://www.modbustools.com/modbus.html]]. 888 888 ))) 889 889 890 890 ((( ... ... @@ -936,7 +936,7 @@ 936 936 * ((( 937 937 (% style="color:#037691" %)** AT Command:** 938 938 939 -**AT+CMDDLaa=hex(bb cc)*1000** 970 +**(% style="color:#4472C4" %) AT+CMDDLaa=hex(bb cc)*1000** 940 940 ))) 941 941 942 942 ((( ... ... @@ -946,7 +946,7 @@ 946 946 ))) 947 947 948 948 ((( 949 -**AT+CMDDL1=1000** to send the open time to 1000ms 980 +**(% style="color:#4472C4" %) AT+CMDDL1=1000** (%%)to send the open time to 1000ms 950 950 ))) 951 951 952 952 ((( ... ... @@ -958,7 +958,7 @@ 958 958 ))) 959 959 960 960 ((( 961 -**0x AA aa bb cc** 992 +**(% style="color:#4472C4" %) 0x AA aa bb cc** 962 962 ))) 963 963 964 964 ((( ... ... @@ -990,14 +990,14 @@ 990 990 * ((( 991 991 (% style="color:#037691" %)** AT Command:** 992 992 993 -**AT+DATAUP=0** 1024 +**(% style="color:#4472C4" %) AT+DATAUP=0** 994 994 995 -**AT+DATAUP=1** 1026 +**(% style="color:#4472C4" %) AT+DATAUP=1** 996 996 997 997 998 998 ))) 999 999 1000 -**0xAD 01 00 00 14** **~-~->** Same as AT+DATAUP=1,20000 ~/~/(00 00 14 is 20 seconds) 1031 +**(% style="color:#4472C4" %) 0xAD 01 00 00 14** (%%) **~-~->** Same as AT+DATAUP=1,20000 ~/~/(00 00 14 is 20 seconds) 1001 1001 1002 1002 Each uplink is sent to the server at 20-second intervals when segmented. 1003 1003 ... ... @@ -1006,9 +1006,9 @@ 1006 1006 (% style="color:#037691" %)** Downlink Payload:** 1007 1007 ))) 1008 1008 1009 -**0xAD 00** **~-~->** Same as AT+DATAUP=0 1040 +**(% style="color:#4472C4" %) 0xAD 00** (%%) **~-~->** Same as AT+DATAUP=0 1010 1010 1011 -**0xAD 01** **~-~->** Same as AT+DATAUP=1 ~/~/Each uplink is sent to the server one after the other as it is segmented. 1042 +**(% style="color:#4472C4" %) 0xAD 01** (%%) **~-~->** Same as AT+DATAUP=1 ~/~/Each uplink is sent to the server one after the other as it is segmented. 1012 1012 1013 1013 1014 1014 * ((( ... ... @@ -1015,7 +1015,7 @@ 1015 1015 (% style="color:#037691" %)** AT Command:** 1016 1016 ))) 1017 1017 1018 -**AT+DATAUP=1,Timeout** 1049 +**(% style="color:#4472C4" %) AT+DATAUP=1,Timeout** 1019 1019 1020 1020 1021 1021 * ((( ... ... @@ -1022,10 +1022,12 @@ 1022 1022 (% style="color:#037691" %)** Downlink Payload:** 1023 1023 ))) 1024 1024 1025 -**0xAD 01 00 00 14** **~-~->** Same as AT+DATAUP=1,20000 ~/~/(00 00 14 is 20 seconds) 1056 +**(% style="color:#4472C4" %) 0xAD 01 00 00 14** (%%) **~-~->** Same as AT+DATAUP=1,20000 ~/~/(00 00 14 is 20 seconds) 1026 1026 1027 1027 Each uplink is sent to the server at 20-second intervals when segmented. 1028 1028 1060 + 1061 + 1029 1029 ==== (% style="color:blue" %)**Manually trigger an Uplink**(%%) ==== 1030 1030 1031 1031 ... ... @@ -1050,7 +1050,7 @@ 1050 1050 ))) 1051 1051 1052 1052 ((( 1053 -**0x08 FF**, RS485-LN will immediately send an uplink. 1086 +**(% style="color:#4472C4" %) 0x08 FF**(%%), RS485-LN will immediately send an uplink. 1054 1054 ))) 1055 1055 1056 1056 ... ... @@ -1070,7 +1070,7 @@ 1070 1070 ))) 1071 1071 1072 1072 ((( 1073 -**AT+CMDEAR=mm,nn** mm: start position of erase ,nn: stop position of erase 1106 +**(% style="color:#4472C4" %) AT+CMDEAR=mm,nn** (%%) mm: start position of erase ,nn: stop position of erase 1074 1074 ))) 1075 1075 1076 1076 ((( ... ... @@ -1097,7 +1097,7 @@ 1097 1097 ))) 1098 1098 1099 1099 ((( 1100 -**0x09 aa bb** same as AT+CMDEAR=aa,bb 1133 +**(% style="color:#4472C4" %) 0x09 aa bb** (%%) same as AT+CMDEAR=aa,bb 1101 1101 ))) 1102 1102 1103 1103 ... ... @@ -1120,7 +1120,7 @@ 1120 1120 * Set Baud Rate 1121 1121 ))) 1122 1122 1123 -**AT+BAUDR=9600** ~/~/ Options: (200~~115200) When using low baud rate or receiving multiple bytes, you need to use AT+CMDDL to increase the receive timeout (the default receive timeout is 400ms), otherwise data will be lost 1156 +**(% style="color:#4472C4" %) AT+BAUDR=9600** (%%) ~/~/ Options: (200~~115200) When using low baud rate or receiving multiple bytes, you need to use AT+CMDDL to increase the receive timeout (the default receive timeout is 400ms), otherwise data will be lost 1124 1124 1125 1125 1126 1126 ((( ... ... @@ -1127,7 +1127,7 @@ 1127 1127 * Set UART Parity 1128 1128 ))) 1129 1129 1130 -**AT+PARITY=0** ~/~/ Option: 0: no parity, 1: odd parity, 2: even parity 1163 +**(% style="color:#4472C4" %) AT+PARITY=0** (%%) ~/~/ Option: 0: no parity, 1: odd parity, 2: even parity 1131 1131 1132 1132 1133 1133 (((