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

allow advertising updates at runtime #198

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

Conversation

floe
Copy link
Contributor

@floe floe commented Oct 23, 2017

I have a usecase where I want to update the advertisement data while the system is running. A hacky solution is to simply call begin() again, but that essentially resets the SoC and also leaks memory. I've refactored the advertisement code so it can be called independently using startAdvertising().

Best, Florian

@sandeepmistry
Copy link
Owner

@floe thanks for submitting, I'll leave this open for now. I'd like to ensure it's doable and compatible on nRF8001 as well.

@floe
Copy link
Contributor Author

floe commented Nov 13, 2017

OK, thanks. I don't have access to an nRF8001 at the moment, and the code looks quite ... involved ;-), so I'll leave this as-is at the moment.

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.

2 participants