kprinssu / anne-keyboard-windows

A Universal Windows Platform App for controlling Anne Pro Bluetooth enabled keyboards.
MIT License
139 stars 10 forks source link

Bluetooth Connection #4

Closed kprinssu closed 8 years ago

kprinssu commented 8 years ago

Having the app open and connecting the keyboard will cause the app to not detect the keyboard. The temporary fix is to restart the app. The C# Bluetooth API provides endpoints to check if a Bluetooth device was connected or not. However, getting the physical device seems to "not work". More research needs to be down as to why this happens.

kprinssu commented 8 years ago

The Bluetooth device IDs were not matching. When the ConnectToKeyboard function was called, a "Element not found" exception was raised. This issue is now fixed in https://github.com/kprinssu/anne-keyboard-windows/commit/785e9c9bc6e215c0ae8cd4c9a3ef9b93922629aa