connect-wifi 接口
设备连接已保存的无线网络。
请求方式
GET http://ip/usapi?method=connect-wifi&name=magewellis-auto=1
| 参数 | 说明 | 
|---|---|
| method | 方法名称:connect-wifi | 
| name | 无线网络的名称 | 
| is-auto | 是否允许自动连接此无线网络 | 
返回数据
{
  "result": 0
}
| 属性 | 说明 | 
|---|---|
| result | 返回状态,0:操作成功,返回其它值请参考 API 状态码 | 
设备连接已保存的无线网络。
GET http://ip/usapi?method=connect-wifi&name=magewellis-auto=1
| 参数 | 说明 | 
|---|---|
| method | 方法名称:connect-wifi | 
| name | 无线网络的名称 | 
| is-auto | 是否允许自动连接此无线网络 | 
{
  "result": 0
}
| 属性 | 说明 | 
|---|---|
| result | 返回状态,0:操作成功,返回其它值请参考 API 状态码 |