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

From version 29.36
edited by Xiaoling
on 2022/06/02 08:59
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
... ... @@ -628,6 +628,8 @@
628 628  
629 629  (((
630 630  **0xA8 command**: Send a command to RS485-BL and uplink the output from sensors.
631 +
632 +
631 631  )))
632 632  
633 633  === 3.3.6 Uplink on Interrupt ===
... ... @@ -636,6 +636,7 @@
636 636  
637 637  [[image:1653273818896-432.png]]
638 638  
641 +
639 639  (((
640 640  AT+INTMOD=0  Disable Interrupt
641 641  )))
... ... @@ -650,6 +650,8 @@
650 650  
651 651  (((
652 652  AT+INTMOD=3  Interrupt trigger by rising edge.
656 +
657 +
653 653  )))
654 654  
655 655  == 3.4 Uplink Payload ==
... ... @@ -677,47 +677,49 @@
677 677  Below is the decoder for the first 3 bytes. The rest bytes are dynamic depends on different RS485 sensors.
678 678  
679 679  (((
680 -function Decoder(bytes, port) {
685 +{{{function Decoder(bytes, port) {}}}
681 681  )))
682 682  
683 683  (((
684 -~/~/Payload Formats of RS485-BL Deceive
689 +{{{//Payload Formats of RS485-BL Deceive}}}
685 685  )))
686 686  
687 687  (((
688 -return {
693 +{{{return {}}}
689 689  )))
690 690  
691 691  (((
692 - ~/~/Battery,units:V
697 +{{{ //Battery,units:V}}}
693 693  )))
694 694  
695 695  (((
696 - BatV:((bytes[0]<<8 | bytes[1])&0x7fff)/1000,
701 +{{{ BatV:((bytes[0]<<8 | bytes[1])&0x7fff)/1000,}}}
697 697  )))
698 698  
699 699  (((
700 - ~/~/GPIO_EXTI 
705 +{{{ //GPIO_EXTI }}}
701 701  )))
702 702  
703 703  (((
704 - EXTI_Trigger:(bytes[0] & 0x80)? "TRUE":"FALSE",
709 +{{{ EXTI_Trigger:(bytes[0] & 0x80)? "TRUE":"FALSE",}}}
705 705  )))
706 706  
707 707  (((
708 - ~/~/payload of version
713 +{{{ //payload of version}}}
709 709  )))
710 710  
711 711  (((
712 - Pay_ver:bytes[2],
717 +{{{ Pay_ver:bytes[2],}}}
713 713  )))
714 714  
715 715  (((
716 - };
721 +{{{ }; }}}
717 717  )))
718 718  
719 719  (((
720 - }
725 +{{{ }}}}
726 +
727 +
721 721  )))
722 722  
723 723  (((
... ... @@ -726,6 +726,7 @@
726 726  
727 727  [[image:1653274001211-372.png||height="192" width="732"]]
728 728  
736 +
729 729  == 3.5 Configure RS485-BL via AT or Downlink ==
730 730  
731 731  User can configure RS485-BL via [[AT Commands >>path:#_​Using_the_AT]]or LoRaWAN Downlink Commands