-
Notifications
You must be signed in to change notification settings - Fork 7.6k
GetServices crashes in 2.0.0+ when connecting to heart rate monitor #6063
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
GetServices crashes in 2.0.0+ when connecting to heart rate monitor #6063
Comments
Might it be possible to add an option to specify the stack size for the Bluetooth task ( I am running into this with a simple "remote shutter" (HID) device, and it doesn't look like a typical memory leak on my side. Sometimes it happens immediately when the device connects, other times it connects, runs, and even disconnects/reconnects many times before happening. |
Hello, can you please retest this on v2.0.3-rc1? |
Unfortunately, I won't be able to test it for a week or so. I will report back once I get to test it. |
Just tested it on the new version and I get the same error. |
Thanks for the PR @FIXMBR! We will review it as soon as possible. |
Hey guys, I'm having exactly the same issue on 2.0.11 and ESP32-S3 board. Is there anything I can tweak to make it work? |
I have the same issue on ESP32-S3 |
Same issue here, even though with a different BT device. Everything works fine when using a standard ESP32, while an ESP32-S3 crashes when using the exact same code. I opened a PR to increase the stack size for the ESP32-S3 as it was already done to fix this issue for the standard ESP32. |
Board
ESP32
Device Description
Watchy smartwatch
Hardware Configuration
link to hardware documentation
Version
latest master
IDE Name
Arduino VS Code
Operating System
Arch Linux
Flash frequency
80Mhz
PSRAM enabled
no
Upload speed
921600
Description
I'm trying to connect to Polar H10 heart rate monitor.
From what I gathered, while it's connecting, function
pClient->getService
invokesgetServices
. Expected behavior is to return services map, instead it crashes withStack canary watchpoint triggered (BTU_TASK)
.Sketch
Debug Message
Other Steps to Reproduce
The code works fine on 1.0.x versions of library. I've seen other people having the same issue with 2.0.x lib and this hear rate monitor.
I have checked existing issues, online documentation and the Troubleshooting Guide
The text was updated successfully, but these errors were encountered: