muka / go-bluetooth

Golang bluetooth client based on bluez DBus interfaces
Apache License 2.0
653 stars 123 forks source link

Please generate version bluez-5.66.json #188

Open dezi opened 1 year ago

dezi commented 1 year ago

Hello,

i get the following warning:

level=warning msg="MapToStruct: invalid field detected *device.Device1Properties.Bonded"

I guess the device property "Bonded" was introduced by bluez 5.66 and I like to use this field. (Important for BLE devices)

I would be very happy, if this version is generated.

Regards, dezi

0x5e commented 1 year ago

+1

andig commented 11 months ago

Friendly ping @muka would that be possible?

andig commented 11 months ago

I have no success running this under docker with bluez installed in order to create a PR:

go run ./srcgen/main.go full --debug
FATA[0000] chdir ../src/bluez/doc: no such file or directory

Unfortunately I don't have access to a Linux machine :/

andig commented 11 months ago

Actually: there is a PR: https://github.com/muka/go-bluetooth/pull/186