Scenario cases, Reading an i/o: writing in an output – Sony Ericsson GM47 User Manual

Page 194

Advertising
background image

GM47/GM48 INTEGRATOR’S MANUAL

194

LZT 123 7263 R1C

Unsolicited Result Codes:

*E2IO: <source>, <io>, <val>

Scenario Cases

Reading an I/O:

Writing in an Output:

<val>

Description

Read/Write

Configure

Trigger

0

The logic value is

FALSE

I/O signal is INPUT

I/O signal is NOT set

to trigger

1

Logic value is TRUE

I/O signal is OUTPUT

I/O signal is set to

trigger

<adc_val>

Description

0-255

The decimal value shall represent the analogue voltage it

is hold on the I/O. Applicable only to A/D or D/A signals.

AT Command

Response

Comment

AT*E2IO=0,“I1”

The TE is requesting for the

logic value of I1 (Digital Input

1)

*E2IO:0,“I1”,1

OK

The MS responds I1 has a TRUE

logic value

AT*E2IO=0,“AD1”

The TE is requesting for the

reading of AD1 value

(Analogue Input 1)

*E2IO:0,“AD1”, ,87

OK

The MS responds AD1 has a

decimal value of 87. In volts:

((2.75*0.9)/256)*87 = 0.841V

AT Command

Response

Comment

AT*E2IO=1,“O1”,1

The TE is requesting to write a

TRUE logic to O1 (Digital

Output 1)

OK

The MS responds OK because

the operation has been

performed

AT*E2IO=1,“I3”,0

The TE is requesting to write a

FALSE logic value to I3 (Digital

Input 3)

ERROR

The MS responds ERROR

because the operation is not

possible

Advertising
This manual is related to the following products: