Skip to content

Can I use this crate to interact with Bluez? #319

Answered by diwic
wpd asked this question in Q&A
Discussion options

You must be logged in to vote

Since you're new to all of this, first install a D-Bus introspection tool such as D-feet and start it.
Find the org.bluez destination. Now you need to find a path that implements org.bluez.LEAdvertisement1. If you find nothing, connect the something that you want to talk to, restart D-Bus and retry.

Now that you have found the path that implements org.bluez.LEAdvertisement1, that's the path you should have after the -p switch when calling dbus-codegen.

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by wpd
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants