jonasoreland / runnerup

A open source run tracker
GNU General Public License v3.0
739 stars 275 forks source link

AngelSensor #418

Open Flu-Ger opened 8 years ago

Flu-Ger commented 8 years ago

AngelSensor is a health armband with heart rate monitor. At least the app is OpenSource and it claims to implement Heart Rate Service, Health Thermometer Service and Battery Service according to the bluetooth standard.

If I deactivate the scanning with UUID (AVOID_SCAN_WITH_UUID = true) the armband is found as Bluetooth SMART (BLE) and seems to work normally. Heart rate can be found and displayed. After a while without connection, it deactivates it, so no more readings unless I activate an additional app that keeps the connection alive.

Yet if I use the default app ((AVOID_SCAN_WITH_UUID = false) it is not found by BLE.

According to bluetoothctl it advertises the following services:

[CHG] Device XX:XX:XX:XX:XX:XX UUIDs: 00001800-0000-1000-8000-00805f9b34fb
[CHG] Device XX:XX:XX:XX:XX:XX UUIDs: 00001809-0000-1000-8000-00805f9b34fb
[CHG] Device XX:XX:XX:XX:XX:XX UUIDs: 0000180a-0000-1000-8000-00805f9b34fb
[CHG] Device XX:XX:XX:XX:XX:XX UUIDs: 0000180d-0000-1000-8000-00805f9b34fb
[CHG] Device XX:XX:XX:XX:XX:XX UUIDs: 0000180f-0000-1000-8000-00805f9b34fb
[CHG] Device XX:XX:XX:XX:XX:XX UUIDs: 41e1bd6a-9e39-441c-9312-b6e862472480
[CHG] Device XX:XX:XX:XX:XX:XX UUIDs: 481d178c-10dd-11e4-b514-b2227cce2b54
[CHG] Device XX:XX:XX:XX:XX:XX UUIDs: 552508f9-24ba-4578-82ba-f6d5987e8c41
[CHG] Device XX:XX:XX:XX:XX:XX UUIDs: 68b52738-4a04-40e1-8f83-337a29c3284d
[CHG] Device XX:XX:XX:XX:XX:XX UUIDs: 7cd50edd-8bab-44ff-a8e8-82e19393af10
[CHG] Device XX:XX:XX:XX:XX:XX UUIDs: 87ef07ff-4739-4527-b38f-b0e228de6ed3
[CHG] Device XX:XX:XX:XX:XX:XX UUIDs: 902dcf38-ccc0-4902-b22c-70cab5ee5df2
[CHG] Device XX:XX:XX:XX:XX:XX Name: Angel Sensor
[CHG] Device XX:XX:XX:XX:XX:XX Alias: Angel Sensor

Therefore the filtered HRP_SERVICE seems to be within the advertised services.

Any idea where the problem could be?

jonasoreland commented 8 years ago

I don't know what the problem can be.

/Jonas

On Thu, Jul 28, 2016 at 8:02 PM, Flu-Ger notifications@github.com wrote:

(AngelSensor)[http://angelsensor.com/] is a health armband with heart rate monitor. At least the app is OpenSource and it claims to implement Heart Rate Service, Health Thermometer Service and Battery Service according to the bluetooth standard.

If I deactivate the scanning with UUID (AVOID_SCAN_WITH_UUID = true) the armband is found as Bluetooth SMART (BLE) and seems to work normally. Heart rate can be found and displayed. After a while without connection, it deactivates it, so no more readings unless I activate an additional app that keeps the connection alive.

Yet if I use the default app ((AVOID_SCAN_WITH_UUID = false) it is not found by BLE.

According to bluetoothctl it advertises the following services:

[CHG] Device XX:XX:XX:XX:XX:XX UUIDs: 00001800-0000-1000-8000-00805f9b34fb [CHG] Device XX:XX:XX:XX:XX:XX UUIDs: 00001809-0000-1000-8000-00805f9b34fb [CHG] Device XX:XX:XX:XX:XX:XX UUIDs: 0000180a-0000-1000-8000-00805f9b34fb [CHG] Device XX:XX:XX:XX:XX:XX UUIDs: 0000180d-0000-1000-8000-00805f9b34fb [CHG] Device XX:XX:XX:XX:XX:XX UUIDs: 0000180f-0000-1000-8000-00805f9b34fb [CHG] Device XX:XX:XX:XX:XX:XX UUIDs: 41e1bd6a-9e39-441c-9312-b6e862472480 [CHG] Device XX:XX:XX:XX:XX:XX UUIDs: 481d178c-10dd-11e4-b514-b2227cce2b54 [CHG] Device XX:XX:XX:XX:XX:XX UUIDs: 552508f9-24ba-4578-82ba-f6d5987e8c41 [CHG] Device XX:XX:XX:XX:XX:XX UUIDs: 68b52738-4a04-40e1-8f83-337a29c3284d [CHG] Device XX:XX:XX:XX:XX:XX UUIDs: 7cd50edd-8bab-44ff-a8e8-82e19393af10 [CHG] Device XX:XX:XX:XX:XX:XX UUIDs: 87ef07ff-4739-4527-b38f-b0e228de6ed3 [CHG] Device XX:XX:XX:XX:XX:XX UUIDs: 902dcf38-ccc0-4902-b22c-70cab5ee5df2 [CHG] Device XX:XX:XX:XX:XX:XX Name: Angel Sensor [CHG] Device XX:XX:XX:XX:XX:XX Alias: Angel Sensor

Therefore the filtered HRP_SERVICE seems to be within the advertised services.

Any idea where the problem could be?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jonasoreland/runnerup/issues/418, or mute the thread https://github.com/notifications/unsubscribe-auth/AABYS1aQsilR7oEvaQ8Tn5Oqt88juknhks5qaO6igaJpZM4JXe2R .

Flu-Ger commented 8 years ago

Thanks for the great project and fast replies btw. :+1: