arlyxiao / best-practice

1 stars 0 forks source link

Latest dotnet core uses windows BLE API #98

Open arlyxiao opened 1 year ago

arlyxiao commented 1 year ago

Start example

https://learn.microsoft.com/en-us/windows/uwp/devices-sensors/gatt-client

It's required to specify the windows version

https://learn.microsoft.com/en-us/windows/apps/desktop/modernize/desktop-to-uwp-enhance

net6.0-windows10.0.22000.0

Authentication issue: E_BLUETOOTH_ATT_INSUFFICIENT_AUTHENTICATION

The attribute requires authentication before it can be read or written.

https://learn.microsoft.com/en-us/windows/win32/api/bluetoothleapis/nf-bluetoothleapis-bluetoothgattabortreliablewrite

The error is not triggered in web https://github.com/WebBluetoothCG/web-bluetooth/issues/26