2 python build-in custom modules, 1 cmux and python – Rainbow Electronics GM862-GPS User Manual
Page 19

Easy Script
in Python
80000ST10020a Rev.8 - 01/10/08
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 19 of 100
2 Python Build-in Custom Modules
Several build in custom modules have been included in the python core, specifically aimed at the
hardware environment of the module.
The build in modules included are:
MDM
interface between Python and mobile internal AT command handling
MDM2
second interface between Python and mobile internal AT command handling
SER
interface between Python and mobile internal serial port ASC0 direct handling
SER2
interface between Python and mobile internal serial port ASC1 direct handling
GPIO
interface between Python and mobile internal general purpose input output direct
handling
MOD
interface between Python and mobile miscellaneous functions
IIC
custom software Inter IC bus that can be mapped on creation over almost any
GPIO pin available
SPI
custom software Serial Protocol Interface bus that can be mapped on creation
over almost any GPIO pin available
GPS
interface between Python and mobile internal GPS controller
2.1 CMUX and Python
1
To make the use of Python easier CMUX (Converter-Multiplexer) feature has been implemented in the
Telit modules. The Multiplexer mode creates four virtual channels on one serial interface and permits
to transmit data to four different applications. This makes it possible to run a Python script and at the
same time use CMUX on ASC0 with the following division of channels:
• first CMUX port is reserved for SER module;
• second CMUX port is available for AT command handling in case when MDM2 built-in module
is not been imported;
• third CMUX port is available for AT command handling;
• fourth CMUX port is in use for debug (print statements);
ASC1 is available for non-GPS products with import of the SER2 built-in module.
1
feature available for the modules with the following Order-Num. :, GM862GPS***-***, GM862PYT***-***,
GE863PYT***-***, GE863GPS***-***, GE864PYT***-***, GC864PYT***-***, GE864PYH***-***,and old
3990250657, 3990250660,