qcloud-iotexplorer-appdev-plugin-wificonf-core
Advanced tools
Comparing version 1.0.11 to 1.0.12
@@ -11,2 +11,3 @@ export const WifiSmartConfigHardwareGuide: "1. 接通设备电源。\n2. 长按复位键(开关)5 秒,指示灯快闪时,再次长按复位键 3 秒。\n3. 指示灯进入慢闪状态即可。"; | ||
UDP_NOT_RESPONSE: string; | ||
CONNECT_WIFI_FAIL: string; | ||
WIFI_CONF_FAIL: string; | ||
@@ -13,0 +14,0 @@ PROTOCOL_FAIL: string; |
@@ -6,2 +6,3 @@ export namespace WifiConfErrorMsg { | ||
export const UDP_NOT_RESPONSE: string; | ||
export const CONNECT_WIFI_FAIL: string; | ||
export const WIFI_CONF_FAIL: string; | ||
@@ -8,0 +9,0 @@ export const PROTOCOL_FAIL: string; |
@@ -1,2 +0,2 @@ | ||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ConnectLogWifiError=exports.WifiConnectErrorMsg=exports.WifiConfErrorMsg=void 0;var isIOS="ios"===wx.getSystemInfoSync().platform;exports.WifiConfErrorMsg={UDP_ERROR:"发送配网消息失败,请重启微信APP后重试配网",UDP_CLOSED:"设备连接中断,请检查设备配网状态后重试",UDP_SEND_MSG_FAIL:"设备连接失败,请检查设备配网状态后重试",UDP_NOT_RESPONSE:"设备未响应,请检查设备和网络后重试",WIFI_CONF_FAIL:"配网失败,请检查设备和网络后重试",PROTOCOL_FAIL:"配网失败,请检查设备和网络后重试",PROTOCOL_TIMEOUT:"配网超时,请检查设备和网络后重试",PROTOCOL_INVALID_RESPONSE:"无效响应,请检查设备和网络后重试",BUSINESS_DEVICE_ERROR:"设备连接中断,请检查设备配网状态后重试",BUSINESS_INVALID_RESPONSE:"设备响应错误,请检查设备和网络后重试",BUSINESS_DEVICE_CONNECT_MQTT_FAIL:"设备连接云端失败,请检查网络后重试",BUSINESS_DEVICE_CONNECT_WIFI_FAIL:"设备连接网络失败,请检查WiFi密码后重试",BUSINESS_ADD_DEVICE_FAIL:"添加设备失败",BUSINESS_QUERY_BIND_TOKEN_TIMEOUT:"设备连接云端超时,请检查WiFi密码后重试",BUSINESS_QUERY_BIND_TOKEN_FAIL:"查询设备连接云端状态失败,请检查网络后重试",BUSINESS_WIFI_RECONNECT_FAIL:"小程序重新连接目标WI-FI失败,重试时请弹窗提示失败后手动切换再按确定",MODULE_REPORT_CONNECT_WIFI_ERROR:"连接设备失败,请检查设备电源和信号后重试",MODULE_REPORT_COMMUNICATE_AP_ERROR:"与设备通信失败,请检查设备电源和信号后重试",MODULE_REPORT_ERROR:"收集设备日志失败,请检查设备电源和信号后重试",MODULE_REPORT_TIMEOUT:"收集设备日志超时,请检查设备电源和信号后重试"},exports.WifiConnectErrorMsg={12e3:"WiFi模块初始化失败,请重启微信后重试",12001:"您的设备或系统不支持进行WiFi连接",12002:"请检查您的WiFi密码是否正确",12003:"连接WiFi热点超时,请重新连接",12004:"重复连接 Wi-Fi",12005:"配网操作需打开WiFi开关,请打开后重试",12006:"配网操作需打开GPS定位开关,请打开后重试",12007:isIOS?"WiFi连接操作被拒绝,请重试并在弹出的提示框中点击“加入”":"WiFi连接操作被拒绝,请重试并在弹出的提示框中点击允许连接WiFi",12008:"请确认连接的WiFi热点是否正确",12009:"配置WiFi连接失败,请尝试其他WiFi热点",12011:"配置WiFi连接失败,请重试",12013:"系统保存的WiFi配置过期,请在系统设置中忘记该WiFi后重试",NO_WIFI_IS_CONNECTED:"请检查WiFi信号和密码后重试",SSID_MISMATCH:"请检查WiFi信号和密码后重试",IOS_REFRESH_TIMEOUT:"获取WiFi列表超时,请重试",DEFAULT:"请检查WiFi开关是否打开后重试"},exports.ConnectLogWifiError=Object.assign({12002:"连接设备失败",12003:"连接设备超时,请检查设备电源和信号后重试",12005:"收集设备日志需打开WiFi开关,请打开后重试",12006:"收集设备日志需打开GPS定位开关,请打开后重试",12009:"连接设备失败",12011:"连接设备失败,请重试",NO_WIFI_IS_CONNECTED:"连接设备失败,请检查设备电源和信号后重试",RECONNECT_WIFI_FAIL:"连接设备失败,请检查设备电源和信号后重试",DEFAULT:"连接设备失败,请检查设备电源和信号后重试"},exports.WifiConnectErrorMsg); | ||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.ConnectLogWifiError=exports.WifiConnectErrorMsg=exports.WifiConfErrorMsg=void 0;var isIOS="ios"===wx.getSystemInfoSync().platform;exports.WifiConfErrorMsg={UDP_ERROR:"发送配网消息失败,请重启微信APP后重试配网",UDP_CLOSED:"设备连接中断,请检查设备配网状态后重试",UDP_SEND_MSG_FAIL:"设备连接失败,请检查设备配网状态后重试",UDP_NOT_RESPONSE:"设备未响应,请检查设备和网络后重试",CONNECT_WIFI_FAIL:"CONNECT_WIFI_FAIL",WIFI_CONF_FAIL:"配网失败,请检查设备和网络后重试",PROTOCOL_FAIL:"配网失败,请检查设备和网络后重试",PROTOCOL_TIMEOUT:"配网超时,请检查设备和网络后重试",PROTOCOL_INVALID_RESPONSE:"无效响应,请检查设备和网络后重试",BUSINESS_DEVICE_ERROR:"设备连接中断,请检查设备配网状态后重试",BUSINESS_INVALID_RESPONSE:"设备响应错误,请检查设备和网络后重试",BUSINESS_DEVICE_CONNECT_MQTT_FAIL:"设备连接云端失败,请检查网络后重试",BUSINESS_DEVICE_CONNECT_WIFI_FAIL:"设备连接网络失败,请检查WiFi密码后重试",BUSINESS_ADD_DEVICE_FAIL:"添加设备失败",BUSINESS_QUERY_BIND_TOKEN_TIMEOUT:"设备连接云端超时,请检查WiFi密码后重试",BUSINESS_QUERY_BIND_TOKEN_FAIL:"查询设备连接云端状态失败,请检查网络后重试",BUSINESS_WIFI_RECONNECT_FAIL:"小程序重新连接目标WI-FI失败,重试时请弹窗提示失败后手动切换再按确定",MODULE_REPORT_CONNECT_WIFI_ERROR:"连接设备失败,请检查设备电源和信号后重试",MODULE_REPORT_COMMUNICATE_AP_ERROR:"与设备通信失败,请检查设备电源和信号后重试",MODULE_REPORT_ERROR:"收集设备日志失败,请检查设备电源和信号后重试",MODULE_REPORT_TIMEOUT:"收集设备日志超时,请检查设备电源和信号后重试"},exports.WifiConnectErrorMsg={12e3:"WiFi模块初始化失败,请重启微信后重试",12001:"您的设备或系统不支持进行WiFi连接",12002:"请检查您的WiFi密码是否正确",12003:"连接WiFi热点超时,请重新连接",12004:"重复连接 Wi-Fi",12005:"配网操作需打开WiFi开关,请打开后重试",12006:"配网操作需打开GPS定位开关,请打开后重试",12007:isIOS?"WiFi连接操作被拒绝,请重试并在弹出的提示框中点击“加入”":"WiFi连接操作被拒绝,请重试并在弹出的提示框中点击允许连接WiFi",12008:"请确认连接的WiFi热点是否正确",12009:"配置WiFi连接失败,请尝试其他WiFi热点",12011:"配置WiFi连接失败,请重试",12013:"系统保存的WiFi配置过期,请在系统设置中忘记该WiFi后重试",NO_WIFI_IS_CONNECTED:"请检查WiFi信号和密码后重试",SSID_MISMATCH:"请检查WiFi信号和密码后重试",IOS_REFRESH_TIMEOUT:"获取WiFi列表超时,请重试",DEFAULT:"请检查WiFi开关是否打开后重试"},exports.ConnectLogWifiError=Object.assign({12002:"连接设备失败",12003:"连接设备超时,请检查设备电源和信号后重试",12005:"收集设备日志需打开WiFi开关,请打开后重试",12006:"收集设备日志需打开GPS定位开关,请打开后重试",12009:"连接设备失败",12011:"连接设备失败,请重试",NO_WIFI_IS_CONNECTED:"连接设备失败,请检查设备电源和信号后重试",RECONNECT_WIFI_FAIL:"连接设备失败,请检查设备电源和信号后重试",DEFAULT:"连接设备失败,请检查设备电源和信号后重试"},exports.WifiConnectErrorMsg); | ||
//# sourceMappingURL=errors.js.map |
@@ -15,2 +15,3 @@ export namespace WifiConfStepDesp { | ||
export const BUSINESS_ADD_DEVICE_START: string; | ||
export const BUSINESS_ADD_DEVICE_SUCCESS: string; | ||
export const CONNECT_WIFI_START: string; | ||
@@ -20,4 +21,7 @@ export const CONNECT_WIFI_SUCCESS: string; | ||
export const SOFTAP_GET_DEVICE_SIGNATURE_START: string; | ||
export const SOFTAP_GET_DEVICE_SIGNATURE_SUCCESS: string; | ||
export const SOFTAP_RECONNECT_TARGET_WIFI_START: string; | ||
export const SOFTAP_RECONNECT_TARGET_WIFI_SUCCESS: string; | ||
export const SOFTAP_SEND_TARGET_WIFIINFO_START: string; | ||
export const SOFTAP_SEND_TARGET_WIFIINFO_SUCCESS: string; | ||
export const AUTO_HANDLE_WIFI_PROBLEM_START: string; | ||
@@ -24,0 +28,0 @@ export const AUTO_HANDLE_WIFI_PROBLEM_CANCEL: string; |
@@ -1,2 +0,2 @@ | ||
"use strict";var _a;Object.defineProperty(exports,"__esModule",{value:!0}),exports.WifiConfStepDesp=void 0;var steps_1=require("./steps");exports.WifiConfStepDesp=((_a={})[steps_1.WifiConfStepCode.WIFI_CONF_START]="开始配网",_a[steps_1.WifiConfStepCode.WIFI_CONF_RESTART]="重新配网",_a[steps_1.WifiConfStepCode.WIFI_CONF_SUCCESS]="配网成功",_a[steps_1.WifiConfStepCode.PROTOCOL_START]="开始进行配网协议传输",_a[steps_1.WifiConfStepCode.PROTOCOL_SUCCESS]="配网协议传输成功",_a[steps_1.WifiConfStepCode.PROTOCOL_DETAIL]="配网协议传输详情",_a[steps_1.WifiConfStepCode.CREATE_UDP_CONNECTION_START]="开始与设备建立UDP连接",_a[steps_1.WifiConfStepCode.CREATE_UDP_CONNECTION_SUCCESS]="设备建立UDP连接成功",_a[steps_1.WifiConfStepCode.BUSINESS_START]="开始业务流程",_a[steps_1.WifiConfStepCode.BUSINESS_QUERY_TOKEN_STATE_START]="开始查询TOKEN状态",_a[steps_1.WifiConfStepCode.BUSINESS_QUERY_TOKEN_STATE_SUCCESS]="查询TOKEN状态成功",_a[steps_1.WifiConfStepCode.BUSINESS_SUCCESS]="业务流程执行成功",_a[steps_1.WifiConfStepCode.BUSINESS_ADD_DEVICE_START]="开始绑定设备",_a[steps_1.WifiConfStepCode.CONNECT_WIFI_START]="开始连接WIFI",_a[steps_1.WifiConfStepCode.CONNECT_WIFI_SUCCESS]="连接WIFI成功",_a[steps_1.WifiConfStepCode.CONNECT_WIFI_MANUAL]="WIFI已手动连接",_a[steps_1.WifiConfStepCode.SOFTAP_GET_DEVICE_SIGNATURE_SUCCESS]="SOFTAP开始获取设备签名",_a[steps_1.WifiConfStepCode.SOFTAP_RECONNECT_TARGET_WIFI_START]="重连有网WIFI",_a[steps_1.WifiConfStepCode.SOFTAP_RECONNECT_TARGET_WIFI_SUCCESS]="重连有网WIFI成功",_a[steps_1.WifiConfStepCode.AUTO_HANDLE_WIFI_PROBLEM_START]="自动处理故障开始",_a[steps_1.WifiConfStepCode.AUTO_HANDLE_WIFI_PROBLEM_CANCEL]="取消自动处理故障",_a[steps_1.WifiConfStepCode.AUTO_HANDLE_WIFI_PROBLEM_SUCCESS]="自动处理故障成功",_a[steps_1.WifiConfStepCode.MODULE_REPORT_START]="设备上报日志模式开始",_a[steps_1.WifiConfStepCode.MODULE_REPORT_CONNECT_WIFI_START]="设备上报日志模式开始连接设备AP",_a[steps_1.WifiConfStepCode.MODULE_REPORT_CONNECT_WIFI_SUCCESS]="设备上报日志模式连接设备AP成功",_a[steps_1.WifiConfStepCode.MODULE_REPORT_COMMUNICATE_AP_START]="开始跟设备通信",_a[steps_1.WifiConfStepCode.MODULE_REPORT_COMMUNICATE_AP_SUCCESS]="收集设备日志成功",_a[steps_1.WifiConfStepCode.MODULE_REPORT_COMMUNICATE_END]="设备上报日志模式结束",_a); | ||
"use strict";var _a;Object.defineProperty(exports,"__esModule",{value:!0}),exports.WifiConfStepDesp=void 0;var steps_1=require("./steps");exports.WifiConfStepDesp=((_a={})[steps_1.WifiConfStepCode.WIFI_CONF_START]="开始配网",_a[steps_1.WifiConfStepCode.WIFI_CONF_RESTART]="重新配网",_a[steps_1.WifiConfStepCode.WIFI_CONF_SUCCESS]="配网成功",_a[steps_1.WifiConfStepCode.PROTOCOL_START]="开始进行配网协议传输",_a[steps_1.WifiConfStepCode.PROTOCOL_SUCCESS]="配网协议传输成功",_a[steps_1.WifiConfStepCode.PROTOCOL_DETAIL]="配网协议传输详情",_a[steps_1.WifiConfStepCode.CREATE_UDP_CONNECTION_START]="开始与设备建立UDP连接",_a[steps_1.WifiConfStepCode.CREATE_UDP_CONNECTION_SUCCESS]="设备建立UDP连接成功",_a[steps_1.WifiConfStepCode.BUSINESS_START]="开始业务流程",_a[steps_1.WifiConfStepCode.BUSINESS_QUERY_TOKEN_STATE_START]="开始查询TOKEN状态",_a[steps_1.WifiConfStepCode.BUSINESS_QUERY_TOKEN_STATE_SUCCESS]="查询TOKEN状态成功",_a[steps_1.WifiConfStepCode.BUSINESS_SUCCESS]="业务流程执行成功",_a[steps_1.WifiConfStepCode.BUSINESS_ADD_DEVICE_START]="开始绑定设备",_a[steps_1.WifiConfStepCode.BUSINESS_ADD_DEVICE_SUCCESS]="绑定设备成功",_a[steps_1.WifiConfStepCode.CONNECT_WIFI_START]="开始连接WIFI",_a[steps_1.WifiConfStepCode.CONNECT_WIFI_SUCCESS]="连接WIFI成功",_a[steps_1.WifiConfStepCode.CONNECT_WIFI_MANUAL]="WIFI已手动连接",_a[steps_1.WifiConfStepCode.SOFTAP_GET_DEVICE_SIGNATURE_START]="SOFTAP开始获取设备签名",_a[steps_1.WifiConfStepCode.SOFTAP_GET_DEVICE_SIGNATURE_SUCCESS]="获取设备签名成功",_a[steps_1.WifiConfStepCode.SOFTAP_RECONNECT_TARGET_WIFI_START]="重连有网WIFI",_a[steps_1.WifiConfStepCode.SOFTAP_RECONNECT_TARGET_WIFI_SUCCESS]="重连有网WIFI成功",_a[steps_1.WifiConfStepCode.SOFTAP_SEND_TARGET_WIFIINFO_START]="开始发送目标 Wi-Fi 信息",_a[steps_1.WifiConfStepCode.SOFTAP_SEND_TARGET_WIFIINFO_SUCCESS]="发送目标 Wi-Fi 信息成功",_a[steps_1.WifiConfStepCode.AUTO_HANDLE_WIFI_PROBLEM_START]="自动处理故障开始",_a[steps_1.WifiConfStepCode.AUTO_HANDLE_WIFI_PROBLEM_CANCEL]="取消自动处理故障",_a[steps_1.WifiConfStepCode.AUTO_HANDLE_WIFI_PROBLEM_SUCCESS]="自动处理故障成功",_a[steps_1.WifiConfStepCode.MODULE_REPORT_START]="设备上报日志模式开始",_a[steps_1.WifiConfStepCode.MODULE_REPORT_CONNECT_WIFI_START]="设备上报日志模式开始连接设备AP",_a[steps_1.WifiConfStepCode.MODULE_REPORT_CONNECT_WIFI_SUCCESS]="设备上报日志模式连接设备AP成功",_a[steps_1.WifiConfStepCode.MODULE_REPORT_COMMUNICATE_AP_START]="开始跟设备通信",_a[steps_1.WifiConfStepCode.MODULE_REPORT_COMMUNICATE_AP_SUCCESS]="收集设备日志成功",_a[steps_1.WifiConfStepCode.MODULE_REPORT_COMMUNICATE_END]="设备上报日志模式结束",_a); | ||
//# sourceMappingURL=step-desp.js.map |
@@ -15,8 +15,12 @@ export declare enum WifiConfStepCode { | ||
BUSINESS_QUERY_TOKEN_STATE_SUCCESS = "BUSINESS_QUERY_TOKEN_STATE_SUCCESS", | ||
BUSINESS_ADD_DEVICE_START = "BUSINESS_ADD_DEVICE_START", | ||
BUSINESS_ADD_DEVICE_SUCCESS = "BUSINESS_ADD_DEVICE_SUCCESS", | ||
BUSINESS_SUCCESS = "BUSINESS_SUCCESS", | ||
BUSINESS_ADD_DEVICE_START = "BUSINESS_ADD_DEVICE_START", | ||
CONNECT_WIFI_START = "CONNECT_WIFI_START", | ||
CONNECT_WIFI_SUCCESS = "CONNECT_WIFI_SUCCESS", | ||
CONNECT_WIFI_MANUAL = "CONNECT_WIFI_MANUAL", | ||
SOFTAP_GET_DEVICE_SIGNATURE_SUCCESS = "SOFTAP_GET_DEVICE_SIGNATURE_START", | ||
SOFTAP_GET_DEVICE_SIGNATURE_START = "SOFTAP_GET_DEVICE_SIGNATURE_START", | ||
SOFTAP_GET_DEVICE_SIGNATURE_SUCCESS = "SOFTAP_GET_DEVICE_SIGNATURE_SUCCESS", | ||
SOFTAP_SEND_TARGET_WIFIINFO_START = "SOFTAP_SEND_TARGET_WIFIINFO_START", | ||
SOFTAP_SEND_TARGET_WIFIINFO_SUCCESS = "SOFTAP_SEND_TARGET_WIFIINFO_SUCCESS", | ||
SOFTAP_RECONNECT_TARGET_WIFI_START = "SOFTAP_RECONNECT_TARGET_WIFI_START", | ||
@@ -23,0 +27,0 @@ SOFTAP_RECONNECT_TARGET_WIFI_SUCCESS = "SOFTAP_RECONNECT_TARGET_WIFI_SUCCESS", |
@@ -1,2 +0,2 @@ | ||
"use strict";var WifiConfStepCode;Object.defineProperty(exports,"__esModule",{value:!0}),exports.WifiConfStepCode=void 0,function(_){_.WIFI_CONF_START="WIFI_CONF_START",_.WIFI_CONF_RESTART="WIFI_CONF_RESTART",_.WIFI_CONF_SUCCESS="WIFI_CONF_SUCCESS",_.WIFI_CONF_FAIL="WIFI_CONF_FAIL",_.WIFI_CONF_AUTO_RETRY="WIFI_CONF_AUTO_RETRY",_.PROTOCOL_START="PROTOCOL_START",_.PROTOCOL_SUCCESS="PROTOCOL_SUCCESS",_.PROTOCOL_DETAIL="PROTOCOL_DETAIL",_.CREATE_UDP_CONNECTION_START="CREATE_UDP_CONNECTION_START",_.CREATE_UDP_CONNECTION_SUCCESS="CREATE_UDP_CONNECTION_SUCCESS",_.BUSINESS_START="BUSINESS_START",_.BUSINESS_QUERY_TOKEN_STATE_START="BUSINESS_QUERY_TOKEN_STATE_START",_.BUSINESS_QUERY_TOKEN_STATE_SUCCESS="BUSINESS_QUERY_TOKEN_STATE_SUCCESS",_.BUSINESS_SUCCESS="BUSINESS_SUCCESS",_.BUSINESS_ADD_DEVICE_START="BUSINESS_ADD_DEVICE_START",_.CONNECT_WIFI_START="CONNECT_WIFI_START",_.CONNECT_WIFI_SUCCESS="CONNECT_WIFI_SUCCESS",_.CONNECT_WIFI_MANUAL="CONNECT_WIFI_MANUAL",_.SOFTAP_GET_DEVICE_SIGNATURE_SUCCESS="SOFTAP_GET_DEVICE_SIGNATURE_START",_.SOFTAP_RECONNECT_TARGET_WIFI_START="SOFTAP_RECONNECT_TARGET_WIFI_START",_.SOFTAP_RECONNECT_TARGET_WIFI_SUCCESS="SOFTAP_RECONNECT_TARGET_WIFI_SUCCESS",_.AUTO_HANDLE_WIFI_PROBLEM_START="AUTO_HANDLE_WIFI_PROBLEM_START",_.AUTO_HANDLE_WIFI_PROBLEM_CANCEL="AUTO_HANDLE_WIFI_PROBLEM_CANCEL",_.AUTO_HANDLE_WIFI_PROBLEM_SUCCESS="AUTO_HANDLE_WIFI_PROBLEM_SUCCESS",_.MODULE_REPORT_START="MODULE_REPORT_START",_.MODULE_REPORT_CONNECT_WIFI_START="MODULE_REPORT_CONNECT_WIFI_START",_.MODULE_REPORT_CONNECT_WIFI_SUCCESS="MODULE_REPORT_CONNECT_WIFI_SUCCESS",_.MODULE_REPORT_COMMUNICATE_AP_START="MODULE_REPORT_COMMUNICATE_AP_START",_.MODULE_REPORT_COMMUNICATE_AP_SUCCESS="MODULE_REPORT_COMMUNICATE_AP_SUCCESS",_.MODULE_REPORT_COMMUNICATE_END="MODULE_REPORT_COMMUNICATE_END"}(WifiConfStepCode=exports.WifiConfStepCode||(exports.WifiConfStepCode={})); | ||
"use strict";var WifiConfStepCode;Object.defineProperty(exports,"__esModule",{value:!0}),exports.WifiConfStepCode=void 0,function(_){_.WIFI_CONF_START="WIFI_CONF_START",_.WIFI_CONF_RESTART="WIFI_CONF_RESTART",_.WIFI_CONF_SUCCESS="WIFI_CONF_SUCCESS",_.WIFI_CONF_FAIL="WIFI_CONF_FAIL",_.WIFI_CONF_AUTO_RETRY="WIFI_CONF_AUTO_RETRY",_.PROTOCOL_START="PROTOCOL_START",_.PROTOCOL_SUCCESS="PROTOCOL_SUCCESS",_.PROTOCOL_DETAIL="PROTOCOL_DETAIL",_.CREATE_UDP_CONNECTION_START="CREATE_UDP_CONNECTION_START",_.CREATE_UDP_CONNECTION_SUCCESS="CREATE_UDP_CONNECTION_SUCCESS",_.BUSINESS_START="BUSINESS_START",_.BUSINESS_QUERY_TOKEN_STATE_START="BUSINESS_QUERY_TOKEN_STATE_START",_.BUSINESS_QUERY_TOKEN_STATE_SUCCESS="BUSINESS_QUERY_TOKEN_STATE_SUCCESS",_.BUSINESS_ADD_DEVICE_START="BUSINESS_ADD_DEVICE_START",_.BUSINESS_ADD_DEVICE_SUCCESS="BUSINESS_ADD_DEVICE_SUCCESS",_.BUSINESS_SUCCESS="BUSINESS_SUCCESS",_.CONNECT_WIFI_START="CONNECT_WIFI_START",_.CONNECT_WIFI_SUCCESS="CONNECT_WIFI_SUCCESS",_.CONNECT_WIFI_MANUAL="CONNECT_WIFI_MANUAL",_.SOFTAP_GET_DEVICE_SIGNATURE_START="SOFTAP_GET_DEVICE_SIGNATURE_START",_.SOFTAP_GET_DEVICE_SIGNATURE_SUCCESS="SOFTAP_GET_DEVICE_SIGNATURE_SUCCESS",_.SOFTAP_SEND_TARGET_WIFIINFO_START="SOFTAP_SEND_TARGET_WIFIINFO_START",_.SOFTAP_SEND_TARGET_WIFIINFO_SUCCESS="SOFTAP_SEND_TARGET_WIFIINFO_SUCCESS",_.SOFTAP_RECONNECT_TARGET_WIFI_START="SOFTAP_RECONNECT_TARGET_WIFI_START",_.SOFTAP_RECONNECT_TARGET_WIFI_SUCCESS="SOFTAP_RECONNECT_TARGET_WIFI_SUCCESS",_.AUTO_HANDLE_WIFI_PROBLEM_START="AUTO_HANDLE_WIFI_PROBLEM_START",_.AUTO_HANDLE_WIFI_PROBLEM_CANCEL="AUTO_HANDLE_WIFI_PROBLEM_CANCEL",_.AUTO_HANDLE_WIFI_PROBLEM_SUCCESS="AUTO_HANDLE_WIFI_PROBLEM_SUCCESS",_.MODULE_REPORT_START="MODULE_REPORT_START",_.MODULE_REPORT_CONNECT_WIFI_START="MODULE_REPORT_CONNECT_WIFI_START",_.MODULE_REPORT_CONNECT_WIFI_SUCCESS="MODULE_REPORT_CONNECT_WIFI_SUCCESS",_.MODULE_REPORT_COMMUNICATE_AP_START="MODULE_REPORT_COMMUNICATE_AP_START",_.MODULE_REPORT_COMMUNICATE_AP_SUCCESS="MODULE_REPORT_COMMUNICATE_AP_SUCCESS",_.MODULE_REPORT_COMMUNICATE_END="MODULE_REPORT_COMMUNICATE_END"}(WifiConfStepCode=exports.WifiConfStepCode||(exports.WifiConfStepCode={})); | ||
//# sourceMappingURL=steps.js.map |
@@ -10,1 +10,2 @@ export * from './bytes'; | ||
export * from './reconnectWifi'; | ||
export * from './connectWifi'; |
@@ -1,2 +0,2 @@ | ||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var tslib_1=require("tslib");tslib_1.__exportStar(require("./bytes"),exports),tslib_1.__exportStar(require("./crypto"),exports),tslib_1.__exportStar(require("./security"),exports),tslib_1.__exportStar(require("./udp"),exports),tslib_1.__exportStar(require("./moduleLog"),exports),tslib_1.__exportStar(require("./tryRequest"),exports),tslib_1.__exportStar(require("./UdpServer"),exports),tslib_1.__exportStar(require("./util"),exports),tslib_1.__exportStar(require("./reconnectWifi"),exports); | ||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var tslib_1=require("tslib");tslib_1.__exportStar(require("./bytes"),exports),tslib_1.__exportStar(require("./crypto"),exports),tslib_1.__exportStar(require("./security"),exports),tslib_1.__exportStar(require("./udp"),exports),tslib_1.__exportStar(require("./moduleLog"),exports),tslib_1.__exportStar(require("./tryRequest"),exports),tslib_1.__exportStar(require("./UdpServer"),exports),tslib_1.__exportStar(require("./util"),exports),tslib_1.__exportStar(require("./reconnectWifi"),exports),tslib_1.__exportStar(require("./connectWifi"),exports); | ||
//# sourceMappingURL=index.js.map |
@@ -1,2 +0,2 @@ | ||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.queryTokenStateAndBind=void 0;var tslib_1=require("tslib"),qcloud_iotexplorer_appdev_sdk_1=require("qcloud-iotexplorer-appdev-sdk"),constants_1=require("../constants"),utils_1=require("../utils"),queryTimes=20,queryGap=2e3;function queryTokenStateAndBind(e){var t=e.token,r=e.productId,o=e.deviceName,s=e.familyId,i=e.roomId,d=e.onProgress,n=e.sdk;return tslib_1.__awaiter(this,void 0,void 0,(function(){var e,a,_,u,p,c,l;return tslib_1.__generator(this,(function(S){switch(S.label){case 0:e="2.0",a=Date.now(),d({code:constants_1.WifiConfStepCode.BUSINESS_QUERY_TOKEN_STATE_START,detail:{data:{Token:t}}}),_=0,S.label=1;case 1:0,u=void 0,S.label=2;case 2:return S.trys.push([2,4,,5]),qcloud_iotexplorer_appdev_sdk_1.AppDevSdk.utils.logger.debug("query bindDeviceToken state for time: ",_+1),[4,utils_1.tryRequest((function(){return n.requestApi("AppGetDeviceBindTokenState",{Token:t},{isTokenApi:!0})}),{reporter:n.reporter})];case 3:return p=S.sent().State,u=2===p,qcloud_iotexplorer_appdev_sdk_1.AppDevSdk.utils.logger.debug("bindDeviceToken state: ",u),[3,5];case 4:return c=S.sent(),[2,Promise.reject({code:"BUSINESS_QUERY_BIND_TOKEN_FAIL",detail:c,msg:qcloud_iotexplorer_appdev_sdk_1.AppDevSdk.utils.tips.getErrorMsg(c),reqId:c.reqId})];case 5:return u?(d({code:constants_1.WifiConfStepCode.BUSINESS_QUERY_TOKEN_STATE_SUCCESS,detail:{protoVersion:e,timeCost:Date.now()-a}}),[3,9]):_<queryTimes?[4,qcloud_iotexplorer_appdev_sdk_1.AppDevSdk.utils.delay(queryGap)]:[3,7];case 6:return S.sent(),_+=1,[3,8];case 7:throw{code:"BUSINESS_QUERY_BIND_TOKEN_TIMEOUT"};case 8:return[3,1];case 9:d({code:constants_1.WifiConfStepCode.BUSINESS_ADD_DEVICE_START,detail:{data:{Token:t,ProductId:r,DeviceName:o,FamilyId:s,RoomId:i},protoVersion:e}}),S.label=10;case 10:return S.trys.push([10,12,,13]),[4,utils_1.tryRequest((function(){return n.requestApi("AppTokenBindDeviceFamily",{FamilyId:s,ProductId:r,DeviceName:o,Token:t,RoomId:i},{isTokenApi:!0})}),{reporter:n.reporter})];case 11:return S.sent(),[3,13];case 12:return l=S.sent(),[2,Promise.reject({code:"BUSINESS_ADD_DEVICE_FAIL",detail:l,msg:qcloud_iotexplorer_appdev_sdk_1.AppDevSdk.utils.tips.getErrorMsg(l),reqId:l.reqId})];case 13:return d({code:constants_1.WifiConfStepCode.BUSINESS_SUCCESS}),[2]}}))}))}exports.queryTokenStateAndBind=queryTokenStateAndBind; | ||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.queryTokenStateAndBind=void 0;var tslib_1=require("tslib"),qcloud_iotexplorer_appdev_sdk_1=require("qcloud-iotexplorer-appdev-sdk"),constants_1=require("../constants"),utils_1=require("../utils"),queryTimes=20,queryGap=2e3;function queryTokenStateAndBind(e){var t=e.token,r=e.productId,o=e.deviceName,s=e.familyId,i=e.roomId,d=e.onProgress,n=e.sdk;return tslib_1.__awaiter(this,void 0,void 0,(function(){var e,a,_,u,p,c,l;return tslib_1.__generator(this,(function(S){switch(S.label){case 0:e="2.0",a=Date.now(),d({code:constants_1.WifiConfStepCode.BUSINESS_QUERY_TOKEN_STATE_START,detail:{data:{Token:t}}}),_=0,S.label=1;case 1:0,u=void 0,S.label=2;case 2:return S.trys.push([2,4,,5]),qcloud_iotexplorer_appdev_sdk_1.AppDevSdk.utils.logger.debug("query bindDeviceToken state for time: ",_+1),[4,utils_1.tryRequest((function(){return n.requestApi("AppGetDeviceBindTokenState",{Token:t},{isTokenApi:!0})}),{reporter:n.reporter})];case 3:return p=S.sent().State,u=2===p,qcloud_iotexplorer_appdev_sdk_1.AppDevSdk.utils.logger.debug("bindDeviceToken state: ",u),[3,5];case 4:return c=S.sent(),[2,Promise.reject({code:"BUSINESS_QUERY_BIND_TOKEN_FAIL",detail:c,msg:qcloud_iotexplorer_appdev_sdk_1.AppDevSdk.utils.tips.getErrorMsg(c),reqId:c.reqId})];case 5:return u?(d({code:constants_1.WifiConfStepCode.BUSINESS_QUERY_TOKEN_STATE_SUCCESS,detail:{protoVersion:e,timeCost:Date.now()-a}}),[3,9]):_<queryTimes?[4,qcloud_iotexplorer_appdev_sdk_1.AppDevSdk.utils.delay(queryGap)]:[3,7];case 6:return S.sent(),_+=1,[3,8];case 7:throw{code:"BUSINESS_QUERY_BIND_TOKEN_TIMEOUT"};case 8:return[3,1];case 9:d({code:constants_1.WifiConfStepCode.BUSINESS_ADD_DEVICE_START,detail:{data:{Token:t,ProductId:r,DeviceName:o,FamilyId:s,RoomId:i},protoVersion:e}}),S.label=10;case 10:return S.trys.push([10,12,,13]),[4,utils_1.tryRequest((function(){return n.requestApi("AppTokenBindDeviceFamily",{FamilyId:s,ProductId:r,DeviceName:o,Token:t,RoomId:i},{isTokenApi:!0})}),{reporter:n.reporter})];case 11:return S.sent(),[3,13];case 12:return l=S.sent(),[2,Promise.reject({code:"BUSINESS_ADD_DEVICE_FAIL",detail:l,msg:qcloud_iotexplorer_appdev_sdk_1.AppDevSdk.utils.tips.getErrorMsg(l),reqId:l.reqId})];case 13:return d({code:constants_1.WifiConfStepCode.BUSINESS_ADD_DEVICE_SUCCESS}),[2]}}))}))}exports.queryTokenStateAndBind=queryTokenStateAndBind; | ||
//# sourceMappingURL=queryTokenStateAndBind.js.map |
@@ -8,4 +8,8 @@ import { AppDevSdk } from 'qcloud-iotexplorer-appdev-sdk'; | ||
export interface WifiConfOption { | ||
wifiConfType: 'SmartConfig' | 'AirKiss' | 'SimpleConfig' | 'SmartConfig' | 'SoftAp' | string; | ||
targetWifiInfo: WifiInfo; | ||
onComplete: (deviceInfo: DeviceInfo) => any; | ||
softAPInfo?: WifiInfo; | ||
wifiConfToken?: string; | ||
udpAddress?: '192.168.4.1'; | ||
udpPort?: 8266; | ||
@@ -15,5 +19,3 @@ stepInterval?: number; | ||
roomId?: string; | ||
wifiConfType: 'SmartConfig' | 'AirKiss' | 'SimpleConfig' | 'SmartConfig' | 'SoftAp' | string; | ||
onProgress?: (event: Response) => any; | ||
onComplete?: (deviceInfo: DeviceInfo) => any; | ||
onError?: (error: Response) => any; | ||
@@ -20,0 +22,0 @@ autoRetry?: boolean; |
@@ -1,2 +0,2 @@ | ||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.WifiConfProtocolBase=void 0;var tslib_1=require("tslib"),qcloud_iotexplorer_appdev_sdk_1=require("qcloud-iotexplorer-appdev-sdk"),queryTokenStateAndBind_1=require("./queryTokenStateAndBind"),constants_1=require("../constants"),utils_1=require("../utils"),issueHandler_1=require("./issueHandler"),WifiConfProtocolBase=function(o){function t(t,e){var s=o.call(this)||this;return s.connectAborted=!1,s.options={udpPort:8266,stepInterval:1e3,familyId:"default",autoRetry:!1},s.sdk=t,Object.assign(s.options,e),s}return tslib_1.__extends(t,o),t.prototype.onProgress=function(o){"function"==typeof this.options.onProgress&&this.options.onProgress(o)},t.prototype.onComplete=function(o){"function"==typeof this.options.onComplete&&this.options.onComplete(o)},t.prototype.onError=function(o){"function"==typeof this.options.onError&&this.options.onError(o)},t.prototype.start=function(o){var t=(void 0===o?{}:o).doNotRetry,e=void 0!==t&&t;return tslib_1.__awaiter(this,void 0,void 0,(function(){var o,t,s,r,n,i,d,a,c,_,u=this;return tslib_1.__generator(this,(function(p){switch(p.label){case 0:this.onProgress({code:constants_1.WifiConfStepCode.WIFI_CONF_START}),this.onProgress({code:constants_1.WifiConfStepCode.PROTOCOL_START}),o=this.options.targetWifiInfo,t=o.SSID,s=o.BSSID,r=o.password,p.label=1;case 1:p.trys.push([1,7,,10]),n=Date.now(),i=void 0,p.label=2;case 2:return p.trys.push([2,4,,5]),[4,this.doProtocol({SSID:t,BSSID:s,password:r})];case 3:return d=p.sent(),i=d?d.address:null,[3,5];case 4:throw a=p.sent(),console.error(a),tslib_1.__assign({code:"PROTOCOL_FAIL"},a);case 5:if(!i)throw{code:"PROTOCOL_INVALID_RESPONSE"};return this.onProgress({code:constants_1.WifiConfStepCode.PROTOCOL_SUCCESS,detail:{data:{address:i},timeCost:Date.now()-n}}),[4,this.doBusiness({address:i})];case 6:return c=p.sent(),this.onProgress({code:constants_1.WifiConfStepCode.WIFI_CONF_SUCCESS,detail:tslib_1.__assign({timeCost:Date.now()-n},c)}),this.onComplete(c),[3,10];case 7:return _=p.sent(),console.error(_),_&&_.code in constants_1.WifiConfErrorMsg&&(_.uiMsg=constants_1.WifiConfErrorMsg[_.code]),e||!this.options.autoRetry?[3,9]:[4,issueHandler_1.issueHandler({error:_,targetWifiInfo:this.options.targetWifiInfo,wifiConfType:this.options.wifiConfType,onProgress:function(o){u.onProgress.call(u,o)}})];case 8:if(p.sent())return this.onProgress({code:constants_1.WifiConfStepCode.WIFI_CONF_AUTO_RETRY}),[2,this.start({doNotRetry:!0})];p.label=9;case 9:return this.connectAborted=!0,this.onProgress({code:constants_1.WifiConfStepCode.WIFI_CONF_FAIL,detail:{error:_}}),this.onError({code:"WIFI_CONF_FAIL",detail:{error:_}}),[3,10];case 10:return[2]}}))}))},t.prototype.doProtocol=function(o){throw new Error("子类必须自行实现自己协议传输逻辑")},t.prototype.doBusiness=function(o){var t=o.address;return tslib_1.__awaiter(this,void 0,void 0,(function(){var o,e,s,r,n,i=this;return tslib_1.__generator(this,(function(d){switch(d.label){case 0:return this.onProgress({code:constants_1.WifiConfStepCode.BUSINESS_START}),this.onProgress({code:constants_1.WifiConfStepCode.CREATE_UDP_CONNECTION_START}),o=Date.now(),e=new utils_1.UdpServer({address:t,port:this.options.udpPort,sdk:this.sdk}),s=qcloud_iotexplorer_appdev_sdk_1.AppDevSdk.utils.genPromise(),r=qcloud_iotexplorer_appdev_sdk_1.AppDevSdk.utils.genPromise(),e.onError((function(o){return s.reject({code:"UDP_ERROR",errMsg:o})})),e.onProgressError((function(o){return r.reject({code:"BUSINESS_DEVICE_ERROR",message:o})})),n=function(){return tslib_1.__awaiter(i,void 0,void 0,(function(){var t,s,r,n,i,d,a=this;return tslib_1.__generator(this,(function(c){switch(c.label){case 0:return[4,(t=function(o){return tslib_1.__awaiter(a,void 0,void 0,(function(){return tslib_1.__generator(this,(function(t){switch(t.label){case 0:return[4,qcloud_iotexplorer_appdev_sdk_1.AppDevSdk.utils.delay(o||this.options.stepInterval)];case 1:return t.sent(),this.connectAborted&&qcloud_iotexplorer_appdev_sdk_1.AppDevSdk.utils.logger.debug("connection aborted"),[2]}}))}))})()];case 1:return c.sent(),s="2.0",[4,e.send({cmdType:0,token:this.options.wifiConfToken})];case 2:return r=c.sent(),this.onProgress({code:constants_1.WifiConfStepCode.CREATE_UDP_CONNECTION_SUCCESS,detail:{data:r,timeCost:Date.now()-o,protoVersion:s}}),[4,t()];case 3:return c.sent(),n=r.productId,i=r.deviceName,d=this,[4,queryTokenStateAndBind_1.queryTokenStateAndBind({token:this.options.wifiConfToken,productId:n,deviceName:i,familyId:this.options.familyId,roomId:this.options.roomId,onProgress:function(o){d.onProgress.call(d,o)},sdk:this.sdk})];case 4:return c.sent(),e.destroy(),[2,{productId:n,deviceName:i}]}}))}))},[4,Promise.race([n(),s.promise,r.promise])];case 1:return[2,d.sent()]}}))}))},t}(qcloud_iotexplorer_appdev_sdk_1.AppDevSdk.utils.EventEmitter);exports.WifiConfProtocolBase=WifiConfProtocolBase; | ||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.WifiConfProtocolBase=void 0;var tslib_1=require("tslib"),qcloud_iotexplorer_appdev_sdk_1=require("qcloud-iotexplorer-appdev-sdk"),queryTokenStateAndBind_1=require("./queryTokenStateAndBind"),constants_1=require("../constants"),utils_1=require("../utils"),issueHandler_1=require("./issueHandler"),WifiConfProtocolBase=function(o){function e(e,t){var s=o.call(this)||this;return s.connectAborted=!1,s.options={udpPort:8266,stepInterval:1e3,familyId:"default",autoRetry:!1},s.sdk=e,Object.assign(s.options,t),s}return tslib_1.__extends(e,o),e.prototype.onProgress=function(o){"function"==typeof this.options.onProgress&&this.options.onProgress(o)},e.prototype.onComplete=function(o){"function"==typeof this.options.onComplete&&this.options.onComplete(o)},e.prototype.onError=function(o){"function"==typeof this.options.onError&&this.options.onError(o)},e.prototype.start=function(o){var e=(void 0===o?{}:o).doNotRetry,t=void 0!==e&&e;return tslib_1.__awaiter(this,void 0,void 0,(function(){var o,e,s,r,n,i,d,a,c,_,p=this;return tslib_1.__generator(this,(function(u){switch(u.label){case 0:this.onProgress({code:constants_1.WifiConfStepCode.WIFI_CONF_START}),this.onProgress({code:constants_1.WifiConfStepCode.PROTOCOL_START}),o=this.options.targetWifiInfo,e=o.SSID,s=o.BSSID,r=o.password,u.label=1;case 1:u.trys.push([1,7,,10]),n=Date.now(),i=void 0,u.label=2;case 2:return u.trys.push([2,4,,5]),[4,this.doProtocol({SSID:e,BSSID:s,password:r})];case 3:return d=u.sent(),i=d?d.address:null,[3,5];case 4:throw a=u.sent(),console.error(a),tslib_1.__assign({code:"PROTOCOL_FAIL"},a);case 5:if(!i)throw{code:"PROTOCOL_INVALID_RESPONSE"};return this.onProgress({code:constants_1.WifiConfStepCode.PROTOCOL_SUCCESS,detail:{data:{address:i},timeCost:Date.now()-n}}),[4,this.doBusiness({address:i})];case 6:return c=u.sent(),this.onProgress({code:constants_1.WifiConfStepCode.WIFI_CONF_SUCCESS,detail:tslib_1.__assign({timeCost:Date.now()-n},c)}),this.onComplete(c),[3,10];case 7:return _=u.sent(),console.error(_),_&&_.code in constants_1.WifiConfErrorMsg&&(_.uiMsg=constants_1.WifiConfErrorMsg[_.code]),t||!this.options.autoRetry?[3,9]:[4,issueHandler_1.issueHandler({error:_,targetWifiInfo:this.options.targetWifiInfo,wifiConfType:this.options.wifiConfType,onProgress:function(o){p.onProgress.call(p,o)}})];case 8:if(u.sent())return this.onProgress({code:constants_1.WifiConfStepCode.WIFI_CONF_AUTO_RETRY}),[2,this.start({doNotRetry:!0})];u.label=9;case 9:return this.connectAborted=!0,this.onProgress({code:constants_1.WifiConfStepCode.WIFI_CONF_FAIL,detail:{error:_}}),this.onError({code:"WIFI_CONF_FAIL",detail:{error:_}}),[3,10];case 10:return[2]}}))}))},e.prototype.doProtocol=function(o){throw new Error("子类必须自行实现自己协议传输逻辑")},e.prototype.doBusiness=function(o){var e=o.address;return tslib_1.__awaiter(this,void 0,void 0,(function(){var o,t,s,r,n,i,d=this;return tslib_1.__generator(this,(function(a){switch(a.label){case 0:return this.onProgress({code:constants_1.WifiConfStepCode.BUSINESS_START}),this.onProgress({code:constants_1.WifiConfStepCode.CREATE_UDP_CONNECTION_START}),o=Date.now(),t=new utils_1.UdpServer({address:e,port:this.options.udpPort,sdk:this.sdk}),s=qcloud_iotexplorer_appdev_sdk_1.AppDevSdk.utils.genPromise(),r=qcloud_iotexplorer_appdev_sdk_1.AppDevSdk.utils.genPromise(),t.onError((function(o){return s.reject({code:"UDP_ERROR",errMsg:o})})),t.onProgressError((function(o){return r.reject({code:"BUSINESS_DEVICE_ERROR",message:o})})),n=function(){return tslib_1.__awaiter(d,void 0,void 0,(function(){var e,s,r,n,i,d,a=this;return tslib_1.__generator(this,(function(c){switch(c.label){case 0:return[4,(e=function(o){return tslib_1.__awaiter(a,void 0,void 0,(function(){return tslib_1.__generator(this,(function(e){switch(e.label){case 0:return[4,qcloud_iotexplorer_appdev_sdk_1.AppDevSdk.utils.delay(o||this.options.stepInterval)];case 1:return e.sent(),this.connectAborted&&qcloud_iotexplorer_appdev_sdk_1.AppDevSdk.utils.logger.debug("connection aborted"),[2]}}))}))})()];case 1:return c.sent(),s="2.0",[4,t.send({cmdType:0,token:this.options.wifiConfToken})];case 2:return r=c.sent(),this.onProgress({code:constants_1.WifiConfStepCode.CREATE_UDP_CONNECTION_SUCCESS,detail:{data:r,timeCost:Date.now()-o,protoVersion:s}}),[4,e()];case 3:return c.sent(),n=r.productId,i=r.deviceName,d=this,[4,queryTokenStateAndBind_1.queryTokenStateAndBind({token:this.options.wifiConfToken,productId:n,deviceName:i,familyId:this.options.familyId,roomId:this.options.roomId,onProgress:function(o){d.onProgress.call(d,o)},sdk:this.sdk})];case 4:return c.sent(),t.destroy(),[2,{productId:n,deviceName:i}]}}))}))},[4,Promise.race([n(),s.promise,r.promise])];case 1:return i=a.sent(),this.onProgress({code:constants_1.WifiConfStepCode.BUSINESS_SUCCESS,detail:{response:i}}),[2,i]}}))}))},e}(qcloud_iotexplorer_appdev_sdk_1.AppDevSdk.utils.EventEmitter);exports.WifiConfProtocolBase=WifiConfProtocolBase; | ||
//# sourceMappingURL=WifiConfProtocolBase.js.map |
{ | ||
"name": "qcloud-iotexplorer-appdev-plugin-wificonf-core", | ||
"version": "1.0.11", | ||
"version": "1.0.12", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
82883
63
853
24