Skip to content

Cordio: prevent crashes if BLE.begin() is not called #17

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

Merged

Conversation

sandeepmistry
Copy link
Contributor

@8bitkick, found that not calling BLE.begin() before BLE.advertise() made things crash on the Arduino Nano 33 BLE.

This change makes things more resilient.

@sandeepmistry sandeepmistry merged commit 2eed8a5 into arduino-libraries:master Sep 3, 2019
mmaciej2 pushed a commit to mmaciej2/ArduinoBLE that referenced this pull request Jan 22, 2022
…code

Pairing code & IOCaps set via implementation of callbacks
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

Successfully merging this pull request may close these issues.

1 participant