connect-wifi-first 接口
设备首次连接此无线网络。
请求方式
GET http://ip/usapi?method=connect-wifi-first&name=magewell&passwd=1111111&secu=2&is-auto=1
| 参数 | 说明 | 
|---|---|
| method | 方法名称:connect-wifi-first | 
| name | 无线网络的名称 | 
| passwd | 无线网络的密码 | 
| secu | 无线网络的加密方式, 0: unencrypted 1: wep 2: WPA/PSK 3: WPA2/PSK  | 
| is-auto | 是否允许自动连接此无线网络 | 
返回数据
{
  "result": 0
}
| 属性 | 说明 | 
|---|---|
| result | 返回状态,0:操作成功,返回其它值请参考 API 状态码 |