Last modified by Mengting Qiu on 2025/03/08 11:33
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -642,11 +642,11 @@ 642 642 643 643 Configure MQTT connections properly and send downlink commands to configure nodes through the Publish function of MQTT.fx//.// 644 644 645 -**1.** **Configure node MQTT connection (via MQTT.fx):**645 +**1.** Configure node MQTT connection (via MQTT.fx): 646 646 647 647 (% style="color:blue" %)**AT command:** 648 648 649 -* (% style="color:#037691" %)**AT+PRO=3,0 or 3,5 ** (%%) **~/~/ hex format or json format**649 +* (% style="color:#037691" %)**AT+PRO=3,0 or 3,5 ** (%%)~/~/ hex format or json format 650 650 651 651 * (% style="color:#037691" %)**AT+SUBTOPIC=User Defined** 652 652 ... ... @@ -656,19 +656,35 @@ 656 656 657 657 * (% style="color:#037691" %)**AT+PWD=<device name> or User Defined** 658 658 659 -* (% style="color:#037691" %)**AT+SERVADDR=8.217.91.207,1883 ** (%%) **~/~/ to set MQTT server address and port**659 +* (% style="color:#037691" %)**AT+SERVADDR=8.217.91.207,1883 ** (%%) ~/~/ to set MQTT server address and port 660 660 661 661 (% style="color:red" %)**Note: To uplink and downlink via MQTT.fx, we need set the publish topic and subscribe topic different, for example: AT+SUBTOPIC=SE01_SUB & AT+PUBTOPIC=SE01_PUB.** 662 662 663 -[[image:image-20240417180145-2.png||height=" 545" width="737"]]663 +[[image:image-20240417180145-2.png||height="434" width="587"]][[image:image-20240417180737-3.png||height="431" width="584"]] 664 664 665 -[[image:image-20240417180737-3.png||height="544" width="738"]] 666 666 666 +**2. **When the node uplink packets, we can observe the data in MQTT.fx. 667 667 668 +[[image:image-20240418144337-1.png||height="709" width="802"]] 668 668 670 +**3. **The downlink command can be successfully sent only when the downlink port is open. 669 669 672 + The downlink port is opened for about 3 seconds after uplink packets are sent. 670 670 674 + Therefore, when we see the node uplink packets in the **Subscribe** window, we need to immediately switch to the **publish** window to publish the **hex format** command. 671 671 676 +[[image:image-20240418150435-3.png||height="582" width="659"]] 677 + 678 +[[image:image-20240418150932-4.png||height="492" width="1061"]] 679 + 680 +(% style="color:red" %)**Note: Users can edit the hex command in advance. When the node uplink, directly click the publish button several times to increase the success rate of command configuration.** 681 + 682 + 683 + 684 + 685 + 686 + 687 + 672 672 = 5. FAQ = 673 673 674 674 == 5.1 What is the usage of Multi Sampling and One Uplink? ==