更新时间: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.