[Solved] Passing a dict/ a{sv} to a method over DBus via QDBus
-
Edit: I fixed it now. The answer/fix is posted at the stackoverflow link below.
Hi,
I'm trying to utilize the new Health API in the Bluez bluetooth stack for linux. I have a HDP device that I have confirmed working using a python script that talks to bluez over dbus.
The API for the DBus Health is "Here":http://git.kernel.org/?p=bluetooth/bluez.git;a=blob_plain;f=doc/health-api.txt;hb=HEAD
As you can see, the CreateApplication method needs a dict (a{sv} according to introspection, i.e a String_Variant_Map) to be sent as a parameter. "This":http://stackoverflow.com/questions/5008982/connecting-to-the-new-bluez-hdp-plugin-using-dbus-from-qt-c is what I've tried so far, but still no luck.
Does anyone here have any advice?
Thanks,
/Keyz182