Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. [Solved] Passing a dict/ a{sv} to a method over DBus via QDBus

[Solved] Passing a dict/ a{sv} to a method over DBus via QDBus

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 4.0k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    keyz182
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0
    • S Offline
      S Offline
      stukdev
      wrote on last edited by
      #2

      solved.

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved