Skip to content

Add exit menu to OpenHaystack module #1119

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

stefexec
Copy link
Contributor

This PR adds an exit menu to the OpenHaystack module that appears when the ESC button is pressed. The menu gives users two options:

Continue OpenHaystack - resumes BLE advertising
Exit to Main Menu - stops BLE advertising and returns to main menu

The implementation properly handles BLE advertising state management, temporarily stopping it while the menu is displayed and restarting it if the user chooses to continue.

This enhancement improves user experience by providing a clear way to exit or continue OpenHaystack.

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