disConnectBluetooth 断开蓝牙连接
摘要:disConnectBluetooth ^7.8 断开蓝牙连接 #请求参数 Prop Type Default Comment mac String N/A //安卓:蓝牙 Mac 地址;iOS:外设 uuid #引入接口模块 import bridge from '@minix-iot/etsbr
阅读全文
posted @
2024-12-27 09:31
AtlasLapetos
阅读(6)
推荐(0) 编辑
blueToothEnable 打开蓝牙(只 Android 端支持)
摘要:blueToothEnable ^7.8 打开蓝牙(只 Android 端支持) #请求参数 N/A #引入接口模块 import bridge from '@minix-iot/etsbridge-sdk' #接口调用示例 bridge .blueToothEnable() .then((res)
阅读全文
posted @
2024-12-27 09:31
AtlasLapetos
阅读(4)
推荐(0) 编辑
sendBlueToothData 发送蓝牙数据
摘要:sendBlueToothData ^7.8 发送蓝牙数据 #请求参数 Prop Type Default Comment mac String N/A 安卓:蓝牙 Mac 地址;iOS:外设 uuid serviceUuid String N/A 服务通道的 uuid writeUuid Stri
阅读全文
posted @
2024-12-27 09:30
AtlasLapetos
阅读(3)
推荐(0) 编辑
readBlueToothData 读取蓝牙数据
摘要:readBlueToothData ^7.8 读取蓝牙数据 #请求参数 Prop Type Default Comment mac String N/A 安卓:蓝牙 Mac 地址;iOS:外设 uuid serviceUuid String N/A 服务通道的 uuid readUuid Strin
阅读全文
posted @
2024-12-27 09:30
AtlasLapetos
阅读(4)
推荐(0) 编辑
getAllConnectedDeviceInfo 获取已发现的所有设备信息
摘要:getAllConnectedDeviceInfo ^6.8 获取已发现的所有设备信息 #请求参数 N/A #引入接口模块 import bridge from '@minix-iot/etsbridge-sdk' #接口调用示例 bridge .getAllConnectedDeviceInfo(
阅读全文
posted @
2024-12-27 09:30
AtlasLapetos
阅读(2)
推荐(0) 编辑
stopBluetoothDiscovery 结束扫描附近蓝牙设备
摘要:stopBluetoothDiscovery ^6.8 结束扫描附近蓝牙设备 #请求参数 N/A #引入接口模块 import bridge from '@minix-iot/etsbridge-sdk' #接口调用示例 bridge .stopBluetoothDiscovery() .then(
阅读全文
posted @
2024-12-27 09:30
AtlasLapetos
阅读(2)
推荐(0) 编辑
startBluetoothDiscovery 开始扫描附近蓝牙设备
摘要:startBluetoothDiscovery ^6.8 开始扫描附近蓝牙设备 #请求参数 Prop Type Default Comment mac String N/A //安卓:蓝牙 Mac 地址;iOS:外设 uuid name String N/A 筛选的名字 duration Strin
阅读全文
posted @
2024-12-27 09:30
AtlasLapetos
阅读(10)
推荐(0) 编辑
connectBluetooth 连接蓝牙设备
摘要:connectBluetooth ^6.8 连接蓝牙设备 #请求参数 Prop Type Value Comment deviceId String - 安卓参数名为 mac #引入接口模块 import bridge from '@minix-iot/etsbridge-sdk' #参数代码示例
阅读全文
posted @
2024-12-27 09:30
AtlasLapetos
阅读(4)
推荐(0) 编辑