文章分类 -  DolphinHybrid

上一页 1 2 3 4 5 6 7 ··· 13 下一页
getCurrentApplianceID 获取当前家电设备id
摘要:getCurrentApplianceID ^6.8 获取当前家电设备id #请求参数 N/A #接口调用示例 this.$bridge .getCurrentApplianceID() .then(res => { this.$alert(res) }) .catch(err => { this. 阅读全文
posted @ 2024-12-21 14:44 AtlasLapetos 阅读(6) 评论(0) 推荐(0)
getApplianceSubtype 获取当前家电设备id下的家电型号
摘要:getApplianceSubtype ^6.8 获取当前家电设备id下的家电型号 #请求参数 N/A #接口调用示例 this.$bridge .getApplianceSubtype() .then(res => { this.$alert(res) }) .catch(err => { thi 阅读全文
posted @ 2024-12-21 14:44 AtlasLapetos 阅读(7) 评论(0) 推荐(0)
deviceUpdateNotify 设备插件页
摘要:deviceUpdateNotify ^6.8 设备插件页(wireless家电,套装子设备)设备属性、状态改变后,通知原生刷新数据接口 #请求参数 Prop Type Default Comment type String N/A 'deviceModify', //通知类型 deviceId S 阅读全文
posted @ 2024-12-21 14:44 AtlasLapetos 阅读(7) 评论(0) 推荐(0)
checkDeviceOTAUpdate 检测设备OTA版本
摘要:checkDeviceOTAUpdate ^6.8 检测设备OTA版本 #请求参数 Prop Type Default Comment deviceIds Array N/A JSON数组字符串 #接口调用示例 const params = { deviceIds: ['1221'], //家电Id 阅读全文
posted @ 2024-12-21 14:44 AtlasLapetos 阅读(13) 评论(0) 推荐(0)
addDevice 根据配网指引数据配网
摘要:addDevice ^6.8 根据配网指引数据配网 #请求参数 Prop Type Default Comment data Object N/A data 对象属性 Prop Type Default Comment mode String N/A category String N/A #接口调 阅读全文
posted @ 2024-12-21 14:44 AtlasLapetos 阅读(4) 评论(0) 推荐(0)
exitMiniApp 获取设备唯一标识
摘要:exitMiniApp^6.8 获取设备唯一标识 #接口调用示例 this.$bridge .getDeviceUUID() .then(res => { this.$alert(res) }) .catch(err => { this.$toast(err) }) #返回参数 Prop Type 阅读全文
posted @ 2024-12-21 14:44 AtlasLapetos 阅读(6) 评论(0) 推荐(0)
stopReceiveBlueAdvertising 停止接受广告信息
摘要:stopReceiveBlueAdvertising ^6.8 停止接受广告信息 #请求参数 Prop Type Default Comment id String N/A 监听器的ID #接口调用示例 const params = { id: '12345678', // 监听器的ID } thi 阅读全文
posted @ 2024-12-21 14:44 AtlasLapetos 阅读(5) 评论(0) 推荐(0)
stopBlueScan 停止蓝牙扫描
摘要:stopBlueScan ^6.8 停止蓝牙扫描 #请求参数 N/A #接口调用示例 this.$bridge .stopBlueScan() .then(res => { this.$alert(res) }) .catch(err => { this.$toast(err) }) #获取接口返回 阅读全文
posted @ 2024-12-21 14:44 AtlasLapetos 阅读(7) 评论(0) 推荐(0)
startReceiveBlueAdvertising 开始接受广告信息
摘要:startReceiveBlueAdvertising ^6.8 开始接受广告信息 #请求参数 Prop Type Default Comment decryptType Number N/A 0表示无需解密,1表示标准蓝牙加密方式(使用设备有:降本体脂秤) id String N/A 监听器的ID 阅读全文
posted @ 2024-12-21 14:43 AtlasLapetos 阅读(3) 评论(0) 推荐(0)
startFirmwareOta 开始ota升级
摘要:startFirmwareOta ^6.8 开始ota升级 #请求参数 Prop Type Default Comment mac String N/A 12位蓝牙Mac地址 name String N/A 蓝牙名称 source String N/A bin文件路径 #接口调用示例 const p 阅读全文
posted @ 2024-12-21 14:43 AtlasLapetos 阅读(8) 评论(0) 推荐(0)
startBlueScan 开启蓝牙扫描
摘要:startBlueScan ^6.8 开启蓝牙扫描 #请求参数 Prop Type Default Comment name String N/A wireless network名称 mac String N/A 云端返回,ios 扫描不到,废弃(二代蓝牙可以扫描到) duration Numbe 阅读全文
posted @ 2024-12-21 14:43 AtlasLapetos 阅读(8) 评论(0) 推荐(0)
startAuthenticRight 执行设备确权(前置条件,蓝牙连接成功)
摘要:startAuthenticRight ^6.8 执行设备确权(前置条件,蓝牙连接成功) #请求参数 Prop Type Default Comment name String N/A 选填,蓝牙名称 mac String N/A mac地址 applianceId String N/A 设备dev 阅读全文
posted @ 2024-12-21 14:43 AtlasLapetos 阅读(9) 评论(0) 推荐(0)
setupBlueConnection 建立蓝牙连接
摘要:setupBlueConnection ^6.8 建立蓝牙连接 #请求参数 Prop Type Default Comment mac String N/A 蓝牙mac地址 moduleType String N/A (^7.3.0) 0代表单蓝牙模组,1,ble+wireless双模组。不传默认单 阅读全文
posted @ 2024-12-21 14:43 AtlasLapetos 阅读(15) 评论(0) 推荐(0)
sendBlueLuaRequest 发送Lua请求
摘要:sendBlueLuaRequest ^6.8 发送Lua请求 #请求参数 Prop Type Default Comment name String N/A 蓝牙名称 data Object N/A 数据 mac String N/A 12位蓝牙Mac地址 applianceId String N 阅读全文
posted @ 2024-12-21 14:43 AtlasLapetos 阅读(13) 评论(0) 推荐(0)
restartBlueDevice 重启蓝牙模块
摘要:restartBlueDevice ^6.8 重启蓝牙模块 #请求参数 Prop Type Default Comment mac String N/A 12位蓝牙Mac地址 name String N/A 蓝牙名称 #接口调用示例 const params = { mac: 'xxxx', //1 阅读全文
posted @ 2024-12-21 14:43 AtlasLapetos 阅读(34) 评论(0) 推荐(0)
readFirmwareStatus 查询当前固件指令
摘要:readFirmwareStatus ^6.8 查询当前固件指令 #请求参数 Prop Type Default Comment mac String N/A 12位蓝牙Mac地址 name String N/A 蓝牙名称 #接口调用示例 const params = { mac: 'xxxx', 阅读全文
posted @ 2024-12-21 14:43 AtlasLapetos 阅读(7) 评论(0) 推荐(0)
queryBlueLuaStatus 查询lua状态
摘要:queryBlueLuaStatus ^6.8 查询lua状态 #请求参数 Prop Type Default Comment name String N/A 蓝牙名称 applianceId String N/A 设备id mac String N/A 12位蓝牙Mac地址 #接口调用示例 con 阅读全文
posted @ 2024-12-21 14:43 AtlasLapetos 阅读(12) 评论(0) 推荐(0)
queryAuthStatus 查询确权状态
摘要:queryAuthStatus ^6.8 查询确权状态 #请求参数 Prop Type Default Comment mac String N/A 蓝牙mac地址 name String N/A 选填,蓝牙名称 #接口调用示例 const params = { name: 'midea_xx_xx 阅读全文
posted @ 2024-12-21 14:43 AtlasLapetos 阅读(7) 评论(0) 推荐(0)
getBlueStatus 获取蓝牙状态
摘要:getBlueStatus ^6.8 获取蓝牙状态 #请求参数 N/A #接口调用示例 this.$bridge .getBlueStatus() .then(res => { this.$alert(res) }) .catch(err => { this.$toast(err) }) #返回参数 阅读全文
posted @ 2024-12-21 14:42 AtlasLapetos 阅读(13) 评论(0) 推荐(0)
downFile 下载文件
摘要:downFile ^6.8 下载文件 #请求参数 Prop Type Default Comment url String N/A 下载地址 #接口调用示例 const params = { url: 'xxx', //下载地址 } this.$bridge .downFile(params) .t 阅读全文
posted @ 2024-12-21 14:42 AtlasLapetos 阅读(47) 评论(0) 推荐(0)

上一页 1 2 3 4 5 6 7 ··· 13 下一页