-
Notifications
You must be signed in to change notification settings - Fork 295
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with start_notify, bleak #841
Comments
Have you tried the troubleshooting recommendations in the Bleak docs (enable logging, capturing Bluetooth packets)? |
Thanks for the quick response. I tried to install Xcode to acquire bluetooth packets but I don't have enough memory space ... Instead from the logs I get:
|
On the other hand, if I launch from spyder without enable logging, I get:
|
I think the problem is related to caches or in general to the saving session... What do you think about it? |
You don't need to install XCode, just the hardware utilities from the apple developer website
If the device is listed in the Bluetooth system settings, try removing it there. |
Hi @Egidio92 ... I'm with the same problem, the code run on windows but on mac os, when I call the start notify for the connected BleClient, I receive the same error that you: ... await Future ... Did you discover or had a workaround for that error? Thanks in an advance... |
start_notify appears to try to open a SPP in MacOS instead of subscription to a GATT notification. What I'm seeing on an ESP32 I (66892) BLE: 8c 85 90 7c 61 27
I (66966) BLE: ESP_GATTS_MTU_EVT, MTU 500
I (67126) BLE: update connection params status = 0, min_int = 16, max_int = 32,conn_int = 32,latency = 0, timeout = 400
W (68125) BT_HCI: hcif disc complete: hdl 0x1, rsn 0x13
I (68126) BLE: ESP_GATTS_DISCONNECT_EVT, reason = 0x13
I (68132) BLE: Advertising start successfully and bleak
|
I dusted off an old nRF dongle and confirmed that it gets notification updates from my ESP32 dev board. This problem also occurs with the simpleblepy module. Must be a Mac OS thing. |
Hi! I have to read the weight from a Mi Smart Scale 2 scale via Mac.
The weight is encoded in a BLE characteristic. However, sometimes it reads the weight, other times it doesn't.
I'm using the code found in the Bleak repository examples and this is my code:
The text was updated successfully, but these errors were encountered: