EXAMPLES 1 |
||
When the maximum temperature measured by the internal sensor exceeds the defined threshold, make a telephone call with playback of an audio message previously created and saved in the P unit. |
||
|
|
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. |