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

Service duplication after you turn bluetooth off/on #1

Closed
tewarid opened this issue Feb 4, 2014 · 2 comments
Closed

Service duplication after you turn bluetooth off/on #1

tewarid opened this issue Feb 4, 2014 · 2 comments

Comments

@tewarid
Copy link

tewarid commented Feb 4, 2014

Hi. Just wanted to let you know that when you turn Bluetooth off, then on again, a duplicate service (same UUID) gets added. Using the LightBlue app on an iPhone to view the peripheral.

@sandeepmistry
Copy link
Owner

One way to fix this is to call [self.peripheralManager removeAllServices]; when stop advertising is called in BPAppDelegate.m in peripheralManagerDidUpdateState.

@tewarid
Copy link
Author

tewarid commented Feb 5, 2014

It does. Thanks!

On Feb 4, 2014, at 21:41, Sandeep Mistry notifications@github.com wrote:

One way to fix this is to call [self.peripheralManager removeAllServices]; when stop advertising is called in BPAppDelegate.m in peripheralManagerDidUpdateState.


Reply to this email directly or view it on GitHub.

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

No branches or pull requests

2 participants