rev1 ā Dec 2013 www.digitalcomtech.com 14
Indicating that the connection to the DP has not been established yet. If this state persists,
some considerations have to be taken:
The AVL software server is not running or it is running but it is not listening for TCP
connections.
The listening port and/or address is wrong.
The server is behind a firewall/router/NAT that prevents the TCP listener from receiving
the incoming connections.
The server is accepting the connection but it is closing it immediately, or a few seconds
later.
The Syrus is behind a cellular carrier's NAT which has the selected port blocked.
The selected APN has no Internet access. Or in case of a private network, the APN has no
access to the network where the AVL server is running.
There are network related problems that prevent the unit from communicating, even if it is
GPRS attached.
When the unit has connected to the server, the XANS reply could be something like:
>RXANS1,internet.carrier-
name.com,1234,,;1,1,null,1,22,1,1,18.18.9.8,1;socket://avl.serve
r.com:2145,3, -1,,-
1,,,,0,0,0,,,,0,,,,25\;0,0,0,0,,,17;28,3,101,0,0,,5,42,
socket://avl.server.com:2145;<
Please refer to the XANS command for more information on the values returned by
this message.
Creating a Destination Address (DA)
As mentioned on the Destinations (DPs and DAs) section a Destination Address (DA) must be
created so that an event's routing option can be completed. In our example we only have to
create a DA with a single Destination Point which is the one we just created. We have no
restrictions for the DA range (0-9) so we chose DA 4 for no special reason:
>SDA4;P00<
Indicating that Destination Address 4 is the grouping of the single Destination Point 00.
Creating a time-period criterion
For this example we want the unit to send a report based on a time-only criterion which
will make the unit send a reporting message every x elapsed minutes. There are several
ways of doing this but one of the most common is to configure a Time And Distance (TD)
signal with no Maximum Time Between Reports and no Distance Threshold parameters so