Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Getting Connman DBus messages
marcosbontempo last edited by
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.
Something like described in this email ?
@marcosbontempo Install the
qdbusviewertool 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
qdbusvieweritself. 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.