Reedyuk / blue-falcon

A Bluetooth kotlin multiplatform "Cross-Platform" library for iOS and Android
https://bluefalcon.dev
Apache License 2.0
321 stars 43 forks source link

Windows 10 platform support #77

Open permiakover opened 3 years ago

permiakover commented 3 years ago

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?

Reedyuk commented 3 years ago

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

manosbatsis commented 1 year ago

Perhaps targeting the JVM makes more sense

Reedyuk commented 1 year ago

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.

manosbatsis commented 1 year ago

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

Reedyuk commented 1 year ago

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.

permiakover commented 1 year ago

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

mehmetakify commented 1 year ago

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