12
www.bitrek.com.ua
[email protected]
+380 44 507 02 07
Information about current state of the device
Command to be send –
getstatus;
Example of response:
«Data Link: 1 GPRS: 1 IP: xxx.xxx.xxx.xxx GSM: 4 Roaming: 0»
, where:
Data link
– current connection status (0 – not connected to the server, 1
– connected to the server);
GPRS
– status GPRS (0 – not active, 1 – active);
IP
– IP address of the device. With an active GPRS connection it is
assigned by the operator (not to be confused with the IP address of the
server);
GSM
– level of GSM signal (1 – minimum, 5 – maximum);
Roaming
– SIM-card in roaming (0 – home network, 1 – roaming).
Current GPS coordinates and time of device.
Command to be send –
getgps;
Example of response:
“GPS: 1 Sat: 7 Lat: 50.2345 Long: 30.1652 Alt: 123 Speed: 0, Dir: 77
Date: 2018/4/15 Time: 14:37:32”
, where:
GPS
–
status
of
GPS
data
(1–
valid,
0
–
invalid);
Sat
– number of satellites visible for the device;
Lat
– latitude (last known latitude);
Long
– longitude (last known longitude);
Alt
– altitude, height above sea level;
Speed
– speed (km/hour);
Dir
– direction of motion (degrees);
Date
– current date (1980/1/6 is transmitted in the absence of GPS-
signal);
Time
– current GMT time (in the absence of a GPS signal there is
transmitted 00:00:00).
Request of device coordinates.
Command to be send –
getmap;
Example of response:
«www.biakom.com/maps/q=50.420209,30.428448,12,0»
Request of the version of the device software
Command to be send –
getver;
Example of response:
«BI-530P Ver: 0.0.7»
Read the values of the device’s sensors.
Command to be send –
getio;
Example of response: