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 29.2
edited by Xiaoling
on 2022/05/23 10:47
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -649,38 +649,55 @@
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 -
652 +(((
653 653  function Decoder(bytes, port) {
654 +)))
654 654  
656 +(((
655 655  ~/~/Payload Formats of RS485-BL Deceive
658 +)))
656 656  
660 +(((
657 657  return {
662 +)))
658 658  
664 +(((
659 659   ~/~/Battery,units:V
666 +)))
660 660  
668 +(((
661 661   BatV:((bytes[0]<<8 | bytes[1])&0x7fff)/1000,
670 +)))
662 662  
672 +(((
663 663   ~/~/GPIO_EXTI 
674 +)))
664 664  
676 +(((
665 665   EXTI_Trigger:(bytes[0] & 0x80)? "TRUE":"FALSE",
678 +)))
666 666  
680 +(((
667 667   ~/~/payload of version
682 +)))
668 668  
684 +(((
669 669   Pay_ver:bytes[2],
686 +)))
670 670  
688 +(((
671 671   };
690 +)))
672 672  
692 +(((
673 673   }
694 +)))
674 674  
675 -
676 -
677 -
678 -
679 -
680 -
696 +(((
681 681  TTN V3 uplink screen shot.
698 +)))
682 682  
683 -[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image023.png]]
700 +[[image:1653274001211-372.png||height="192" width="732"]]
684 684  
685 685  1.
686 686  11. Configure RS485-BL via AT or Downlink
1653274001211-372.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +91.4 KB
Content