Last modified by Mengting Qiu on 2025/03/08 11:33
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -443,21 +443,14 @@ 443 443 444 444 (% style="color:blue" %)**AT command:** 445 445 446 -* (% style="color:#037691" %)**AT+PRO=3,0 or 3,5 **(%%)~/~/ hex format or json format446 +* **AT+PRO=3,0 or 3,5 **~/~/ hex format or json format 447 447 448 -* (% style="color:#037691" %)**AT+SUBTOPIC=<device name>or User Defined** 448 +* **AT+SUBTOPIC=<device name>** **or User Defined** 449 +* **AT+PUBTOPIC=<device name>or User Defined** 450 +* **AT+CLIENT=<device name> or User Defined** 451 +* **AT+UNAME=<device name> or User Defined** 452 +* **AT+PWD=“Your device token”** 449 449 450 -* (% style="color:#037691" %)**AT+PUBTOPIC=<device name>or User Defined** 451 - 452 -* (% style="color:#037691" %)**AT+CLIENT=<device name> or User Defined** 453 - 454 -* (% style="color:#037691" %)**AT+UNAME=<device name> or User Defined** 455 - 456 -* (% style="color:#037691" %)**AT+PWD=“Your device token”** 457 - 458 - 459 - 460 - 461 461 === 3.7.2 Simulate with MQTT.fx === 462 462 463 463 [[image:image-20230802112413-52.png]] ... ... @@ -483,22 +483,17 @@ 483 483 484 484 == 3.8 TCP Connection == 485 485 486 -(% style="color:blue" %)**AT command:** 487 487 488 -* (% style="color:#037691" %)**AT+PRO=4,0 ** (%%) ~/~/ Set to use TCP protocol to uplink(HEX format) 480 +* **AT+PRO=4,0 ** ~/~/ Set to use TCP protocol to uplink(HEX format) 481 +* **AT+PRO=4,1 ** ~/~/ Set to use TCP protocol to uplink(JSON format) 482 +* **AT+SERVADDR=120.24.4.116,5600 **~/~/ to set TCP server address and port 489 489 490 -* (% style="color:#037691" %)**AT+PRO=4,1 ** (%%) ~/~/Set touse TCP protocol touplink(JSON format)484 +**Sensor Console Output when Uplink** 491 491 492 -* (% style="color:#037691" %)**AT+SERVADDR=120.24.4.116,5600 ** (%%) ~/~/ to set TCP server address and port 493 - 494 - 495 - 496 -(% style="color:blue" %)**Sensor Console Output when Uplink** 497 - 498 498 [[image:image-20230807233631-1.png]] 499 499 500 500 501 - (% style="color:blue" %)**See result in TCP Server**489 +**See result in TCP Server** 502 502 503 503 [[image:image-20230807233631-2.png]] 504 504