User manual

Confidential, the whole present document is the sole property of Maestro Wireless Solution Ltd.
83
24.9 Command String programming example 2
Input Port signal email triggering
To set if Input Port #1 has a low-to-high signal and last for 0.5 seconds, send an email with
config set with EM#1
Services used: EM #1, IP #1
AT Cmd/Cmd String to be entered
Explanation
AT+IPGPRS=1,”INTERNET”
AT+IPSMTP=25,0,”smtp.netowk.com”
AT+EMADDR=0,0,”me@netowrk.com
AT+EMADDR=0,1,to_1@netowrk.com ,
to_2@network.com”
AT+EMADDR=0,2,”cc_1@netowrk.com ,
cc_2@network.com”
AT+EMADDR=0,3,”bcc_1@netowrk.com ,
bcc_2@network.com”
AT+EMSUBJ=0,1,”Email subj #1”
Setup GPRS
Setup SMTP server
Setup sender address
Setup recipient address
Setup cc recipient address
Setup bcc recipient address
Setup email subject
AT+CSTR=”EM 1 TO 1 EM 1 CC 2 EM 1 BC 3 EM 1 SU 1”
Set EM#1 using TO#1, CC#2, BCC #3,
Subj #1
AT+CSTRSET=0,3,”EM 1 SN
PIN_1_HIGH_IP_STATUS:_%IP”
CS3: send out email with setting using
EM#1with add’l content “PIN_1…”
AT+CSTR=”IP 1 DR 0 IP 1 TH 5 IP 1 TR 3”
Set Input#1 low-to-high, 50mS threshold,
trigger CS3
24.10 Command String programming example 3
Analogue Input signal counting and triggering
T o set if AI #1 value exceed 1V and last for 2 seconds, send an email with config set with
EM#1
Services used: SM #1, AI #1
AT Cmd/Cmd String to be entered
Explanation
AT+CSTRSET=0,2,”SM 1 SN AI_1_over_1000mV
CS2 : send SMS to phone #1 with content
“AI_1_over_1000mV
AT+CSTR=”AI 1 TP 1 AI 1 HL 1000 AI 1 TH 2 AI 1 TR 2”
Set AI#1 exceed HL trigger, HL=1000mV,
50mS threshold, trigger CS2