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

From version 29.2
edited by Xiaoling
on 2022/05/23 10:47
Change comment: There is no comment for this version
To version 28.4
edited by Xiaoling
on 2022/05/23 10:46
Change comment: There is no comment for this version

Summary

Details

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