Commit 35a730c7 by 郭峰

Merge branch 'feature-1007488' into 'release'

修改mqtt WIFI响应

See merge request !58
parents e23c1652 74dc3946
......@@ -220,7 +220,7 @@ int MqttSubscriber::messageArrived(char* topicName, int topicLen, MQTTAsync_mess
if (msgBodyOb.contains("username") && msgBodyOb.contains("password")) {
QString username = msgBodyOb["username"].toString();
QString password = msgBodyOb["password"].toString();
res = (cameraHandle->sdkWifi(password, username) ? 0 : 0x01);
res = (cameraHandle->sdkWifi(password, username) ? 0x01 :-1);
} else {
qInfo() << "IP username not found in msg_body.";
qInfo() << "IP password not found in msg_body.";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment