Open chris1109 opened 5 years ago
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.
Thanks @chris1109! I'll see about making a new dispatch queue by default on iOS
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.