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)
-
Attachments (0 modified, 0 added, 1 removed)
Details
- Page properties
-
- Content
-
... ... @@ -609,95 +609,63 @@ 609 609 610 610 [[image:1653273818896-432.png]] 611 611 612 -((( 613 613 AT+INTMOD=0 Disable Interrupt 614 -))) 615 615 616 -((( 617 617 AT+INTMOD=1 Interrupt trigger by rising or falling edge. 618 -))) 619 619 620 -((( 621 621 AT+INTMOD=2 Interrupt trigger by falling edge. ( Default Value) 622 -))) 623 623 624 -((( 625 625 AT+INTMOD=3 Interrupt trigger by rising edge. 626 -))) 627 627 628 628 == 3.4 Uplink Payload == 629 629 630 -(% border="1" style="background-color:#4f81bd; color:white; width:850px" %) 631 -|**Size(bytes)**|(% style="width:130px" %)**2**|(% style="width:93px" %)**1**|(% style="width:509px" %)**Length depends on the return from the commands** 632 -|Value|(% style="width:130px" %)((( 633 -((( 622 +|**Size(bytes)**|**2**|**1**|**Length depends on the return from the commands** 623 +|Value|((( 634 634 Battery(mV) 635 -))) 636 636 637 -((( 638 638 & 639 -))) 640 640 641 -((( 642 642 Interrupt _Flag 643 -))) 644 -)))|(% style="width:93px" %)((( 629 +)))|((( 645 645 PAYLOAD_VER 646 646 647 647 648 -)))| (% style="width:509px" %)If the valid payload is too long and exceed the maximum support payload length in server, server will show payload not provided in the LoRaWAN server.633 +)))|If the valid payload is too long and exceed the maximum support payload length in server, server will show payload not provided in the LoRaWAN server. 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 - (((637 + 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 -((( 660 + 661 + 662 + 663 + 664 + 665 + 697 697 TTN V3 uplink screen shot. 698 -))) 699 699 700 -[[image: 1653274001211-372.png||height="192" width="732"]]668 +[[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