fg1 / BLEHeartRateLogger

Bluetooth Low-Energy Heart Rate Monitor data logging in Python
Other
127 stars 48 forks source link

Cannot keep connection to Polar H7 #5

Closed Duskfall closed 6 years ago

Duskfall commented 7 years ago

2017-09-17 15:52:14,377 Trying to find a BLE device 2017-09-17 15:52:16,469 Establishing connection to 00:22:D0:83:DE:7B 2017-09-17 15:52:17,291 Connected to 00:22:D0:83:DE:7B 2017-09-17 15:52:38,705 Connection lost with 00:22:D0:83:DE:7B. Reconnecting. 2017-09-17 15:52:39,807 Establishing connection to 00:22:D0:83:DE:7B 2017-09-17 15:52:39,911 Connected to 00:22:D0:83:DE:7B 2017-09-17 15:52:50,020 Connection lost with 00:22:D0:83:DE:7B. Reconnecting.


characteristics 
handle: 0x0002, char properties: 0x0e, char value handle: 0x0003, uuid: 00002a00-0000-1000-8000-00805f9b34fb
handle: 0x0004, char properties: 0x02, char value handle: 0x0005, uuid: 00002a01-0000-1000-8000-00805f9b34fb
handle: 0x0006, char properties: 0x0a, char value handle: 0x0007, uuid: 00002a02-0000-1000-8000-00805f9b34fb
handle: 0x0008, char properties: 0x08, char value handle: 0x0009, uuid: 00002a03-0000-1000-8000-00805f9b34fb
handle: 0x000a, char properties: 0x02, char value handle: 0x000b, uuid: 00002a04-0000-1000-8000-00805f9b34fb
handle: 0x000d, char properties: 0x20, char value handle: 0x000e, uuid: 00002a05-0000-1000-8000-00805f9b34fb
handle: 0x0011, char properties: 0x10, char value handle: 0x0012, uuid: 00002a37-0000-1000-8000-00805f9b34fb
handle: 0x0014, char properties: 0x02, char value handle: 0x0015, uuid: 00002a38-0000-1000-8000-00805f9b34fb
handle: 0x0017, char properties: 0x02, char value handle: 0x0018, uuid: 00002a23-0000-1000-8000-00805f9b34fb
handle: 0x0019, char properties: 0x02, char value handle: 0x001a, uuid: 00002a24-0000-1000-8000-00805f9b34fb
handle: 0x001b, char properties: 0x02, char value handle: 0x001c, uuid: 00002a25-0000-1000-8000-00805f9b34fb
handle: 0x001d, char properties: 0x02, char value handle: 0x001e, uuid: 00002a26-0000-1000-8000-00805f9b34fb
handle: 0x001f, char properties: 0x02, char value handle: 0x0020, uuid: 00002a27-0000-1000-8000-00805f9b34fb
handle: 0x0021, char properties: 0x02, char value handle: 0x0022, uuid: 00002a28-0000-1000-8000-00805f9b34fb
handle: 0x0023, char properties: 0x02, char value handle: 0x0024, uuid: 00002a29-0000-1000-8000-00805f9b34fb
handle: 0x0026, char properties: 0x02, char value handle: 0x0027, uuid: 00002a19-0000-1000-8000-00805f9b34fb
handle: 0x0029, char properties: 0x02, char value handle: 0x002a, uuid: 6217ff4c-c8ec-b1fb-1380-3ad986708e2d
handle: 0x002b, char properties: 0x28, char value handle: 0x002c, uuid: 6217ff4d-91bb-91d0-7e2a-7cd3bda8a1f3
urosjarc commented 6 years ago

I have the same problems, @fg1 I would really like this to be implemented, if you don't find the time please explain to me how to do it and I will make a pull request.

Duskfall commented 6 years ago

I have managed to fix this by using Noble. See my project here There is also a dummy react site that uses websockets to present the data for each device in browser