MOBILE SERVICE CONNECTION: THE HELLO COMMAND
Imola can send a message which contains some useful information about the mobile session to a
remote server, so that messages can be stored.
The command is:
hello <rem-host> <rem-port>
where:
<rem-host> is the remote server IP address.
<rem-port> is the IP port value on the remote host
The message sent will have following format:
00:0d:5a:07:01:13,222017392670415,355841030174450,6 CSQ (-101 dBm), HSDPA I TIM, IMOLA@217.1.1.1
The field separator is „,‟ (comma) and the fields are:
Router MAC Address
SIM Card IMSI installed on router
Mobile module IMEI
CSQ value (6) and dBm (-101) conversion
Connected network (HSDPA) and provider (TIM)
Router Hostname@ IP address
Using the following sequence of commands, the hello message can be regularly sent:
set timer-tick 600
set trigger timer-tick hello 85.34.166.18 22000
The message is sent as a UDP packet. If destination port specified is 514 (syslog service) and the
syslog server is enabled on the remote server, data will be directly collected from this syslog
service.
DIRECT MODEM QUERY: THE GPRSAT COMMAND
The GPRSat command can directly query the mobile modem. The command gives back status
information useful for diagnostic activity. The command is:
gprsat <AT command>
that sends some instructions to the modem according to AT formalism and shows its result. The list
of available commands is contained in a distinct manual.
Generally, all commands show the OK string if the modem is working correctly and ERROR in case of
failure.
Most common command
Verify if the modem is operational:
root@IMOLA> gprsat at
at