Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Field not found: Roles #35

Closed
Feresey opened this issue Sep 26, 2020 · 4 comments · Fixed by #74
Closed

Field not found: Roles #35

Feresey opened this issue Sep 26, 2020 · 4 comments · Fixed by #74

Comments

@Feresey
Copy link

Feresey commented Sep 26, 2020

$ go run ./examples/scanner
panic: failed to enable BLE stack: MapToStruct: Field not found: Roles

goroutine 1 [running]:
main.must(...)
	/dev/shm/bluetooth/examples/scanner/main.go:23
main.main()
	/dev/shm/bluetooth/examples/scanner/main.go:11 +0x1df

os: Archlinux
kernel: 5.8.10
bluez: 5.55
go: 1.15.2

@Feresey
Copy link
Author

Feresey commented Sep 26, 2020

Maybe go-bluetooth does not support bluez version 5.55. The latest version in the repo is 5.54.

@Feresey
Copy link
Author

Feresey commented Sep 26, 2020

Please update go-bluetooth to latest version

muka/go-bluetooth@4ca7d8d

@deadprogram
Copy link
Member

Please try out https://github.com/tinygo-org/bluetooth/tree/update-go-bluetooth-linux branch which included the updated module. Thanks @Feresey

@deadprogram
Copy link
Member

This has now been released with v0.2.0 thanks!

james-lawrence added a commit to james-lawrence/bluetooth that referenced this issue Aug 10, 2021
muka/go-bluetooth does some magic so you can use short UUIDs and it'll auto
expand them to the full 128 bit uuid. setting these flags disables that behavior.

related issues:
- allows updating muka library to resolve tinygo-org#35
- fixes the regression the upgrade caused tinygo-org#46
- commit causing the regression in upstream muka/go-bluetooth@1c4c1c8
james-lawrence added a commit to james-lawrence/bluetooth that referenced this issue Aug 10, 2021
muka/go-bluetooth does some magic so you can use short UUIDs and it'll auto
expand them to the full 128 bit uuid. setting these flags disables that behavior.

related issues:
- allows updating muka library to resolve tinygo-org#35
- fixes the regression the upgrade caused tinygo-org#46
- commit causing the regression in upstream muka/go-bluetooth@1c4c1c8
deadprogram pushed a commit that referenced this issue Sep 3, 2021
muka/go-bluetooth does some magic so you can use short UUIDs and it'll auto
expand them to the full 128 bit uuid. setting these flags disables that behavior.

related issues:
- allows updating muka library to resolve #35
- fixes the regression the upgrade caused #46
- commit causing the regression in upstream muka/go-bluetooth@1c4c1c8
deadprogram pushed a commit that referenced this issue Sep 3, 2021
muka/go-bluetooth does some magic so you can use short UUIDs and it'll auto
expand them to the full 128 bit uuid. setting these flags disables that behavior.

related issues:
- allows updating muka library to resolve #35
- fixes the regression the upgrade caused #46
- commit causing the regression in upstream muka/go-bluetooth@1c4c1c8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants