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

From version 28.4
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,67 +585,52 @@
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  
612 -(((
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 -)))
615 615  
616 -(((
617 617  AT+INTMOD=1  Interrupt trigger by rising or falling edge.
618 -)))
619 619  
620 -(((
621 621  AT+INTMOD=2  Interrupt trigger by falling edge. ( Default Value)
622 -)))
623 623  
624 -(((
625 625  AT+INTMOD=3  Interrupt trigger by rising edge.
626 -)))
627 627  
628 -== 3.4 Uplink Payload ==
629 629  
630 -(% border="1" style="background-color:#4f81bd; color:white; width:850px" %)
631 -|**Size(bytes)**|(% style="width:130px" %)**2**|(% style="width:93px" %)**1**|(% style="width:509px" %)**Length depends on the return from the commands**
632 -|Value|(% style="width:130px" %)(((
633 -(((
622 +1.
623 +11. Uplink Payload
624 +
625 +|**Size(bytes)**|**2**|**1**|**Length depends on the return from the commands**
626 +|Value|(((
634 634  Battery(mV)
635 -)))
636 636  
637 -(((
638 638  &
639 -)))
640 640  
641 -(((
642 642  Interrupt _Flag
643 -)))
644 -)))|(% style="width:93px" %)(((
632 +)))|(((
645 645  PAYLOAD_VER
646 646  
647 647  
648 -)))|(% 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.
649 649  
650 650  Below is the decoder for the first 3 bytes. The rest bytes are dynamic depends on different RS485 sensors.
651 651