Telit EZ10-GPRS/-PCS
Product Description
80269ST10014a, Rev. 3 – 26/09/05
Reproduction forbidden without written authorization by Telit Communications S.p.A.
Page 43 of 74
All Rights reserved – Right of modification reserved
The MDM interface is the most important one. It allows Python script to send AT commands,
receive responses and unsolicited indications, send data to the network and receive data from the
network during connections.
It is quite the same as the usual serial port interface in the
Telit EZ10-PCS with PYG Option
. The
difference is that this interface is not a real serial port but just an internal software bridge between
Python and mobile internal AT command handling engine.
All AT commands working in the
Telit EZ10-PCS with PYG Option
are working in this software
interface as well. Some of them have no meaning on this interface, such as those regarding serial
port settings.
The usual concept of flow control keeps it’s meaning over this interface, but it's managed internally.
The SER interface allows Python script to read from and write to the REAL, physical serial port
where usually the AT command interface resides. When Python is running this serial port is free to
be used by Python script because it is not used as AT command interface since the AT parser is
mapped into the internal virtual serial port. No flow control is available from Python on this port.
The GPIO interface allows Python script to handle general purpose input output faster than through
AT commands, skipping the command parser and going directly to control the pins.
The MOD interface is a collection of useful functions.
3.3.4 Python core supported features
The Python core version is 1.5.2+ (string methods added to 1.5.2).
You can use all Python statements and almost all Python built-in types and functions.
The following are not supported:
complex;
float;
long;
docstring.
Available modules are
marshal,
imp,
__main__,
__builtin__,
sys
md5
All the others are not supported.