connectBluetoothDevice
蓝牙连接
聚合接口,支持 Bluetooth LE、双模中 Bluetooth LE、Beacon、Mesh、Mesh 单火类连接。
引入
import { connectBluetoothDevice } from '@ray-js/ray';
需引入
DeviceKit,且在>=3.1.0版本才可使用。
参数
Object object
| 属性 | 类型 | 默认值 | 必填 | 说明 |
|---|---|---|---|---|
| devId | string |
是 | 设备 ID | |
| timeoutMillis | < |

最低0.47元/天 解锁文章
1198

被折叠的 条评论
为什么被折叠?



