EXAMPLE 1 |
||
Send an alert SMS message to all users of the police group when the device leaves the perimeter 1 identified by latitude, longitude and radius and surveillance is active (memory bit 1 used to enable / disable). |
||
|
X11 EXITING GEOFENCE 1 |
|
$M11=1 MEMORY BIT 1 STATUS = 1 |
||
|
||
|
||
|
||
|
||
AT+SMS=police,"$D01 moving: $G01 $G02 $G11" |
||
|
||
|
||
|
||
|
||
trigger event is the exit from perimeter 1. The first condition is that the memory bit 1 is in the logical state 1. The first action contains the command that sends an SMS message to all users belonging to the police group reporting the device name ($D01) followed by the text "moving", the geographic coordinates ($G01 latitude and $G02 longitude) and the direction ($G11). |