Modem Manager API using

Highland, Glenn Glenn.Highland at digi.com
Thu Aug 27 06:57:56 PDT 2015


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-bounces at lists.freedesktop.org] On Behalf Of Carlos Fernández
Sent: Thursday, August 27, 2015 8:47 AM
To: modemmanager-devel at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/modemmanager-devel/attachments/20150827/7f733e13/attachment-0001.html>


More information about the ModemManager-devel mailing list