From 24fd3ef5fb2b4795e7f3bad96d16ee36758e9e8d Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Mon, 25 Jul 2016 10:36:42 +0200 Subject: examples: add SMS sender in python --- examples/sms-python/README | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 examples/sms-python/README (limited to 'examples/sms-python/README') diff --git a/examples/sms-python/README b/examples/sms-python/README new file mode 100644 index 00000000..50a1cc55 --- /dev/null +++ b/examples/sms-python/README @@ -0,0 +1,20 @@ + +The sms-python program makes use of the 'libmm-glib' library through +GObject Introspection to talk to ModemManager. + +The program will: + * Detect whether ModemManager is found in the bus + * Prepare SMS properties object with the provided Number and Text. + * Loop through each modem found in the system, and for each: + ** Create a SMS + ** Send the SMS + +The output will look like this: + +$ ./sms-python "+1234567890" "hello there, how are you?" +/org/freedesktop/ModemManager1/Modem/0: sms sent + +Note that the program requires ModemManager and libmm-glib to be installed in +the system and the introspection typelibs available in the standard paths. + +Have fun! \ No newline at end of file -- cgit v1.2.3-70-g09d2