EXAMPLE 1

Send as SMS any text received from the COM port.

Similarly, we forward the content of all SMS messages received from users belonging to a specific group to the COM port.

It could be a way to communicate with a device connected to the COM port using SMS messages.


COM INCOMING STRING FROM CLOSED CONSOLE

$D15>080000 CURRENT TIME > 080000

$D15<180000 CURRENT TIME < 180000




AT+SMS=+391234,"$D19"





trigger event is receiving a text string from the console.

The first condition is that the current time is after 08:00:00.

The second condition is that the current time is earlier than 18:00:00.

The first action contains the command that sends an SMS message to the number +391234 using the string received from the console as text. 


SME SMS FROM USER

$N25=admin LAST SMS SENDER GROUP = admin





AT#COM=$N24





trigger event is the receipt of an SMS from an active user.

The first condition is that the last SMS received comes from a user belonging to the admin group

The first action contains the command that sends to the COM port the content of parameter N24 which is the text of the last SMS received.