Last modified by Xiaoling on 2025/04/23 15:57

From version 27.1
edited by Xiaoling
on 2022/05/23 10:28
Change comment: Uploaded new attachment "1653272901032-107.png", version {1}
To version 28.3
edited by Xiaoling
on 2022/05/23 10:46
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -565,21 +565,18 @@
565 565  
566 566  So totally there will be 3 uplinks for this sampling, each uplink includes 6 bytes DATA
567 567  
568 -DATA1=RETURN1 Valid Value = ~(% style="background-color:#4f81bd;color:white" %)(% style="display:none" %) (%%)20 20 0a 33 90 41
568 +DATA1=RETURN1 Valid Value = (% style="background-color:#4f81bd; color:white" %) 20 20 0a 33 90 41
569 569  
570 -DATA2=1^^st^^ ~~ 6^^th^^ byte of Valid value of RETURN10= ~(% style="background-color:#4f81bd;color:white" %)(% style="display:none" %) (%%)02 aa 05 81 0a 20
570 +DATA2=1^^st^^ ~~ 6^^th^^ byte of Valid value of RETURN10= (% style="background-color:#4f81bd; color:white" %)02 aa 05 81 0a 20
571 571  
572 -DATA3=7^^th^^ ~~ 11^^th^^ bytes of Valid value of RETURN10 =~(% style="background-color:#4f81bd;color:white" %)(% style="display:none" %) (%%) 20 20 20 2d 30
572 +DATA3=7^^th^^ ~~ 11^^th^^ bytes of Valid value of RETURN10 =(% style="background-color:#4f81bd; color:white" %) 20 20 20 2d 30
573 573  
574 -
575 -
576 576  Below are the uplink payloads:
577 577  
578 -[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image021.png]]
576 +[[image:1653272901032-107.png]]
579 579  
578 +(% style="color:red" %)Notice: the Max bytes is according to the max support bytes in different Frequency Bands for lowest SF. As below:
580 580  
581 -Notice: the Max bytes is according to the max support bytes in different Frequency Bands for lowest SF. As below:
582 -
583 583   ~* For AU915/AS923 bands, if UplinkDwell time=0, max 51 bytes for each uplink ( so 51 -5 = 46 max valid date)
584 584  
585 585   * For AU915/AS923 bands, if UplinkDwell time=1, max 11 bytes for each uplink ( so 11 -5 = 6 max valid date).
... ... @@ -588,28 +588,30 @@
588 588  
589 589   ~* For all other bands: max 51 bytes for each uplink  ( so 51 -5 = 46 max valid date).
590 590  
588 +=== 3.3.5 Uplink on demand ===
591 591  
592 -
593 -1.
594 -11.
595 -111. Uplink on demand
596 -
590 +(((
597 597  Except uplink periodically, RS485-BL is able to uplink on demand. The server sends downlink command to RS485-BL and RS485 will uplink data base on the command.
592 +)))
598 598  
594 +(((
599 599  Downlink control command:
596 +)))
600 600  
601 -[[0x08 command>>path:#downlink_08]]: Poll an uplink with current command set in RS485-BL.
598 +(((
599 +**0x08 command**: Poll an uplink with current command set in RS485-BL.
600 +)))
602 602  
603 -[[0xA8 command>>path:#downlink_A8]]: Send a command to RS485-BL and uplink the output from sensors.
602 +(((
603 +**0xA8 command**: Send a command to RS485-BL and uplink the output from sensors.
604 +)))
604 604  
606 +=== 3.3.6 Uplink on Interrupt ===
605 605  
608 +Put the interrupt sensor between 3.3v_out and GPIO ext.
606 606  
607 -1.
608 -11.
609 -111. Uplink on Interrupt
610 +[[image:1653273818896-432.png]]
610 610  
611 -Put the interrupt sensor between 3.3v_out and GPIO ext.[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image022.png]]
612 -
613 613  AT+INTMOD=0  Disable Interrupt
614 614  
615 615  AT+INTMOD=1  Interrupt trigger by rising or falling edge.
... ... @@ -618,22 +618,27 @@
618 618  
619 619  AT+INTMOD=3  Interrupt trigger by rising edge.
620 620  
620 +== 3.4 Uplink Payload ==
621 621  
622 -1.
623 -11. Uplink Payload
624 -
625 -|**Size(bytes)**|**2**|**1**|**Length depends on the return from the commands**
626 -|Value|(((
622 +(% border="1" style="background-color:#4f81bd; color:white; width:850px" %)
623 +|**Size(bytes)**|(% style="width:130px" %)**2**|(% style="width:93px" %)**1**|(% style="width:509px" %)**Length depends on the return from the commands**
624 +|Value|(% style="width:130px" %)(((
625 +(((
627 627  Battery(mV)
627 +)))
628 628  
629 +(((
629 629  &
631 +)))
630 630  
633 +(((
631 631  Interrupt _Flag
632 -)))|(((
635 +)))
636 +)))|(% style="width:93px" %)(((
633 633  PAYLOAD_VER
634 634  
635 635  
636 -)))|If the valid payload is too long and exceed the maximum support payload length in server, server will show payload not provided in the LoRaWAN server.
640 +)))|(% style="width:509px" %)If the valid payload is too long and exceed the maximum support payload length in server, server will show payload not provided in the LoRaWAN server.
637 637  
638 638  Below is the decoder for the first 3 bytes. The rest bytes are dynamic depends on different RS485 sensors.
639 639  
1653273818896-432.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +31.6 KB
Content