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

Fix for issue 84 #86

Merged
merged 2 commits into from
Apr 21, 2021
Merged

Fix for issue 84 #86

merged 2 commits into from
Apr 21, 2021

Conversation

aovestdipaperino
Copy link
Contributor

#84
Tested on iOS, Windows, Mac
Please generate a release after merging. 👍🏻

@T-vK
Copy link
Owner

T-vK commented Apr 21, 2021

I tested it on Linux and Android. It's merged now and I've created the new release. Thank you. :)

@jbkuma
Copy link

jbkuma commented Apr 21, 2021

My only issue with this fix is I don't always want it to be advertising just because it is disconnected.  I may want it disconnected, such as I shut my PC down for the evening, and I don't want my neighbors randomly connecting to it.  I prefer rousir's build with which I can remain connected with an isConnected check and retrigger advertising with a startAdvertising, or manual trigger advertising when I want to reconnect

@T-vK
Copy link
Owner

T-vK commented Apr 22, 2021

The problem with rousir's build is that it would break backwards-compatibility. Maybe we can add an option to disable automatic advertising.

Macka323 added a commit to Macka323/ESP32-BLE-Keyboard that referenced this pull request Apr 23, 2021
@markingle
Copy link

I think a switch in the startAdvertising function would do the trick.

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.

4 participants