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

From version 29.38
edited by Xiaoling
on 2022/06/02 09:00
Change comment: There is no comment for this version
To version 29.39
edited by Xiaoling
on 2022/06/02 09:02
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -682,47 +682,49 @@
682 682  Below is the decoder for the first 3 bytes. The rest bytes are dynamic depends on different RS485 sensors.
683 683  
684 684  (((
685 -function Decoder(bytes, port) {
685 +{{{function Decoder(bytes, port) {}}}
686 686  )))
687 687  
688 688  (((
689 -~/~/Payload Formats of RS485-BL Deceive
689 +{{{//Payload Formats of RS485-BL Deceive}}}
690 690  )))
691 691  
692 692  (((
693 -return {
693 +{{{return {}}}
694 694  )))
695 695  
696 696  (((
697 - ~/~/Battery,units:V
697 +{{{ //Battery,units:V}}}
698 698  )))
699 699  
700 700  (((
701 - BatV:((bytes[0]<<8 | bytes[1])&0x7fff)/1000,
701 +{{{ BatV:((bytes[0]<<8 | bytes[1])&0x7fff)/1000,}}}
702 702  )))
703 703  
704 704  (((
705 - ~/~/GPIO_EXTI 
705 +{{{ //GPIO_EXTI }}}
706 706  )))
707 707  
708 708  (((
709 - EXTI_Trigger:(bytes[0] & 0x80)? "TRUE":"FALSE",
709 +{{{ EXTI_Trigger:(bytes[0] & 0x80)? "TRUE":"FALSE",}}}
710 710  )))
711 711  
712 712  (((
713 - ~/~/payload of version
713 +{{{ //payload of version}}}
714 714  )))
715 715  
716 716  (((
717 - Pay_ver:bytes[2],
717 +{{{ Pay_ver:bytes[2],}}}
718 718  )))
719 719  
720 720  (((
721 - };
721 +{{{ }; }}}
722 722  )))
723 723  
724 724  (((
725 - }
725 +{{{ }}}}
726 +
727 +
726 726  )))
727 727  
728 728  (((
... ... @@ -731,6 +731,7 @@
731 731  
732 732  [[image:1653274001211-372.png||height="192" width="732"]]
733 733  
736 +
734 734  == 3.5 Configure RS485-BL via AT or Downlink ==
735 735  
736 736  User can configure RS485-BL via [[AT Commands >>path:#_​Using_the_AT]]or LoRaWAN Downlink Commands