Re: Interaction with ModemManager



On Wed, Jun 3, 2015 at 11:29 AM, Pieter Cardoen
<pieter cardoen hotmail com> wrote:
This should be possible. I already have some experience with Python and
NetworkManager-ModemManager. By now, there isn't a Python library available
for the ModemManager dbus interface but there is for the NetworkManager dbus
API.

But you can use ModemManager in Python with libmm-glib via GObject
Introspection very easily, you don't need a custom python library. See
e.g.:
http://cgit.freedesktop.org/ModemManager/ModemManager/tree/examples/modem-watcher-python/ModemWatcher.py

Or even in JavaScript, if you're into that:
http://cgit.freedesktop.org/ModemManager/ModemManager/tree/examples/modem-watcher-javascript/modemWatcher.js

-- 
Aleksander
https://aleksander.es


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]