GM47/GM48 INTEGRATOR’S MANUAL

Write (<op> = 1): Sets an output to a specific value. For digital sources <val>=‘0’ or ‘1’ and for the analog ones, 0-255. If the signal is bi-directional (IO1 to IO4) it must be configured as an output before writing is allowed. If the output can be written to, the signal is set to <val> and OK is returned, otherwise ERROR is returned.

AT*E2IO=1,“IO1”,1

OK or AT*E2IO=1,“DA1”,,100

OK

Configure (<op> = 2): The configuration operation is used for the bi-directional signals (IO1 to IO4). They can be configured as input, <val>= ‘0’ or output, <val>=‘1’. If the signal is not configurable, ERROR is returned in place of OK. Once set, the signal remains configured even after a power cycle. Example shown below:

AT*E2IO=2,“IO1”,1 (Set IO1 as an output)

OK

Configure Check (<op> = 3): This operation reads the current configuration of the signal. Returned <val> is current signal state. If the signal is configurable, the current state and OK are returned, if not ERROR is returned.

AT*E2IO=3,“IO1”

 

*E2IO: 3,“IO1”,1

(IO1 is currently set as an output)

OK

Trigger (<op> = 4): Input signals can be set to send an unsolicited result code whenever a change in one of the inputs has been produced. Setting a trigger (<val> = ‘1’) will cause the unsolicited result to be sent when a change from the current signal state occurs (signal must be unchanging when command is executed). Clearing a trigger (<val> = ‘0’) will clear a currently set trigger. Configurable signals (IO1 to IO4) must be set as inputs before they can be triggered. Triggers are only applicable while the module is ON. Power-cycling will clear all current triggers. If a signal is triggerable OK is returned and the trigger is set/cleared, otherwise ERROR is returned.

AT*E2IO=4,“I5”,1

(Set trigger on I5)

OK

(I5 changes state, sometime later)

192

LZT 123 7263 R1C

Page 192
Image 192
Sony Ericsson GM48, GM47 manual 192