-
Notifications
You must be signed in to change notification settings - Fork 25
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
Error "READ_CHAR_EVT error reading char at handle (33), status (5)" when reading battery value from soocare.toothbrush.x3 #21
Comments
Hello, for ESP_GATTC_READ_CHAR_EVT When you use nRF Connect did you do a pairing with BT device? Check your BT settings and if you have soocare.toothbrush.x3 paired, delete it and try to get this characteristic in nRF Connect without device pairing. |
Indeed, I had the toothbrush paired previously. I've tried from another phone and it asked me to pair in order to read the value of the battery characteristic. I didn't have to input a pin in order to pair. |
Will myhomeiot_ble_client support device pairing? I haven't seen anything related in the documentation. Thanks. |
AFAIK ESPHome Bluetooth stack unfortunately doesn't support pairing. |
That's unfortunate, but i guess not many use cases. Thank you. |
Looks like there's a PR waiting to be approved which will allow pairing, and its corresponding documentation. |
Nice finding! I hope this PR will be merged and will works. |
Once the PR gets approved I'll test with ble_client and let you know. |
Because it might be a while before the PR is merged I've tried adding the PR to the configuration of the gateway. I did find anther PR esphome/esphome#3320 which i think was already merged in ESPHome which already implements basic BLE auth/security. I'm kind of stuck at this point. Is there another type of authentication which is missing from ESPHome that might be used by this toothbrush?
|
Hi @myhomeiot, |
Hi @myhomeiot,
When trying to read the value of the battery characteristic of a soocare.toothbrush.x3 I see the below warning and the value is not read:
[W] | [myhomeiot_ble_client:194] | [EF:A8:A8:06:8C:E6] READ_CHAR_EVT error reading char at handle (33), status (5)
With nRF Connect I can see the value is 17%. Is % the cause of the issue, and how can I remove it?
Thank in advance.
The configuration is:
The text was updated successfully, but these errors were encountered: