beautypg.com

3 python implementation description – Rainbow Electronics GC864-PY User Manual

Page 35

background image




Telit GE864 and GC864 Product Description

80273ST10008a Rev. 14 - 18/09/08

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

page 35 of 62

4.5.3

Python implementation description


Python scripts are text files stored in NVM inside the Telit GE864-PY / GC864-PY. There's a file
system inside the module that allows to write and read files with different names on one single level
(no subdirectories are supported).
Attention: it is possible to run only one Python script at the time.

The Python script is executed in a task inside the Telit module at the lowest priority, making sure this
does not interfere with GSM/GPRS normal operations. This allows serial ports, protocol stack etc. to
run independently from the Python script.
The Python script interacts with the Telit module functionality through four build-in interfaces.































H

H

a

a

r

r

d

d

w

w

a

a

r

r

e

e

R

R

e

e

s

s

o

o

u

u

r

r

c

c

e

e

s

s

G

G

P

P

R

R

S

S

M

M

o

o

d

d

e

e

m

m

E

E

n

n

g

g

i

i

n

n

e

e

V

V

i

i

r

r

t

t

u

u

a

a

l

l

I

I

n

n

t

t

e

e

r

r

n

n

a

a

l

l

A

A

T

T

S

S

e

e

r

r

i

i

a

a

l

l

P

P

o

o

r

r

t

t

M

M

D

D

M

M

L

L

i

i

b

b

r

r

a

a

r

r

y

y

M

M

D

D

M

M

2

2

L

L

i

i

b

b

r

r

a

a

r

r

y

y

G

G

P

P

I

I

O

O

L

L

i

i

b

b

r

r

a

a

r

r

y

y

S

S

E

E

R

R

L

L

i

i

b

b

r

r

a

a

r

r

y

y

M

M

O

O

D

D

L

L

i

i

b

b

r

r

a

a

r

r

y

y

P

P

y

y

t

t

h

h

o

o

n

n

E

E

n

n

g

g

i

i

n

n

e

e

w

w

i

i

t

t

h

h

U

U

P

P

G

G

R

R

A

A

D

D

A

A

B

B

L

L

E

E

s

s

o

o

f

f

t

t

w

w

a

a

r

r

e

e

s

s

c

c

r

r

i

i

p

p

t

t

P

P

r

r

i

i

n

n

t

t

C

C

o

o

m

m

m

m

a

a

n

n

d

d

G

G

P

P

I

I

O

O

S

S

e

e

r

r

i

i

a

a

l

l

p

p

o

o

r

r

t

t

0

0

(

(

A

A

S

S

C

C

0

0

)

)

e

e

x

x

P

P

R

R

O

O

G

G

S

S

e

e

r

r

i

i

a

a

l

l

p

p

o

o

r

r

t

t

1

1

(

(

A

A

S

S

C

C

1

1

)

)

e

e

x

x

T

T

R

R

A

A

C

C

E

E

A

A

n

n

t

t

e

e

n

n

n

n

a

a

G

G

S

S

M

M

S

S

P

P

I

I

L

L

i

i

b

b

r

r

a

a

r

r

y

y

I

I

I

I

C

C

L

L

i

i

b

b

r

r

a

a

r

r

y

y

S

S

E

E

R

R

2

2

L

L

i

i

b

b

r

r

a

a

r

r

y

y