Figure 139 sms handler vcom, Table 59, Outputs produced by sms handler – Vaisala Hydromet Data Collection Platform User Manual
Page 294

User's Guide ______________________________________________________________________
292 _________________________________________________________________ M210933EN-C
When using SMS Handler to open a connection to a predefined remote
server:
1.
Add a Virtual Com port to the setup with the configuration option
Active connection with any character and set the target server
information for it from the Virtual port hosts dialog.
2.
Open SMS Handler configuration. In the Configuration items list,
select one of the following variables: conn1, conn2, or conn3.
Select the newly created VCOM as Send to target.
0906-076
Figure 139
SMS Handler VCOM
3.
When SMS-triggered connection needs to be opened, send an SMS
with the following content:
open connX
where connX is the name of the output variable associated to
VCOM in step 2. For example, to open a connection using VCOM
associated to variable conn2, send:
open conn2
SMS Handler produces the output variables shown in
. There are also additional variables visible, but they are not useful
for normal application purposes.
Table 59
Outputs Produced by SMS Handler
Variable
Content
Note
message
Content of the latest received
message.
sent_at
Timestamp of the latest received
message. The format is according to
GSM specification:
YY/MM/DD,hh:mm:ss<tz>, where
<tz> is the time zone in quarters of
an hour, preceded by a plus sign. For
example, 08/10/20,16:46:46+12.
sent_by
Originating phone number of the
latest received message.