47
8.7.2
getapn
If the device is connected to GSM and GPRS networks but does not send any data, check the APN
and connection settings with the
getapn
SMS command.
Command syntax:
password getapn
Response example:
APN: banga User: PSW: IP1: 92.62.134.38 Port1: 9021 IP2: 195.14.173.3 Port2:
9000 TCP/UDP: 0
The parameters and their values are self-explanatory, except for
TCP/UDP
.
TCP/UDP
This parameter shows which protocol is used. Possible values:
•
0
–
TCP
•
1
–
UDP
If the
getapn
response text is very long (for example, the APN, username and password are
32 symbols long each and two servers are used), it might not fit into a single message and
be cropped.
8.7.3
coords
Use the
coords
SMS command to know if the device has an accurate GNSS fix.
Command syntax:
password coords
Response example if there is no GNSS fix:
GPS is not available
Response example if there is a GNSS fix:
2019-06-20 07:01
, lat. 46.1443183, long. 11.881766,
alt. 217.5,
sat. 8,
dir. 198.10,
hdop 100
,
state 3
The relevant parameters and their values are described in the table below.
Datetime
The current date and time in GMT.
sat.
The number of visible satellites. At least 4 satellites must be visible to get
an accurate GNSS signal.
hdop
The current HDOP (signal accuracy) level. If the HDOP level is above 3.5,
the GNSS signal is inaccurate.
state
The current GNSS state. Possible values:
1
–
GNSS module off
2
–
GNSS module on, no fix
3
–
GNSS module on, fix acquired
4
–
GNSS module not responding
5
–
GNSS module is in sleep mode
6
–
GNSS module disabled