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

From version 29.1
edited by Xiaoling
on 2022/05/23 10:46
Change comment: Uploaded new attachment "1653274001211-372.png", version {1}
To version 29.5
edited by Xiaoling
on 2022/06/01 18:00
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -7,12 +7,15 @@
7 7  **RS485-BL – Waterproof RS485 to LoRaWAN Converter User Manual**
8 8  
9 9  
10 +
10 10  **Table of Contents:**
11 11  
13 +{{toc/}}
12 12  
13 13  
14 14  
15 15  
18 +
16 16  = 1.Introduction =
17 17  
18 18  == 1.1 What is RS485-BL RS485 to LoRaWAN Converter ==
... ... @@ -649,41 +649,57 @@
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  
652 -
655 +(((
653 653  function Decoder(bytes, port) {
657 +)))
654 654  
659 +(((
655 655  ~/~/Payload Formats of RS485-BL Deceive
661 +)))
656 656  
663 +(((
657 657  return {
665 +)))
658 658  
667 +(((
659 659   ~/~/Battery,units:V
669 +)))
660 660  
671 +(((
661 661   BatV:((bytes[0]<<8 | bytes[1])&0x7fff)/1000,
673 +)))
662 662  
675 +(((
663 663   ~/~/GPIO_EXTI 
677 +)))
664 664  
679 +(((
665 665   EXTI_Trigger:(bytes[0] & 0x80)? "TRUE":"FALSE",
681 +)))
666 666  
683 +(((
667 667   ~/~/payload of version
685 +)))
668 668  
687 +(((
669 669   Pay_ver:bytes[2],
689 +)))
670 670  
691 +(((
671 671   };
693 +)))
672 672  
695 +(((
673 673   }
697 +)))
674 674  
675 -
676 -
677 -
678 -
679 -
680 -
699 +(((
681 681  TTN V3 uplink screen shot.
701 +)))
682 682  
683 -[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image023.png]]
703 +[[image:1653274001211-372.png||height="192" width="732"]]
684 684  
685 -1.
686 -11. Configure RS485-BL via AT or Downlink
705 +== 3.5 Configure RS485-BL via AT or Downlink ==
687 687  
688 688  User can configure RS485-BL via [[AT Commands >>path:#_​Using_the_AT]]or LoRaWAN Downlink Commands
689 689