我正在尝试获取蓝牙设备列表,并检查特定设备是否与钛Appcelerator连接。什么是最好的方法?
我使用了库https://github.com/hansemannn/titanium-bluetooth/但不知道如何实现我想要的。
您是否看过提供的API文档?它不是项目根源的索引降价,而是在这里:https://github.com/hansemannn/titanium-bluetooth/blob/master/documentation/index.md
我没有使用过该模块,但在我看来,你可以使用CentralManager启动扫描,我假设它返回一个你可以连接的外围设备列表。