其他能力接口
其他能力接口
这些方法有独立方法名,不会出现在 device.capability.list 里。参数表比能力使用里的获取 / 设置页多「默认值」「合法值」两列。不是属性 get/set,不要和「获取……属性 / 设置……属性」混用。WiFi 信号档见 网络;日期格式、升级事件见 系统。详情、在离线、绑定见 设备管理。
遗留 HTTP 对照见 设备配置与操作 与 从旧接口迁移到设备能力(如 device.reboot.execute → restartDevice)。
| 功能 | 方法名 | 遗留 HTTP(常见) |
|---|---|---|
| 重启设备 | device.reboot.execute | restartDevice |
| 恢复出厂 | device.restore.execute | 见 restoreIotDevice 等 |
| 平台校时 | device.time.sync | — |
| 获取 UTC 时钟 | device.time.get | 旧合并查询拆出,见 migrate |
| 当前 WiFi | device.wifi.current | currentDeviceWifi 等 |
| 扫描热点 | device.wifi.scan | — |
| 连接或断开 WiFi | device.wifi.control | — |
| 升级进度 | device.upgrade.process | — |
| 触发升级 | device.upgrade.execute | — |
| 改名 | device.name.set | — |
| 刷新封面 | device.cover.refresh | — |
| 验密 | device.password.verify | — |
| 改密 | device.password.set | — |