muka / go-bluetooth

Golang bluetooth client based on bluez DBus interfaces

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is bluetooth device emulation/advertisement usable?

nanoscopic opened this issue · comments

The main readme says that "Expose bluetooth service from go code" is unstable. Is this still currently true? Could you elaborate on what sort of unstability has been noticed and what to expect?

This seems to be a core feature of tinygo bluetooth that uses this library, and if there are issues with it I would like to know what the issues are before deciding to use it.

Hi, with unstable I mean the Go API may change to better wrap bluez changes or address user PRs. Current versions (up to 5.62) should not be impacted.

If you decide to go for it and have feedback, PR and suggestions are always welcome!

Thanks. My intent is to use this by way of tinygo bluetooth with NRF52840 usb dongle to make virtual bluetooth keyboard/mouse for an iOS device farm.

I'm not actually sure that this project is used in that particular case, but I will also be testing the setup on normal Linux devices with bluetooth using the bluez stack which will definitely use this project.

The rest of the project is already in Go, so I wanted the portion of it for this to use Go as well. I'll be trying it out and if it works well will integrate its use into the larger project.

If I notice any way to improve it I'll be happy to contribute both feedback and/or PRs. Thanks for the open welcome.

Ok, good to know! I had a test setup but with different use-case, maybe is helpful https://github.com/muka/pi-wifi