Changes for page 2 Script

Last modified by Devin Chen on 2025/06/06 14:03

From version 37.1
edited by Hunter
on 2023/01/03 09:36
Change comment: There is no comment for this version
To version 34.1
edited by Hunter
on 2022/11/22 15:39
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1234,10 +1234,6 @@
1234 1234  
1235 1235  [[image:image-20220709165402-20.png]]
1236 1236  
1237 -{{info}}
1238 -**✎Note:** Before using the following demo script, please make sure the V-Box firmware is newer than 22110701
1239 -{{/info}}
1240 -
1241 1241  {{code language="lua"}}
1242 1242  sprint = print
1243 1243  
... ... @@ -1299,7 +1299,7 @@
1299 1299  
1300 1300   sprint(string.format("mqtt init mqtt_url:%s mqtt_clientid:%s", MQTT_URL, MQTT_CLIENTID))
1301 1301  
1302 - g_mq, err = mqtt.create(MQTT_URL, MQTT_CLIENTID, 1) -- Create the object and declare it as a global variable, 1 means using the domain to connect
1298 + g_mq, err = mqtt.create(MQTT_URL, MQTT_CLIENTID) -- Create the object and declare it as a global variable
1303 1303  
1304 1304   if g_mq then
1305 1305