EXAMPLE

When the maximum temperature recorded by the internal sensor during the measurement period exceeds a critical threshold, the device automatically initiates an outgoing phone call to a supervisor or maintenance number. Once the recipient answers, the system plays a pre-recorded emergency audio file stored in P unit to verbally communicate the over-temperature condition.


A6 TEMPERATURE

$A64}50 TEMPERATURE HIGHEST } 50





AT+CALL=+391234,alarm.wav,8





trigger event is the end of the internal temperature measurement period.

The first condition to check is that the maximum internal temperature reached during the measurement period is higher than 50°C. We use the threshold operator  }  because we want this condition to occur only the first time and not every time the voltage is lower than the set value, as would happen using the comparison operator >.

The first action contains the command that makes a call to the number +391234 by playing the alarm.wav audio file 8 times.
Phone calls are queued to be made as soon as the resource is available, so they may be delayed from when the rule is triggered if other phone calls are in progress or if the cellular network is not available.