<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font color="#663300" size="+1">Hi,<br>
<br>
I'm looking for a Python example/sample/snippet to send an SMS
message to a mobile phone.<br>
<br>
All I can find is older code that uses EnumerateDevices() method.<br>
<br>
e.g.
<a class="moz-txt-link-freetext" href="https://github.com/miurahr/ModemManager/blob/master/test/mm-send-sms.py">https://github.com/miurahr/ModemManager/blob/master/test/mm-send-sms.py</a><br>
<br>
which appears to be old and obsolete, and not supported on my
system (Debian Jessie, modemmanager v 1.4).<br>
<br>
I've read some of the ModemManager and DBus docs (not that easy
going). </font><font color="#663300"><br>
<font size="+1"><font size="+1">All I can work out is that the API
is now more generic but I can't find the right set of methods
to use. e.g. to get a list of modems.<br>
</font><br>
Is there an equivalent to the sample above?<br>
<br>
Thanks,<br>
Brendan.<br>
<br>
</font></font>
</body>
</html>