adabru / BleWinrtDll

BLE for Unity 3d in Windows without UWP.
Do What The F*ck You Want To Public License
169 stars 53 forks source link

Make BLE.cs generally usable #3

Closed adabru closed 3 years ago

adabru commented 3 years ago

It would be nice to have a C# file that can be imported into a Unity project and used as is. My idea is to move the file BLE.cs into the top directory and add the possibility to read the data from a received package.

Other stuff can be added when new feedback comes in.

adabru commented 3 years ago

Ok, I guess the UWP provided API is already high-level enough. So one only needs a C# class that defines the marshalling interface to the dll. As such one can use the file BleApi.cs.

Joelx commented 3 years ago

Great stuff!!!