User manual

GSM modem protocol for pCO
2
Carel code +030220330 Rel. 2.0 del 30/10/02
24
6. SENDING SMS ALARM MESSAGES
The pCO
2
application programs that manage the new protocol, now allow selected alarm variables to be associated to the
sending of SMS messages, for example, signalling the alarm type.
The selection of the alarm variables, of the associated message and of the recipient’s telephone number is defined by the
application program.
The recipient’s number can be expressed using internal variables managed by the application program or entered in the
message to be sent. In this case, each SMS alarm can also be sent to several recipients.
EXAMPLE.
The following is an example of how an application program that manages the GSM modem can define an alarm message with
the recipient’s number entered in the message to be sent (enclosed by two # symbols).
+5553475734657# Severe Alarm: High Temperature on the first uchiller unit! To reset
send the following message: .pCO2.0001.D.010.000000& (without spaces)
6.1 Message sent outcome
The message sent may have the following outcomes:
1.
If the modem does not answer correctly
to the initial SMS send request in text format, the pCO
2
holds the message, re-
initializes the modem and attempts to send the message again after 18 seconds from the end of the initialization.
2.
If the modem accepts the send request,
the message is sent and deleted from the pCO
2
memory.
If the Service Centre has not received the message or any other error occurs, the pCO
2
in any case deletes the message
and signals an error, which will be managed by the application program
If, during the sending process, an incoming remote call is accepted, before having received the outcome from the Service
Centre, the pCO
2
resumes the sending of the SMS message at the end of the connection to the supervisor.
6.2 Character set
The complete set of alphanumeric characters that can be used to create the SMS alarm messages to be sent is listed below:
SP¹ ! " # % & ' ( ) * + , - . / 0 1 2 3 4 5 6
7 8 9 : ; < = > ? A B C D E F G H I J K L M
N O P Q R S T U V W X Y Z a b c d e f g h i
j k l m n o p q r s t u v w x y z
(¹) : SP = space.