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. Getting Connman DBus messages
QtWS25 Last Chance

Getting Connman DBus messages

Scheduled Pinned Locked Moved General and Desktop
connmanqtdbus
3 Posts 3 Posters 2.0k Views
  • 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.
  • M Offline
    M Offline
    marcosbontempo
    wrote on 9 Jun 2015, 13:19 last edited by
    #1

    Hi,

    How can I access connman messages using Qt Dbus? Does anybody have an example or tutorial? I want to receive a signal in the moment that a network cable unplug, for example.

    Any tip will be very helpful.
    Thanks!

    P 1 Reply Last reply 10 Jun 2015, 06:43
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 9 Jun 2015, 21:05 last edited by
      #2

      Hi,

      Something like described in this email ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • M marcosbontempo
        9 Jun 2015, 13:19

        Hi,

        How can I access connman messages using Qt Dbus? Does anybody have an example or tutorial? I want to receive a signal in the moment that a network cable unplug, for example.

        Any tip will be very helpful.
        Thanks!

        P Offline
        P Offline
        p3c0
        Moderators
        wrote on 10 Jun 2015, 06:43 last edited by
        #3

        @marcosbontempo Install the qdbusviewer tool on your embedded system. Run it. It will display a list of system and session bus running on that system. Search for Connman and check the interfaces provided by it. I think there should be a signal for network state change. Connect to it and check. You can first try it from qdbusviewer itself. Later you can get the exact service, path and interface from that list for your own use. The tool is under <QtDir>/gcc_64/bin directory of your Qt installed system.

        157

        1 Reply Last reply
        0

        3/3

        10 Jun 2015, 06:43

        • Login

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