N init string] — event based command – Ositech comm Trumpcard Data/Fax Modem User Manual
Page 65
User’s Guide and Reference
4 - 33
Modem Command Reference
.
AT@M30
-30dBm
AT@M31
-31dBm
[n init string] — Event Based Command
Parameters
n
= 0 or 1
init string
= any valid AT command(s) except
Z (reset)
Defaults
n
= 0
init string
= NULL
The event based command is unique in that it allows single or multiple AT
commands to be associated with an event identified by an event identifier
“n”. Currently only two events are identified; event 0 indicates that the
modem is currently operating using a land line based communication line;
event 1 indicates that the modem is currently operating using a cellular
based communications line. These events can change dynamically, and
thus whenever a change is detected the modem will execute the AT
commands associated with the event automatically.
Multiple event based commands can be on the same command line or
can be entered on separate command lines. The AT command(s)
associated with an event are stored in volatile memory, powering off the
modem or executing the ATZ command will clear the command(s). A
NULL init string will also serve as a way of clearing command(s)
associated with an event.
All commands between the [
n
and then next], or [
n
, or the end of the
command line will be associated with the event
n
. All commands will be
verified and commands that require interaction or return information
should not be used since these will be executed based on changing
events.
Examples
AT[0&F&C1&D2&S1W1S95=18]
The above command stores the &F&C1&D2&S1W1S95=18
commands for event 0 (land based connection) and will be
automatically executed when a change of event from cellular
back to land based is detected.
AT&F&C1&D2&S1[0S95=18][1S95=44)M1*H2:E0]