Re: Interaction with ModemManager
- From: Aleksander Morgado <aleksander aleksander es>
- To: Pieter Cardoen <pieter cardoen hotmail com>
- Cc: "networkmanager-list gnome org" <networkmanager-list gnome org>
- Subject: Re: Interaction with ModemManager
- Date: Fri, 5 Jun 2015 22:00:08 +0200
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]