User manual

Confidential, the whole present document is the sole property of Maestro Wireless Solution Ltd.
70
Example: Send a message “ALERT” to phone number store in SIM phonebook #1:
SM 1 SN ALERT
Example: Send a message “Counter#2_value_is_20" to phone number store in SIM phonebook #1:
SM 1 SN Counter#2_value_is_%CT2
20.5.2 Using “variable” options within SMS content
In the SMS content field you can use “%” and Service type to insert the current value of Service into the SMS content:
Variable
%CTn
%TMn
%IP
%AI
Description
Current
value of
counter
Id#n
Current
value of
Timer Id#n
Current I/P
Ports
summing
value
Current AI
Ports
values
Range of ‘n’
1 to 5
1 to 10
0 to 1
in mV
Invalid Service name or Id will be ignored.
Note:
1. Due to modem/SIM initialization it is recommended to send SMS 30 seconds after power up.
2. Only send SMS with “normal” characters. If SMS content has character with ASCII value outside the range between
11 and 127, the SMS may not be sent properly.
3. In case of sending SMS failure (e.g. network problem) the program will delay 0.5 second and try to resend the SMS.
If the second time retry (i.e. 3 times total) fails this SMS delivery will be aborted.
4.
The maximum length of the SMS content is limited by the maximum length of Command String (128 bytes). The more
of Command Strings, the less of SMS length
.
20.6 Email Sending Service
This service is used to send out an Email to one or more email saved address, with saved email subject and saved plus
variable email content. Please read Chapter 10 for entering email address, subject and body. Up to 10 set of groups
(service type EM, id 1 to 10) can be set with different combinations of "elements" : recipient(to,cc,bcc), subject and body.
20.6.1 Email Sending Service Command String Syntax and explanation
1
st
field
Service
type
2
nd
field
Service id
3
rd
field
Operation
type
4
th
field
Operation
argument
Explanation
EM
(1 to 10)
TO
(0-50)
Id of recipient email address (see
Chapter 10.2.2)
0 : no receipient
CC
(0-50)
Id of “cc” recipient email address
(see Chapter 10.2.2)
0 : no cc receipient
BC
(0-50)
Id of “bcc”ecipient email address
(see Chapter 10.2.2)
0 : no bcc receipient
SU
(0-10)
Id of email subject (see Chapter
10.2.3)
0 : no subject
BD
(0-3)
Id of email body (see Chapter
10.2.4)
0 : no body