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

nRF5x: reset BLE advertising after load()/reset() #1975

Closed
gfwilliams opened this issue Jan 27, 2021 · 0 comments
Closed

nRF5x: reset BLE advertising after load()/reset() #1975

gfwilliams opened this issue Jan 27, 2021 · 0 comments

Comments

@gfwilliams
Copy link
Member

http://forum.espruino.com/conversations/359081/#comment15780072
http://forum.espruino.com/conversations/359172/#comment15780024

Espruino should reset Bluetooth Advertising when it resets. Currently it doesn't, so:

NRF.sleep();reset();

and

NRF.setAdvertising({},{connectable:false});reset();

will effectively brick the device until a power cycle!

@gfwilliams gfwilliams changed the title Bangle.js: reset BLE advertising after load()/reset() nRF5x: reset BLE advertising after load()/reset() Jan 28, 2021
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