08-30-2014, 12:42 AM
Python module to control a GSM modem attached to the system:
send/receive SMS messages, handle calls, etc...
[Image: ussd_python.png]
GSM modem module for Python
python-gsmmodem is a module that allows easy control of a GSM modem attached to the system. It also includes a couple of useful commandline utilities for interacting with a GSM modem.
Its features include:
simple methods for sending SMS messages, checking signal level, etc
easy-to-use API for starting and responding to USSD sessions and making voice calls
handling incoming phone calls and received SMS messages via callback methods
support for SMS PDU and text mode
support for tracking SMS status reports
wraps AT command errors into Python exceptions by default
modular design; you easily issue your own AT commands to the modem (with error checking), or read/write directly from/to the modem if you prefer
comprehensive test suite
More Info.....
Download...
send/receive SMS messages, handle calls, etc...
[Image: ussd_python.png]
GSM modem module for Python
python-gsmmodem is a module that allows easy control of a GSM modem attached to the system. It also includes a couple of useful commandline utilities for interacting with a GSM modem.
Its features include:
simple methods for sending SMS messages, checking signal level, etc
easy-to-use API for starting and responding to USSD sessions and making voice calls
handling incoming phone calls and received SMS messages via callback methods
support for SMS PDU and text mode
support for tracking SMS status reports
wraps AT command errors into Python exceptions by default
modular design; you easily issue your own AT commands to the modem (with error checking), or read/write directly from/to the modem if you prefer
comprehensive test suite
More Info.....
Download...
Code:
https://github.com/faucamp/python-gsmmodem
assasaha, proud to be a member of ForNesia Family since Jan 2014.