Cat_Hyts wrote:
心率的code 我沒有接觸過 ~ 所以不像大大這麼清楚,
我也是 google 而已, 打打嘴砲...
也沒有十分確定我說的是對的,
所以會附上我查到的資料來源.
ec wrote:
http://en.wikipedia.org/wiki/Bluetooth_low_energy#GATT_Operations
Sports and fitness profiles
問題在那個手錶, 是含 GPS,
那麼如果要同步, 是要同時用不同的藍牙 profile SPP, 跟 BLE(4.0),
或是自己用 SPP 寫自己的 protocol 之類的而不走標準,
再看了一次那個 url,
Sports and fitness profiles[edit]
Profiles for sporting and fitness accessories include:
HRP — for devices which measure heart rate.
CSCP — for sensors attached to a bicycle or exercise bike to measure cadence and wheel speed.
RSCP — running speed and cadence profile.
CPP — cycling power profile.
LNP — location and navigation profile.
其實那個 profile 裏, 同時可以傳的, 不只HRP,
也有LNP 就類似 GPS 了(不知道訊息有沒有夠精確就是了),
還有踏頻有的沒的...
所以應該是用標準的 BLE 也有可能...
我是這樣想的...
這些設備, 可以分做發送端跟接收端,
單純的心跳錶是發送端, 而手機之類的是接收端,
cardio 這支錶的特殊是, 他是要接收來自踏頻, 以及其它心跳帶傳來的 BLE 訊息,
所以它也是一個接收端.
所以, 如果它也當做一個 BLE 的發送端, 定位就會變的比較複雜..