OpenBluetoothToolbox / SimpleBLE

SimpleBLE - the all-in-one Bluetooth library for MacOS, iOS, Windows, Linux and Android.
https://www.simpleble.org
Other
660 stars 111 forks source link

[WSL] Fail gracefully upon detection of invalid environment. #196

Closed kdewald closed 1 year ago

kdewald commented 1 year ago

Quick summary for people who are just getting to this issue for the first time:

This issue is designed to group the necessary work in detecting the condition and causing the code to fail gracefully.

kdewald commented 1 year ago

For reference, I plan to implement the following check: https://github.com/microsoft/WSL/issues/423

kdewald commented 1 year ago

Although not exactly the full explicit solution, this should be enough to detect this problem quickly: https://github.com/OpenBluetoothToolbox/SimpleBLE/pull/198