forked from arduino-libraries/ArduinoBLE
-
Notifications
You must be signed in to change notification settings - Fork 4
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
Pairing enable / disable timeout #14
Labels
Someday maybe
Ideas to revisit & prioritise later
Comments
This sounds like a great idea, independent of implementation of a timeout. It could be implemented by extending the existing Connected/Disconnected event handlers. |
Yes - when I looked at your code I saw how you'd solved it and it makes sense. Providing further info in the event handlers is probably the way forward like you suggest. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Create function to allow developer to put BLE into pairing mode without a timeout so that if a device has not paired with a defined period that the device exits from pairing mode.
This could be implemented by the developer already by monitoring for key storage requests, however it would be simpler to pass a timeout to the library, or to at least provide an explicit callback to indicate a new device has paired
The text was updated successfully, but these errors were encountered: