Changes for page RS485-BL – Waterproof RS485 to LoRaWAN Converter
Last modified by Xiaoling on 2025/04/23 15:57
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -638,6 +638,7 @@ 638 638 639 639 [[image:1653273818896-432.png]] 640 640 641 + 641 641 ((( 642 642 AT+INTMOD=0 Disable Interrupt 643 643 ))) ... ... @@ -652,6 +652,8 @@ 652 652 653 653 ((( 654 654 AT+INTMOD=3 Interrupt trigger by rising edge. 656 + 657 + 655 655 ))) 656 656 657 657 == 3.4 Uplink Payload == ... ... @@ -679,47 +679,49 @@ 679 679 Below is the decoder for the first 3 bytes. The rest bytes are dynamic depends on different RS485 sensors. 680 680 681 681 ((( 682 -function Decoder(bytes, port) { 685 +{{{function Decoder(bytes, port) {}}} 683 683 ))) 684 684 685 685 ((( 686 - ~/~/Payload Formats of RS485-BL Deceive689 +{{{//Payload Formats of RS485-BL Deceive}}} 687 687 ))) 688 688 689 689 ((( 690 -return { 693 +{{{return {}}} 691 691 ))) 692 692 693 693 ((( 694 - ~/~/Battery,units:V697 +{{{ //Battery,units:V}}} 695 695 ))) 696 696 697 697 ((( 698 - BatV:((bytes[0]<<8 | bytes[1])&0x7fff)/1000, 701 +{{{ BatV:((bytes[0]<<8 | bytes[1])&0x7fff)/1000,}}} 699 699 ))) 700 700 701 701 ((( 702 - ~/~/GPIO_EXTI705 +{{{ //GPIO_EXTI }}} 703 703 ))) 704 704 705 705 ((( 706 - EXTI_Trigger:(bytes[0] & 0x80)? "TRUE":"FALSE", 709 +{{{ EXTI_Trigger:(bytes[0] & 0x80)? "TRUE":"FALSE",}}} 707 707 ))) 708 708 709 709 ((( 710 - ~/~/payload of version713 +{{{ //payload of version}}} 711 711 ))) 712 712 713 713 ((( 714 - Pay_ver:bytes[2], 717 +{{{ Pay_ver:bytes[2],}}} 715 715 ))) 716 716 717 717 ((( 718 - }; 721 +{{{ }; }}} 719 719 ))) 720 720 721 721 ((( 722 - } 725 +{{{ }}}} 726 + 727 + 723 723 ))) 724 724 725 725 ((( ... ... @@ -728,6 +728,7 @@ 728 728 729 729 [[image:1653274001211-372.png||height="192" width="732"]] 730 730 736 + 731 731 == 3.5 Configure RS485-BL via AT or Downlink == 732 732 733 733 User can configure RS485-BL via [[AT Commands >>path:#_Using_the_AT]]or LoRaWAN Downlink Commands