Skip to content
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

BTU_TASK_STACK_SIZE too small for Polar H10 heart rate monitor #54

Open
FIXMBR opened this issue Dec 27, 2021 · 0 comments
Open

BTU_TASK_STACK_SIZE too small for Polar H10 heart rate monitor #54

FIXMBR opened this issue Dec 27, 2021 · 0 comments

Comments

@FIXMBR
Copy link

FIXMBR commented Dec 27, 2021

Default value set in sdkconfig.esp32 is:
CONFIG_BT_BTU_TASK_STACK_SIZE=4096

When trying to get services of Polar H10 heart rate monitor, it causes a stack overflow. I detailed the issue here espressif/arduino-esp32#6063.

After setting it to 8192 the library works fine.

As H10 is one of the more popular hr monitors, and other people had the same problem (nkolban/esp32-snippets#837, stackoverflow) I think it's okay to increase it in the official lib.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant