欢迎图片

Changes for page 01 Lua Functions

Last modified by Devin Chen on 2025/11/26 18:12

From version 4.1
edited by Devin Chen
on 2025/10/30 22:36
Change comment: There is no comment for this version
To version 5.1
edited by Devin Chen
on 2025/11/26 18:12
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -765,7 +765,7 @@
765 765  1: reserved
766 766  
767 767  (((
768 -== **mqtt.create(string serverurl, string clientid)** ==
768 +== **mqtt.create(string serverurl, string clientid[, int useDomain])** ==
769 769  )))
770 770  
771 771  **Function:** Create an MQTT object
... ... @@ -784,6 +784,8 @@
784 784  
785 785  //clientid//: Client ID
786 786  
787 +//int useDomain: //0: convert to IP for connection, 1: use domain name for connection.
788 +
787 787  **Return:**
788 788  
789 789  Succeed: MQTT object