Commit 73ca8100 by “liusq”

新增WIFI配置返回状态

parent c893fa4a
......@@ -1129,12 +1129,11 @@ bool CameraHandle::sdkWifi(QString &pwd,QString &ssid){
char szOutBuffer[512] = { 0 };
int nLen = sizeof(szOutBuffer);
int res =XSDK_DevSetSysConfigSyn(hDevice, JK_NetWork_Wifi, wipCfg, strlen(wipCfg), szOutBuffer, &nLen, 3000, EXCMD_CONFIG_SET);
qInfo()<<QString("SN(%1): 修改WIFI结果:%2").arg(sSn).arg(res);
if(res<0){
qInfo()<<QString("SN(%1): 修改wifi失败:%2").arg(sSn).arg(res);
return false;
}
deviceReboot();
return true;
}
......
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