MTD2000 AT Command Guide R12
Confidential
DAVISCOMMS (S) PTE LTD
94 /105
Mode
0 – Disable
1 – Enable
Default is 0 (Disable)
Operator
0 – Logical AND operation in the condition
1 – Logical OR operation in the condition
Conditions
Specify up to 5 conditions using event flags
Commands Specify up to 10 commands to be triggered when conditions are
met
Example:
Command
Response
Refer to example 1 for event with
AND condition.
OK
Refer to example 2 for event with OR
condition.
OK
AT$EV=1
Note: Query an event.
OK
AT$EV: 1,1,0,”P1=1 P3=1”,$SR=”Alarm!”,”S1”|$NR=0,”N”
AT$EV?
Note: Query setting of all
events
OK
AT$EV: 1,1,0,”P1=1 P3=1”,$SR=”Alarm!”,”S1”|$NR=0,”N”
AT$EV: 2,1,1,”E1=0 B1=0”, $OUT=1,1|$TM=1,”S1”
…
AT$EV: 20,””
Example 1: Event with AND Condition
When the following conditions are met, send out one standard report via SMS and one NMEA
report via TCP / UDP channel.
Condition:
Port #1 is HIGH AND Port #3 is HIGH
Event:
AT$EV=1,1,0,”P1=1 P3=1”, $SR=”Alarm!”,”S1”|$NR=0,”N”
Example 2: Event with OR Condition
When any of following conditions is met, turn on output port and send out a text message via
SMS.