|
提示GIZ_SDK_DEVICE_CONFIG_IS_RUNNING
GizGAgentESP = 4;
gizWifiSDK.setDeviceOnboarding({
"ssid": $("#ssid").val(),
"key": $("#pwd").val(),
"mode": 1,
"gagentTypes": [GizGAgentESP],
"timeout": 60
}, function (ret, err) {
alert("ret = " + JSON.stringify(ret) + "err = " + JSON.stringify(err))
});
设置连接的代码 |
|
|