blue-falcon icon indicating copy to clipboard operation
blue-falcon copied to clipboard

Windows 10 platform support

Open permiakover opened this issue 3 years ago • 8 comments

There is no a working solution to use Windows Bluetooth Api in Java/Kotlin desktop app. The only was is to switch to Linux or to C# Is it possible to port windows to use in kotlin somehow? Do you mind to schedule such feature?

permiakover avatar Aug 05 '21 18:08 permiakover

I'm not a windows user, so would be significant effort to support. If you feel you are up to the task, fork the repo and put in a pr

Reedyuk avatar Aug 05 '21 18:08 Reedyuk

Perhaps targeting the JVM makes more sense

manosbatsis avatar Oct 18 '22 14:10 manosbatsis

i don't believe jvm target will work on platforms other than linux. I think there is no universal api in jvm for bluetooth interactions.

Reedyuk avatar Oct 19 '22 17:10 Reedyuk

You can simply target JSR-82 i.e. "Java APIs for Bluetooth Wireless Technology". There's a number of implementations out there, for example bluecove has been tested on Mac OS, Windows and Linux

manosbatsis avatar Oct 20 '22 14:10 manosbatsis

I think a while back i tried to get this to work with KMM but failed, it was a while back though so it may have changed. As mentioned, open to people creating pull requests and happily would review and merge if works.

Reedyuk avatar Oct 20 '22 14:10 Reedyuk

You can simply target JSR-82 i.e. "Java APIs for Bluetooth Wireless Technology". There's a number of implementations out there, for example bluecove has been tested on Mac OS, Windows and Linux

there is a number of non-working implementations including bluecove, it's very limited. The only working solution is C# using

permiakover avatar Oct 20 '22 18:10 permiakover

There are libraries like https://github.com/weliem/blessed-bluez, that support Windows or Linux with JVM. By the way at least Linux support would be great

mehmetakify avatar Nov 23 '22 19:11 mehmetakify