随笔 - 2649  文章 - 2452  评论 - 0  阅读 - 74060

文章分类 -  MeiOS / mSmartBLE蓝牙

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-16 09:45 AtlasLapetos 阅读(2) 评论(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-16 09:45 AtlasLapetos 阅读(1) 评论(0) 推荐(0) 编辑
bluetoothSwitchModuleMode 通过蓝牙切换模组挂靠模式
摘要:bluetoothSwitchModuleMode^8.0 通过蓝牙切换模组挂靠模式 #请求参数 Prop Type Default Comment mac String N/A mac applianceId String N/A 设备id mode String N/A 0:不可挂靠模式 1:可 阅读全文
posted @ 2024-12-16 09:45 AtlasLapetos 阅读(3) 评论(0) 推荐(0) 编辑
queryDeviceConnectStatus 获取设备的蓝牙连接状态(只支持weex)
摘要:queryDeviceConnectStatus ^5.9.0 获取设备的蓝牙连接状态(只支持weex) #请求参数 Prop Type Required Default Description mac string Y / 12位蓝牙Mac地址 name string Y / 蓝牙名称 #接口调用 阅读全文
posted @ 2024-12-16 09:45 AtlasLapetos 阅读(6) 评论(0) 推荐(0) 编辑
restartBlueDevice 重启蓝牙模块
摘要:restartBlueDevice ^5.9.0 重启蓝牙模块 #请求参数 Prop Type Required Default Description param Object Y {} 属性: name: mac: 请求参数 #接口调用示例 this.$bridge .restartBlueDe 阅读全文
posted @ 2024-12-16 09:45 AtlasLapetos 阅读(2) 评论(0) 推荐(0) 编辑
stopFirmwareOta 停止ota升级
摘要:stopFirmwareOta ^5.9.0 停止ota升级 #请求参数 Prop Type Required Default Description param Object Y {} 属性: name: mac: 请求参数 #接口调用示例 let param={ mac:"xxxx",//12位 阅读全文
posted @ 2024-12-16 09:45 AtlasLapetos 阅读(5) 评论(0) 推荐(0) 编辑
startFirmwareOta 开始ota升级
摘要:startFirmwareOta ^5.9.0 开始ota升级 #请求参数 Prop Type Required Default Description param Object Y {} 属性: name: mac: source: 请求参数 #接口调用示例 let param={ mac:"xx 阅读全文
posted @ 2024-12-16 09:45 AtlasLapetos 阅读(3) 评论(0) 推荐(0) 编辑
readFirmwareStatus 查询当前固件指令
摘要:readFirmwareStatus ^5.9.0 查询当前固件指令 #请求参数 Prop Type Required Default Description param Object Y {} 属性: name: mac: 请求参数 #接口调用示例 this.$bridge .readFirmwa 阅读全文
posted @ 2024-12-16 09:45 AtlasLapetos 阅读(3) 评论(0) 推荐(0) 编辑
downFile 下载文件
摘要:downFile ^5.9.0 下载文件 #请求参数 Prop Type Required Default Description param Object Y {} 属性: url: 请求参数 #接口调用示例 this.$bridge .downFile(params) .then(res => 阅读全文
posted @ 2024-12-16 09:44 AtlasLapetos 阅读(10) 评论(0) 推荐(0) 编辑
sendBlueLuaRequest 向向蓝牙设备发送控制指令(传输数据
摘要:sendBlueLuaRequest ^5.9.0 向向蓝牙设备发送控制指令(传输数据)。调用此方法之前要确保查询接口已返回全状态信息,否则会提示控制失败 #请求参数 Prop Type Required Default Description param Object Y {} 属性: name: 阅读全文
posted @ 2024-12-16 09:44 AtlasLapetos 阅读(7) 评论(0) 推荐(0) 编辑
queryBlueLuaStatus 查询设备当前设备状态
摘要:queryBlueLuaStatus ^5.9.0 查询设备当前设备状态,连接之后立马查询,并且等到返回之后才能调用控制接口 #请求参数 Prop Type Required Default Description param Object Y {} 属性: name:{ Type: String, 阅读全文
posted @ 2024-12-16 09:44 AtlasLapetos 阅读(11) 评论(0) 推荐(0) 编辑
disconnectBlueConnection 断开当前蓝牙连接
摘要:disconnectBlueConnection ^5.9.0 断开当前蓝牙连接,其他原因导致蓝牙断开跟当前接口成功返回值一致 #请求参数 Prop Type Required Default Description param Object Y {} 属性: name: mac: 请求参数 #接口 阅读全文
posted @ 2024-12-16 09:44 AtlasLapetos 阅读(2) 评论(0) 推荐(0) 编辑
setupBlueConnection 根据蓝牙信息建立蓝牙连接
摘要:setupBlueConnection ^5.9.0 根据蓝牙信息建立蓝牙连接 提示:扫描到设备之后再建立蓝牙连接 #请求参数 Prop Type Required Default Description param Object Y {} 属性: name:{ Type: String, Defa 阅读全文
posted @ 2024-12-16 09:44 AtlasLapetos 阅读(6) 评论(0) 推荐(0) 编辑
stopBlueScan 停止蓝牙扫描
摘要:stopBlueScan ^5.9.0 停止蓝牙扫描 #请求参数 N/A #接口调用示例 this.$bridge .stopBlueScan() .then(res => { this.$alert(res) }) .catch(err => { this.$toast(err) }) 返回描述: 阅读全文
posted @ 2024-12-16 09:44 AtlasLapetos 阅读(5) 评论(0) 推荐(0) 编辑
startBlueScan 开始扫描蓝牙
摘要:startBlueScan ^5.9.0 开始扫描蓝牙 建议:扫描到设备之后再建立蓝牙连接 超时之后的返回和停止蓝牙扫描接口返回一致 #请求参数 Prop Type Required Default Description param Object Y {} 属性: name:{ Type: Str 阅读全文
posted @ 2024-12-16 09:44 AtlasLapetos 阅读(2) 评论(0) 推荐(0) 编辑
getBlueStatus 获取蓝牙开启状态
摘要:getBlueStatus ^5.9.0 获取蓝牙开启状态 #请求参数 N/A #接口调用示例 this.$bridge .getBlueStatus() .then(res => { this.$alert(res) }) .catch(err => { this.$toast(err) }) # 阅读全文
posted @ 2024-12-16 09:44 AtlasLapetos 阅读(6) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

点击右上角即可分享
微信分享提示