Execution of commands according to the geographical position
U
SER
G
UIDE
315
E
XECUTION OF COMMANDS ACCORDING TO THE
GEOGRAPHICAL POSITION
In some models it is available the Command Position Scheduler service. It allows to configure some
commands to execute when the router is in specific geographical positions. This function is
particularly useful when the router is used on vehicles in motion.
Positioning data are received by an external source in NMEA format.
The configuration includes:
the definition of georeferencing source
the definition of:
a geographic area
a list of commands to execute when the router enters in that area
a list of commands to execute when the routes goes out from that area
The area is represented by a circle having as center a couple of terrestrial coordinates, latitude and
longitude and a specified range.
Coordinates are expressed by specifying latitude and longitude in GGA format, according to NMEA
specifications:
latitude: ddmm.nnnnnN/S
longitude: dddmm.nnnnnE/W
where dd= degrees, mm= minutes and .mmmmm= a tenth of minute
A maximum of
63
geographical areas can be configured, called
area0
,
area1
, …
area63
.
The
area0
is used when the router doesn‟t receive NMEA data in the preset time interval, when the
router receives again the coordinates, the
area0
is changed to the
areaX
that refers to the received
data.
The configuration commands are:
set cps on|off
activates and deactivates the Command Scheduler Position service
set cps nmea-source <source>
defines the georeferencing
source
. In the current release the commands are:
set cps nmea-source multicast <mcaddr> port <prtno> interface <intf>
is used to set the multicast flow as the receiver of the data on the specified interface.
set cps area N latitude <val> longitude <val> radius <val>
configures the center and the radius of the geographical area to which the commands to be execute
will be associated. Latitude and longitude are NMEA coordinates, while the radius is express in
meters.
set cps area N description <description-area>
Associates a description to the specified area.