Browse Source

change mn mqtt host info

nana_sen 1 year ago
parent
commit
6f947c3b8b
1 changed files with 10 additions and 4 deletions
  1. 10 4
      task_script/MN_RL4RSSI_MQTT_CLIENT.php

+ 10 - 4
task_script/MN_RL4RSSI_MQTT_CLIENT.php

@@ -300,11 +300,17 @@ function rcInfoMsg($topic, $msg)
 }
 function loop()
 {
-    $server   = 'develop.rltest.cn';
+    // $server   = 'develop.rltest.cn';
+    // $port     = 1883;
+    // $clientId = 'mqttx_test1312412412';
+    // $username = 'rl517';
+    // $password = "rlian2022";
+    // $clean_session = true;
+    $server   = '127.0.0.1';
     $port     = 1883;
-    $clientId = 'mqttx_test1312412412';
-    $username = 'rl517';
-    $password = "rlian2022";
+    $clientId = 'mqttx_testparea'.rand(1234, 99999);
+    $username = 'rl0606';
+    $password = "rlian2023";
     $clean_session = true;
 
     $connectionSettings  = new ConnectionSettings();