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

文章分类 -  MeiOS / Bluetooth蓝牙

getAllConnectedDeviceInfo 获取已发现的所有设备信息
摘要:getAllConnectedDeviceInfo ^6.8 获取已发现的所有设备信息 #请求参数 N/A #接口调用示例 this.$bridge .getAllConnectedDeviceInfo() .then(res => { this.$alert(res) }) .catch(err 阅读全文
posted @ 2024-12-16 09:44 AtlasLapetos 阅读(2) 评论(0) 推荐(0) 编辑
connectBluetooth 连接蓝牙设备
摘要:connectBluetooth ^7.6 连接蓝牙设备 #请求参数 Prop Type Value mac String "xxxx"//蓝牙mac地址(ios是uuid) moduleType Number 0;//ms #参数代码示例 let params = { mac: 'xxxx', m 阅读全文
posted @ 2024-12-16 09:44 AtlasLapetos 阅读(3) 评论(0) 推荐(0) 编辑
stopBluetoothDiscovery 结束扫描附近蓝牙设备
摘要:stopBluetoothDiscovery ^7.6 结束扫描附近蓝牙设备 #请求参数 N/A #接口调用示例 this.$bridge .stopBluetoothDiscovery() .then(res => { this.$alert(res) }) .catch(err => { thi 阅读全文
posted @ 2024-12-16 09:44 AtlasLapetos 阅读(2) 评论(0) 推荐(0) 编辑
readBlueToothData 读取蓝牙设备的数据
摘要:readBlueToothData ^7.6.0 读取蓝牙设备的数据 #请求参数 Prop Type Default Description param Object mac: "xxxx"//蓝牙mac地址, serviceUuid: "xxxx"//服务通道的uuid, readUuid: "x 阅读全文
posted @ 2024-12-16 09:44 AtlasLapetos 阅读(6) 评论(0) 推荐(0) 编辑
sendBlueToothData ss向蓝牙设备写数据
摘要:sendBlueToothData ^7.6.0 ss向蓝牙设备写数据 #请求参数 Prop Type Default Description param Object mac: "xxxx"//蓝牙mac地址, serviceUuid: "xxxx"//服务通道的uuid, writeUuid: 阅读全文
posted @ 2024-12-16 09:44 AtlasLapetos 阅读(4) 评论(0) 推荐(0) 编辑
disConnectBluetooth 断开蓝牙连接
摘要:disConnectBluetooth ^7.6.0 断开蓝牙连接 #请求参数 Prop Type Default Description param Object mac: "xxxx"//蓝牙mac地址, 请求参数 #接口调用示例 this.$bridge .disConnectBluetoot 阅读全文
posted @ 2024-12-16 09:43 AtlasLapetos 阅读(17) 评论(0) 推荐(0) 编辑
blueToothEnable 打开手机蓝牙开关
摘要:blueToothEnable ^7.6.0 打开手机蓝牙开关 #请求参数 N/A #接口调用示例 this.$bridge .blueToothEnable () .then(res => { this.$alert(res) }) .catch(err => { this.$toast(err) 阅读全文
posted @ 2024-12-16 09:43 AtlasLapetos 阅读(3) 评论(0) 推荐(0) 编辑
getBluetoothStatus 获取手机系统蓝牙开关状态
摘要:getBluetoothStatus ^7.6.0 获取手机系统蓝牙开关状态 #请求参数 N/A #接口调用示例 this.$bridge .getBluetoothStatus () .then(res => { this.$alert(res) }) .catch(err => { this.$ 阅读全文
posted @ 2024-12-16 09:43 AtlasLapetos 阅读(8) 评论(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

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