Closed XxGMTxX closed 2 years ago
First of all, sorry for the late response! An empty error is really hard to debug... I can't reproduce it so far with exactly the same Windows build and other software versions, so I need your assistance. If you can try different hardware combinations, it could be helpful to figure out what causes it. Could be the one characteristic with all properties on that HM-10 version, but this is just a guess. Maybe it also picks the wrong ID, can you post a deep scan?
I have just tried an all in one characteristic on an ESP32:
SERVICE 0000ffe0-0000-1000-8000-00805f9b34fb (Handle: 40): Vendor specific
CHARACTERISTIC 0000ffe1-0000-1000-8000-00805f9b34fb (Handle: 41): ['read', 'write-without-response', 'write', 'notify', 'indicate']
DESCRIPTOR 00002902-0000-1000-8000-00805f9b34fb (Handle: 43): Client Characteristic Configuration
which works fine, so at least that is not the issue:
[...]
21:00:55.960 | INFO | ble_interface.py: Trying to connect with ...
21:00:58.774 | INFO | client.py: Services resolved for BleakClientWinRT (...)
21:00:58.774 | INFO | ble_interface.py: Device ... connected
21:00:58.774 | DEBUG | ble_interface.py: No write uuid specified, trying builtin list
21:00:58.774 | DEBUG | ble_interface.py: Characteristic candidates for write:
0000ffe1-0000-1000-8000-00805f9b34fb (Handle: 41): ['read', 'write-without-response', 'write', 'notify', 'indicate']
21:00:58.774 | INFO | ble_interface.py: Found write characteristic 0000ffe1-0000-1000-8000-00805f9b34fb (H. 41)
21:00:58.774 | DEBUG | ble_interface.py: No notify uuid specified, trying builtin list
21:00:58.774 | DEBUG | ble_interface.py: Characteristic candidates for notify:
0000ffe1-0000-1000-8000-00805f9b34fb (Handle: 41): ['read', 'write-without-response', 'write', 'notify', 'indicate']
21:00:58.774 | INFO | ble_interface.py: Found notify characteristic 0000ffe1-0000-1000-8000-00805f9b34fb (H. 41)
21:00:59.007 | INFO | main.py: Running main loop!
Many windows issues seem to be fixed in current bleak dev version, which can be installed with:
pip install https://github.com/hbldh/bleak/archive/refs/heads/develop.zip
Please try this @XxGMTxX and report back.
Closing due to inactivity. Reopen if the issue still persists, please.
Describe the bug When i try to connect i get the blank " Unexpected Error:" message.
Log messages
Setup (please complete the following information):