2 other limits – Rainbow Electronics GM862-GPS User Manual

Page 97

Advertising
background image





Easy Script

in Python

80000ST10020a Rev.8 - 01/10/08

Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved

page 97 of 100

All these names are included in the main script and in all the files .py called directly or indirectly by the
main. The number of names that can be loaded at each startup from the Python task is around 500.

We advise you to use the same variable names in different .py files of the same project, in case this is
possible.

The recommended dimension of the compiled file .pyo should be <16KByte


NOTE:
It is highly recommended not to use the module as a data logger since all flash memories have
limited number of writing and deleting cycles.

Some limits of the available NVM that affect file saving procedures and need to be considered have
been fixed below:

max number of

files saved in NVM

500

max number of

files open

contemporary

16

max length of file

name

16 characters



Other useful info for NVM usage in application development:

• writing in NVM over 2Mbyte could cause a slight decrees of writing speed

• AT#LSCRIPT and AT#FREEMEM commands might not always show a exact number of bytes

that can be used for NVM due to dynamic memory reorganisation process

5.2 Other Limits

Some other Python limits that should be considered while developing your Python script in other to
find an appropriate solution are listed below:

Python script should not interfere with GSM/GPRS standard operations

28

, for this

reason there is a pause of 50 ms each second during the Python task activity.

GPIO polling frequency <100Hz;

I2C and SPI speed: from 10Kb/s to 20Kb/s

28

This means that operations such as serial port, protocol stack etc, can run independently from the Python

script.

Advertising