BlackKite, Vehicle Tracking System User Manual
Rev. 1.4.0
Zilogic Systems
Page 33
If the
<mode>
argument is not specified then the current mode is returned as response.
Reboot.
The device can be rebooted using the following command.
Command
REBOOT
Response
OK: REBOOT
Link Status.
The device network connectivity status can be queried using the following com-
mand.
Command
LINKSTAT
Response
OK: GPRS: <gprs> SERVER: <server>
The field definitions are listed below.
gprs
1
indicates GPRS connected,
0
indicates GPRS disconnected
server
1
indicates connected to server,
0
indicates disconnected from server
Firmware Upgrade.
The device firmware can be upgraded using the following command.
Command
UPGRADE <filename>
Response
`OK: Upgrade request received."
The detailed upgrade procedure is provided in Chapter 8,
Firmware Upgrade
.
7.3. SOS Commands
The SOS commands and their meanings are listed below. These commands require admin privi-
leges. These commands are available only in main application mode (
MAIN
).
SOS Reset.
When the SOS button is triggered, the SOS flag is set in messages sent to the server.
The following command is used to clear the SOS flag.
Command
SOSRESET
Response
OK: SOS turned off
7.4. Location and IO Commands
The location and IO commands and their meanings are listed below. These commands do not
require admin privileges. These commands are available only in main application mode (
MAIN
).
Location.
The vehicle location and status can be obtained using the following command.
Command
STATUS
Response
OK: LOC: <l>, SPD: <s>, DIR: <d>, IGN: <i>, BATT: <b>.
The field definitions are listed below.
l
Link to Google maps, indicating current location of the vehicle.
s
Speed of the device in kmph.
d
Direction is one of
N
,
E
,
W
,
S
,
NE
,
NW
,
SE
,
SW
.
i
State of ignition
On
or
Off
b
State of vehicle battery,
On
indicates connected,
Off
indicates disconnected.
Set Digital Output.
The digital outputs can be set using the following command.
Command
IOSET <id> <state>
Response
OK: DO <id>: <state>