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

Deep sleep not working with BLE #451

Closed
Brezensalzer opened this issue Mar 5, 2022 · 3 comments
Closed

Deep sleep not working with BLE #451

Brezensalzer opened this issue Mar 5, 2022 · 3 comments

Comments

@Brezensalzer
Copy link

Hi,
when BLE is enabled ( BLE.begin() ) the sleep modes won't work anymore.
am_hal_sysctrl_sleep(AM_HAL_SYSCTRL_SLEEP_DEEP)
or
am_hal_sysctrl_sleep(AM_HAL_SYSCTRL_SLEEP_NORMAL)
have no effect.

Arduino IDE: 1.8.19
Apollo 3 core: 2.2.0
Board: RedBoard Artemis Nano

@paulvha
Copy link
Contributor

paulvha commented Mar 6, 2022

The library is NOT Sparkfun, nor maintained by Sparkfun. Issues should be posted here https://github.com/arduino-libraries/ArduinoBLE/issues. There are a number of serious concerns mentioned that have not been solved. Some time ago I did a longer deep dive on ArduinoBLE. I have fixed a large number of issues for myself, including the one you encounter. I have posted the issue, the root cause and solution over a year ago (arduino-libraries/ArduinoBLE#158) with the changes to be made. Not sure why they do not apply the fix but you can apply it yourself.

regards,
Paul

@Brezensalzer
Copy link
Author

Thanks for the link, I will have a look there!

@Wenn0101
Copy link
Contributor

Closing. Re-open this issue if you don't get the answers you are looking for from the team maintaining ArduinoBLE.

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

3 participants