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

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

Summary

Details

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