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

Devices not found while scanning #67

Open
chris1109 opened this issue Nov 15, 2018 · 1 comment
Open

Devices not found while scanning #67

chris1109 opened this issue Nov 15, 2018 · 1 comment

Comments

@chris1109
Copy link

I had a problem while scanning for devices. The adapter state was unknown and no devices were found. In order to solve the problem i simply created a new dispatch queue to obtain the default adapter:

BluetoothLowEnergyAdapter.ObtainDefaultAdapter(new DispatchQueue("App.iOS.Communication.ObtainAdapterTask"))

This worked for me. Somehow the default dispatch queue didn't processed the task right. Hope this solution can help someone who faces the same issue.

@nexussays
Copy link
Owner

Thanks @chris1109! I'll see about making a new dispatch queue by default on iOS

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