I found the two links below very helpful. I’ve implemented C code that communicates with ModemManager via DBus using the DBus API, not the libmm-glib.
http://raulherbster.blogspot.com/2010/11/dbus-how-to-pass-dict-as-parameter.html http://www.matthew.ath.cx/misc/dbus From: ModemManager-devel [mailto:modemmanager-devel-boun...@lists.freedesktop.org] On Behalf Of Carlos Fernández Sent: Thursday, August 27, 2015 8:47 AM To: modemmanager-devel@lists.freedesktop.org Subject: Modem Manager API using Hi, I am trying to get use of ModemManager API in order to develop a C application that communicates and ask the modem for diverse operations. I've seen some python and javascript client examples in the ModemManager repository, but nothing about C programming. Does anyone know if C coding examples on how to deal with ModemManager are available on the net, just to be used as a reference, as I have never programmed using D-Bus?? Both ModemManager and libmm-glib are called high-level APIs, but I'm not sure what are the difference between each other apart from the fact, as long as I understand, that libmm is invoked using its own library functions wether ModemManager is invoked using its D-bus methods (maybe I'm confused about how it works). I don't know if I should develop my program to use libmm or if it should call ModemManager methods (or even if ModemManager internally uses libmm functions). Best regards.
_______________________________________________ ModemManager-devel mailing list ModemManager-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/modemmanager-devel