且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

是否有可能与另一BLE设备连接Android Wear设备的情况下直接电话设备的互动?

更新时间:2021-10-06 21:35:33

BLE协议只允许中间和外围设备之间的通信。腕带肯定是一种外围设备,BLE发布的数据包,并揭露一些服务(例如的心脏率)。

BLE protocol only allows the communication between a central and a peripheral device. The wristband surely is a peripheral device that advertises BLE packets and expose some services (for example the heart rate).

您需要弄清楚如果中间模式在Android手表支持BLE。
在这种情况下,你将能够扫描从外围设备(腕带)来通告报文,并连接到它们。

You need to figure out if the android watch support BLE in central mode. In that case you will be able to scan for advertisement packets coming from peripheral devices (wristband), and connect to them.