0% found this document useful (0 votes)
122 views

Fifotrack Command List V1.1

Fifotrack command list

Uploaded by

anonymous person
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
122 views

Fifotrack Command List V1.1

Fifotrack command list

Uploaded by

anonymous person
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 24

FIFOTRACK COMMAND LIST V1.

FIFOTRACK COMMAND LIST

V1.1

Copyright @fifotrack 2015 All Rights Reserved


FIFOTRACK COMMAND LIST V1.1

Contents
DOCUMENT HISTORY....................................................................................................................... 4

GPRS COMMAND FORMAT .............................................................................................................. 5

SMS COMMAND FORMAT................................................................................................................ 6

SERIAL PORT (COM) COMMAND FORMAT ........................................................................................ 7

COMMAND WRITING SPECIFICATION ............................................................................................... 8

1 B – SETTING COMMAND ............................................................................................................... 9

B00 – SETTING GPRS PARAMETERS ............................................................................................................. 9


B01 – SETTING GPRS APN PARAMETERS ...................................................................................................... 9

B02 – SETTING GPRS LINK PROTOCOL .......................................................................................................... 9


B03 – SETTING TRACKING TIME INTERVAL .................................................................................................... 10
B04 – SETTING ROAMING TRACKING TIME INTERVAL ...................................................................................... 10

B05 – SETTING DISTANCE TRACKING INTERVAL .............................................................................................. 11


B06 – SETTING MILEAGE NOTICE ............................................................................................................... 11
B07 – SETTING THE DIRECTION CHANGE UPLOAD ........................................................................................... 12

B08 – SETTING SPEEDING ALARM ............................................................................................................... 12


B10 – SETTING SMS PASSWORD................................................................................................................ 12
B11 – SETTING SOS NUMBER ................................................................................................................... 13
B12 – OUTPUT CONTROL ......................................................................................................................... 13
B13 – PULSE OUTPUT CONTROL ................................................................................................................. 14
B14 – SETTING SMS TIME ZONE ................................................................................................................ 14
B15 –SETTING SLEEP MODE ...................................................................................................................... 14
B16 –SETTING INITIAL MILEAGE AND INITIAL RUNTIME ................................................................................... 15
B17 –CLEAR BLIND DATA .......................................................................................................................... 15
B18 –SETTING IN-PORT WORKING MODE ..................................................................................................... 16
B19 –SETTING CIRCLE GEO-FENCE .............................................................................................................. 16
B21 –SETTING FATIGUE DRIVING ................................................................................................................ 17
B22 –SETTING MAXIMUM PARKING TIME ..................................................................................................... 17
B23 –SETTING ALARM ACTION .................................................................................................................. 17
B26 –SETTING ALARM SMS HEAD STRING ................................................................................................... 18
B27 –SETTING PARAMETERS OF HARSH ACCELERATION ALARM ......................................................................... 18

Copyright @fifotrack 2015 All Rights Reserved


FIFOTRACK COMMAND LIST V1.1

B28 –SETTING PARAMETERS OF HARSH BRAKING ALARM ................................................................................. 19


B31 –SETTING SOS NUMBER ATTRIBUTE ..................................................................................................... 19
B33 –SETTING MAXIMUM IDLE TIME........................................................................................................... 20
B90 –RESET TERMINAL OR MODULE ........................................................................................................... 20
B91–SETTING PARAMETERS TO DEFAULT ...................................................................................................... 21
B94–TURN ON/OFF LED DISPLAY .............................................................................................................. 21

2 C – QUERY COMMAND................................................................................................................ 22

C01–RETRIEVE POSITION INFORMATION ...................................................................................................... 22


C02 – RETRIEVE FIRMWARE/HARDWARE VERSION, SN, IMEI .......................................................................... 22
C03 – RETRIEVE SUPPLY POWER STATUS ....................................................................................................... 23
C04 – RETRIEVE PARAMETER SETTING ......................................................................................................... 23

APPENDIX A - ALARM CODE AND SMS HEAD STRING ..................................................................... 24

Copyright @fifotrack 2015 All Rights Reserved


FIFOTRACK COMMAND LIST V1.1

Document History
Version Revision Date Author Detail
V1.1 Sep 1, 2015 Vito.Hu Initial Version

Copyright @fifotrack 2015 All Rights Reserved


FIFOTRACK COMMAND LIST V1.1

GPRS Command Format

GPRS uplink (i.e.: Data is sent from terminal to platform) command format:
$$<pack-len>,<ID>,<work-no>,<cmd-code>,<cmd-para>*<checksum>\r\n

GPRS downlink (i.e.: Data is sent form platform to terminal) command format:
##<pack-len>,<ID>,<work-no>,<cmd-code>,<cmd-para>*<checksum>\r\n
Remarks:

 Comma (,) is used to separate data field, and it is necessary. There is no space before or after
comma.
 pack-len: Package Length, decimal string format, the field of pack-len is
{,<ID>,<work-no>,<cmd-code>,<cmd-para>}, be careful, comma(,) in front of ID included.
 ID: Terminal ID, default IMEI.
 work-no: working number, hexadecimal string format, cyclic accumulation from 1 to 0xFFFF.
 cmd-code: Command code, or specification of data type.
 cmd-para: parameter or description of cmd-code, which is described in the following
chapters.
 checksum: checksum of package, 2 bytes hexadecimal string format, XOR of
{<pack-len>,<ID>,<work-no>,<cmd-code>,<cmd-para>}.
 \r\n: End of package, i.e. <CR><LF>.
 Without specification, multi-byte binary data in cmd-para uses little endian format, i.e. Least
Significant Byte first.

Copyright @fifotrack 2015 All Rights Reserved


FIFOTRACK COMMAND LIST V1.1

SMS Command Format


Sending SMS (from mobile to terminal) command format:
<password>,<cmd-code>,<cmd-para>

Reply SMS (from terminal to mobile) data format:


<cmd-code>,<proc-result>
01 password: SMS password, 6 digits, default “000000”.
02 cmd-code: command code, the same as cmd-code filed in GPRS command.
03 cmd-para: command parameter, the same as cmd-para filed in GPRS command.
04 proc-result: command process result
OK – Succeed.
05 SMS command with invalid password, or with incorrect format, no reply will be sent.

Copyright @fifotrack 2015 All Rights Reserved


FIFOTRACK COMMAND LIST V1.1

Serial port (COM) Command Format


Setting command format:
#<cmd-code>,<cmd-para><CR><LF>
Reply data format
#<cmd-code>,<proc-result><CR><LF>
cmd-code, cmd-para: the same as corresponding filed of GPRS/SMS command.
proc-result: SMS command processing result
OK – Succeed.
UNSUPPORT – Command not supported.
FAILED –Processing failed.

Parameter query command format:


#C04,<cmd-code>,<query-para><CR><LF>
Reply of query command:
#<cmd-code>,<cmd-para><CR><LF>
cmd-code, cmd-para, proc-result: the same as corresponding filed of GPRS/SMS command.
query-para: query parameter, refer to command description for detail.

Copyright @fifotrack 2015 All Rights Reserved


FIFOTRACK COMMAND LIST V1.1

Command writing specification


 Comma (,) is used to separate multi-filed, there is no space before or after comma.
 For command with multi parameters, filed(s) can be empty, the corresponding parameter is
set to invalid.
 The following chapters describe cmd-code and cmd-para.
 The “Retrieve” row in the following chapters describes the corresponding query command.

Copyright @fifotrack 2015 All Rights Reserved


FIFOTRACK COMMAND LIST V1.1

1 B – Setting command
B00 – Setting GPRS parameters
Source GPRS/COM/SMS
Description B00,<svr_type>,<net_addr>,<net_port>
01 svr_type: server selection, 1--main server, 2--backup server; When the connection to
main server cannot be reached, terminal will automatically connect to the backup
server.
02 net_addr: server IP or domain.
03 net_port: server port.
Reply B00,<err_code>
01 err_code: error code.
OK – Succeed.
UNSUPPORT – Command not supported.
FAILED –Processing failed.
Example B00,1,119.45.5.104,8600
01 Set main server: IP-119.45.5.104, port-8600.
Retrieve C04,B00,<svr_type>
01 svr_type: server selection, the same as svr_type field in setting command.

B01 – Setting GPRS APN parameters


Source GPRS/COM/SMS
Description B01,<apn_name>,<apn_usr>,<apn_pwd>
01 apn_name: APN name.
02 apn_usr: APN user name.
03 apn_pwd: APN password.
04 Leave apn_usr, apn_pwd field empty, if no APN username or APN password.
05 Contact local ISP for APN detail.
Reply B01,<err_code>
01 err_code: error code.
OK – Succeed.
UNSUPPORT – Command not supported.
FAILED –Processing failed.
Example B01,cmnet
01 Set APN name to “cmnet”, APN login username and password empty.
Retrieve C04,B01

B02 – Setting GPRS link protocol


Source GPRS/COM/SMS

Copyright @fifotrack 2015 All Rights Reserved


FIFOTRACK COMMAND LIST V1.1

Description B02,<link_type>
01 link_type: Link protocol, value TCP or UDP.
02 default TCP protocol.
Reply B02,<err_code>
01 err_code: error code.
OK – Succeed.
UNSUPPORT – Command not supported.
FAILED –Processing failed.
Example B02,TCP
01 Set link protocol to TCP.
Retrieve C04,B02

B03 – Setting tracking time interval


Source GPRS/COM/SMS
Description B03,<basic_tmr>,<accoff_tmr>,<parking_tmr>
01 basic_tme: normal time interval, unit s.
02 accoff_tmr: time interval when ACC OFF, unit s, default 0s.
03 parking_tmr: time interval when parking, unit s, default 0s.
04 When ACC is connected, terminal uses accoff_tmr priority, parking_tmr is ignored.
Reply B03,<err_code>
01 err_code: error code.
OK – Succeed.
UNSUPPORT – Command not supported.
FAILED –Processing failed.
Example B03,10
01 Set timing tracking interval to 10s, terminal uploads position data every 10s.

B03,10,100,200
01 Set tracking interval to 10s for normal status, 100s for ACC OFF status, 200s for
parking status. Terminal uploads data every 10s while ACC ON, and every 100s while ACC
OFF, parameter 200 (parking interval) is ignored.
Retrieve C04,B03

B04 – Setting roaming tracking time interval


Source GPRS/COM/SMS
Description B04,<roam_tmr>
01 roam_tmr: roaming time interval, unit s, default 0s.
02 When both B03 and B04 are set, terminal uses basic_tmr and roam_tmr for data
uploading under different network condition, accoff_tmr and parking_tmr are
ignored.
Reply B04,<err_code>

Copyright @fifotrack 2015 All Rights Reserved


FIFOTRACK COMMAND LIST V1.1

01 err_code: error code.


OK – Succeed.
UNSUPPORT – Command not supported.
FAILED –Processing failed.
Example B04,3600
01 Set timing tracking interval to 3600s while roaming.
Retrieve C04,B04

B05 – Setting distance tracking interval


Source GPRS/COM/SMS
Description B05,<basic_dst>
01 basic_dst: Distance tracking interval, unit meter.
02 Distance Tracking is independent from timing.
Reply B05,<err_code>
01 err_code: error code.
OK – Succeed.
UNSUPPORT – Command not supported.
FAILED –Processing failed.
Example B05,100
01 Set distance tracking to 100m.
Retrieve C04,B05

B06 – Setting Mileage Notice


Source GPRS/COM/SMS
Description B06,<step_dst>,<init_dst>
01 step_mile: mileage threshold, unit meter.
02 init_dst: reference mileage, unit meter.
03 After the total mileage exceeds init_dst, terminal will send the mileage notice
(alm-code 19, refer to Appendix-A) every step_mile meters.
Reply B06,<err_code>
01 err_code: error code.
OK – Succeed.
UNSUPPORT – Command not supported.
FAILED –Processing failed.
Example B06,10000,20000
01 Terminal sends mileage notice every 10000m, after total mileage exceeds 20000m.
Retrieve C04,B05

Copyright @fifotrack 2015 All Rights Reserved


FIFOTRACK COMMAND LIST V1.1

B07 – Setting the direction change upload


Source GPRS/COM/SMS
Description B07,<course>
01 course: direction change angle, true north is 0o, clockwise angle, unit degree, range
1--359, default 30.
02 When course is set to 0, direction change upload is disabled.
03 When direction change over the set value, terminal will upload a position data for
supplement.
Reply B07,<err_code>
01 err_code: error code.
OK – Succeed.
UNSUPPORT – Command not supported.
FAILED –Processing failed.
Example B07,30
01 Set direction change angle to 30o.
Retrieve C04,B07

B08 – Setting speeding alarm


Source GPRS/COM/SMS
Description B08,<speeding>
01 speeding: speed, unit km/h, range 0--300, default 0.
02 When parameter is set to 0, speeding alarm is disabled.
Reply B08,<err_code>
01 err_code: error code.
OK – Succeed.
UNSUPPORT – Command not supported.
FAILED –Processing failed.
Example B08,90
01 Set speed limit to 90km/h.
Retrieve C04,B08

B10 – Setting SMS password


Source GPRS/COM/SMS
Description B10,<sms_pwd>
01 sms_pwd: SMS password, 6 digits, default “000000”.
Reply B10,<err_code>
01 err_code: error code.
OK – Succeed.
UNSUPPORT – Command not supported.
FAILED –Processing failed.

Copyright @fifotrack 2015 All Rights Reserved


FIFOTRACK COMMAND LIST V1.1

Example B10,472627
01 Set SMS password to “472627”.

B10,47262A
01 Invalid command, because SMS password needs to be a 6 digits string.
Retrieve C04,B10

B11 – Setting SOS number


Source GPRS/COM/SMS
Description B11,<sos_num1>,<sos_num2>,<sos_num3>
01 sos_num1, 2, 3: SOS numbers to be set; 3 numbers can be set at most.
02 Refer to B23 for the function of SOS number(s).
Reply B11,<err_code>
01 err_code: error code.
OK – Succeed.
UNSUPPORT – Command not supported.
FAILED –Processing failed.
Example B11,15698210011,,15698210200
01 Set sos_num1 to 15698210011, sos_num2 to empty, sos_num3 to 15698210200.
Retrieve C04,B11

B12 – Output control


Source GPRS/COM/SMS
Description B12,<index>,<action>,<safe_speed>
01 index: out port selection, value 1, 2, 3… etc..
02 action: Output control, 0--output low level, 1—output high level.
03 safe_speed: speed limit, unit km/h, range 1—300; when this parameter is set to 0, or
this filed is empty, output control takes effect immediately; Other value, set the
speed limit for output control. When the driving speed is lower than the speed limit,
the output control takes effect.
Reply B12,<err_code>
01 err_code: error code.
OK – Succeed.
UNSUPPORT – Command not supported.
FAILED –Processing failed.
Example B12,1,1,20
01 Set out-1 to output high level when speed less than 20km/h.
Retrieve UNSUPPORT

Copyright @fifotrack 2015 All Rights Reserved


FIFOTRACK COMMAND LIST V1.1

B13 – Pulse output control


Source GPRS/COM/SMS
Description B13,<index>,<on_time>,<off_time>,<pls_cnt>
01 index: out port specification, value 1, 2, 3… etc..
02 on_time: Duration of high level, unit ms.
03 off_time: Duration of low level, unit ms.
04 pls_cnt: Pulse number.
Reply B13,<err_code>
01 err_code: error code.
OK – Succeed.
UNSUPPORT – Command not supported.
FAILED –Processing failed.
Example B13,1,1000,1000,10
01 Set out-1 to output 10 pulse, whose high level duration 1000ms, low level duration
1000ms.
Retrieve UNSUPPORT

B14 – Setting SMS time zone


Source GPRS/COM/SMS
Description B14,<tzone>
01 tzone: time zone, range [-12, 12].
02 Default value of tzone is 0.
03 When SMS time zone is set, all tracking/alarm SMS use new tzone for date & time.
04 GPRS data uploading uses UTC-0 time zone.
Reply B14,<err_code>
01 err_code: error code.
OK – Succeed.
UNSUPPORT – Command not supported.
FAILED –Processing failed.
Example B14,-8
01 Set SMS time zone to UTC/GMT-08:00.
Retrieve C04,B14

B15 –Setting sleep mode


Source GPRS/COM/SMS
Description B15,<slp_mode>,<slp_wait_tmr>
01 slp_mode: sleep mode, 0—sleep is disabled, 1--normal sleep, 2--deep sleep.
02 slp_wait_tmr: waiting time to sleep mode, unit s, default 300s.
03 Normal sleep: turn off all the power except GSM module, terminal will be waked up
by IO trigger, moving, incoming phone-call or SMS.

Copyright @fifotrack 2015 All Rights Reserved


FIFOTRACK COMMAND LIST V1.1

04 Deep sleep: turn off all the power supply, only wake up by IO trigger or moving.
Reply B15,<err_code>
01 err_code: error code.
OK – Succeed.
UNSUPPORT – Command not supported.
FAILED –Processing failed.
Example B15,1
01 Enable normal sleep mode, and waiting time to sleep mode is the default 300s.
Retrieve C04,B15

B16 –Setting initial mileage and initial runtime


Source GPRS/COM/SMS
Description B16,<init_mile>,<init_runtime>
01 init_mile: initial mileage, unit meter, default 0m.
02 init_runtime: initial runtime, unit s, default 0s.
Reply B16,<err_code>
01 err_code: error code.
OK – Succeed.
UNSUPPORT – Command not supported.
FAILED –Processing failed.
Example B16
01 Set both initial mileage and runtime to 0
Retrieve C04,B16
01 The retrieved value is current mileage and current runtime, not the setting ones.

B17 –Clear blind data


Source GPRS/COM/SMS
Description B17,<data_type>
01 data_type: blind data type.
1 – GPRS blind.
2 – SMS blind.
3 – Both GPRS and SMS blind.
Reply B17,<err_code>
01 err_code: error code.
OK – Succeed.
UNSUPPORT – Command not supported.
FAILED –Processing failed.
Example B17,3
01 Clear both GPRS and SMS blind data.
Retrieve UNSUPPORT

Copyright @fifotrack 2015 All Rights Reserved


FIFOTRACK COMMAND LIST V1.1

B18 –Setting in-port working mode


Source GPRS/COM/SMS
Description B18,<input>,<valid_mode>
01 input: in-port selection, 1--input1, 2--input2, etc..
02 valid_mode: valid trigger mode, 0--low level valid, 1--high level valid.
Reply B18,<err_code>
01 err_code: error code.
OK – Succeed.
UNSUPPORT – Command not supported.
FAILED –Processing failed.
Example B18,3,1
01 Set IN3 to high level valid mode.
Retrieve C04,B18,<input>
01 input: in-port selection, the same as input field in setting command.

B19 –Setting circle geo-fence


Source GPRS/COM/SMS
Description B19,<index>,<flag>,<radium>,<lat>,<lon>
01 index: fence index, value 1—8, i.e.: 8 geo-fence can be set at most.
02 flag: alarm flag
flag=1: Trigger alarm when exit fence.
flag=2: Trigger alarm when enter fence.
flag=3: Trigger alarm both enter and exit fence.
03 radium: radium of circle geo-fence, unit meter.
04 lat: latitude of center point, decimal string format, unit degree.
05 lon: longitude of center point, decimal string format, unit degree.
06 When lat and lon are empty, current latitude and longitude is used, while GPS valid
signal is needed.
07 When flag, radium, lat, lon are empty, delete geo-fence specified by index; When
index=0 or empty, delete all.
Reply B19,<err_code>
01 err_code: error code.
OK – Succeed.
UNSUPPORT – Command not supported.
FAILED –Processing failed.
Example B19,1,3,200
01 Set the first circle geo-fence, centre point: current location, radium: 200m, generate
alarm both enter and exit fence.
Retrieve C04,B19,<index>
01 index: fence index, value 1—8, the same as index field in setting command.

Copyright @fifotrack 2015 All Rights Reserved


FIFOTRACK COMMAND LIST V1.1

B21 –Setting fatigue driving


Source GPRS/COM/SMS
Description B21,<drowsy_time>,<rest_time>
01 drowsy_time: Fatigue driving time, unit s, default 14400s.
02 rest_time: Minimum rest time after fatigue driving, unit s, default 1200s.
03 When drowsy_time is set to 0, fatigue driving alarm is disabled.
04 The field rest_time can be empty, while the default value is used.
05 When drowsy_time and rest_time are empty, both values are set to default.
Reply B21,<err_code>
01 err_code: error code.
OK – Succeed.
UNSUPPORT – Command not supported.
FAILED –Processing failed.
Example B21
01 Set fatigue driving time to the default value 14400s, and minimum rest time to the
default value 1200s.
Retrieve C04,B21

B22 –Setting maximum parking time


Source GPRS/COM/SMS
Description B22,<time>
01 time: Maximum parking time, unit s, default 0s, i.e. parking overtime alarm is
disabled.
02 When parking time exceeds preset value, a parking overtime alarm triggered.
Reply B22,<err_code>
01 err_code: error code.
OK – Succeed.
UNSUPPORT – Command not supported.
FAILED –Processing failed.
Example B22,1200
01 Set maximum parking time to 1200s.
Retrieve C04,B22

B23 –Setting alarm action


Source GPRS/COM/SMS
Description B23,<alm-code>,<GPRS><SMS><two-way-call><monitor-call>
01 alm-code: Alarm type, refer to Appendix –A.
02 GPRS: Disable/enable GPRS uploading.
03 SMS: Disable/enable SMS to SOS number, refer to C01 for SMS format.

Copyright @fifotrack 2015 All Rights Reserved


FIFOTRACK COMMAND LIST V1.1

04 two-way-call: Disable/enable SOS number dialing under two-way conversation.


05 monitor-call: Disable/enable SOS number dialing under monitor mode.
06 When both two-way-call and monitor-call are set, monitor-call is valid, while
two-way-call ignored.
09 two-way-call or monitor-call is valid when SOS number set.
Reply B23,<err_code>
01 err_code: error code.
OK – Succeed.
UNSUPPORT – Command not supported.
FAILED –Processing failed.
Example B23,2,1101
01 Set action when SOS triggered:
a Sending GPRS alarm data to platform.
b Sending alarm SMS with C01 format to SOS number.
c Dial SOS numbers under monitor mode.
Retrieve C04,B23,<alm-code>
01 alm-code: Alarm type, refer to Appendix –A. The same as alm-code field in setting
command.

B26 –Setting alarm SMS head string


Source GPRS/COM/SMS
Description B26,<alm-code>,<sms_string>
01 alm-code: Alarm type, refer to Appendix –A.
02 sms_string: SMS head string, 16 bytes length at most.
03 Refer to Appendix-A for default string.
Reply B26,<err_code>
01 err_code: error code.
OK – Succeed.
UNSUPPORT – Command not supported.
FAILED –Processing failed.
Example B26,2,HELP
01 Set SMS head string of SOS to “HELP”.
Retrieve C04,B26,<alm-code>
01 alm-code: Alarm type, refer to Appendix –A. The same as alm-code field in setting
command.

B27 –Setting parameters of harsh acceleration alarm


Source GPRS/COM/SMS
Description B27,<speed_var>,<time_lmt>
01 speed_var: maximum acceleration speed, unit km/h, default 0.
02 time_lmt: harsh acceleration detection time, unit s, default 0.

Copyright @fifotrack 2015 All Rights Reserved


FIFOTRACK COMMAND LIST V1.1

Reply B27,<err_code>
01 err_code: error code.
OK – Succeed.
UNSUPPORT – Command not supported.
FAILED –Processing failed.
Example B27,40,2
01 Set harsh acceleration parameters: 40km/h speed variation within 2s.
Retrieve C04,B27

B28 –Setting parameters of harsh braking alarm


Source GPRS/COM/SMS
Description B28,<speed_var>,<time_lmt>
01 speed_var: maximum decrease speed, unit km/h, default 0.
02 time_lmt: harsh braking detection time, unit s, default 0.
03 When driving speed decrease beyond speed_var, terminal triggers harsh braking
alarm.
Reply B28,<err_code>
01 err_code: error code.
OK – Succeed.
UNSUPPORT – Command not supported.
FAILED –Processing failed.
Example B28,50,2
01 Set harsh braking parameters: 50km/h speed variation within 2s.
Retrieve C04,B28

B31 –Setting SOS number attribute


Source GPRS/COM/SMS
Description B31,<sos-num>,<two-way-call>,<monitor>,<pos-sms>
01 Set SOS number attribute, refer to B11 command for SOS number setting.
02 sos-num: SOS index, value 1, 2, 3, which corresponds to SOS number set by B11
command.
03 two-way-call: attribute of two-way conversation.
04 monitor: attribute of monitor-mode conversation.
05 pos-sms: attribute of position SMS.
06 Description of attribute:
two-way-call: terminal picks up incoming phone-call in two-way conversation
mode.
monitor: terminal picks up incoming phone-call in monitor mode.
pos-sms: Terminal sends position SMS after incoming phone-call ends. Refer to
C01 command for SMS format.
07 When both two-way-call and monitor are set, monitor is valid, i.e.: terminal picks up

Copyright @fifotrack 2015 All Rights Reserved


FIFOTRACK COMMAND LIST V1.1

phone-call in monitor mode.


08 When the command string has only sos-num field, default attribute is set to
corresponding SOS number.
09 Default attribute of SOS number: two-way-call and pos-sms.
Reply B31,<err_code>
01 err_code: error code.
OK – Succeed.
UNSUPPORT – Command not supported.
FAILED –Processing failed.
Example B31,1,111
01 Set attribute of the first SOS number: terminal automatically picks up incoming
phone-call under monitor mode, reply a position SMS.
Retrieve C04,B31,<sos-num>
01 sos-num: SOS index, value 1, 2, 3. The same as sos-num field in setting command.

B33 –Setting maximum idle time


Source GPRS/COM/SMS
Description B33,<idle_time>
01 idle_time: maximum idle time, unit: s, default 0s. This parameter should be greater
than 300s.
02 idle definition: ACC ON, but no speed, which means engine running under idle mode.
03 When idle mode detected, tracker starts idle time counter, and triggers Idling Alarm
(alm_code=35), if counter exceeds idle_time
Reply B33,<err_code>
01 err_code: procession error code.
OK – Succeed.
UNSUPPORT – Command not supported.
FAILED – Procession failed.
Example B33,600
01 Set maximum idle time to 600s
Retrieve C04,B33

B90 –Reset terminal or module


Source GPRS/COM/SMS
Description B90,< select >
01 select: option
=1: Reset terminal.
=2: Reset GPS module.
=3: Reset GSM module.
Reply B90,<err_code>
01 err_code: error code.

Copyright @fifotrack 2015 All Rights Reserved


FIFOTRACK COMMAND LIST V1.1

OK – Succeed.
UNSUPPORT – Command not supported.
FAILED –Processing failed.
Example B90,1
01 Reset terminal.
Retrieve UNSUPPORT

B91–Setting parameters to default


Source GPRS/COM/SMS
Description B91
01 After command is set, all system parameters (except SMS password) are set to
default.
Reply B91,<err_code>
01 err_code: error code.
OK – Succeed.
UNSUPPORT – Command not supported.
FAILED –Processing failed.
Example B91
Retrieve UNSUPPORT

B94–Turn on/off LED display


Source GPRS/COM/SMS
Description B94,<led-on>
01 led-on: 1--turn on LED, 0--turn off LED.
02 Default, led-on=1.
03 This command doesn’t control PWR-LED.
Reply B94,<err_code>
01 err_code: error code.
OK – Succeed.
UNSUPPORT – Command not supported.
FAILED –Processing failed.
Example B94
01 Set LED to default: turn on.
Retrieve C04,B94

Copyright @fifotrack 2015 All Rights Reserved


FIFOTRACK COMMAND LIST V1.1

2 C – Query Command
C01–Retrieve position information
Source COM/SMS/GPRS
Description C01
01 When command is sent via GPRS, terminal replies position data.
02 When command is sent via SMS/COM, terminal sends web-link message.
03 When alarm detected, terminal sends SMS with C01 format.
Reply Replied GPRS data is position package, refer to “FIFOTRACK GPRS Protocol” for data
format detail.

Replied SMS/COM data format:


<string_head>,yyyy-MM-dd hh:mm:ss, <spd>KM/h,<gprs_st>,<gps_fix>,EXPW:<PST>
http://maps.google.com/maps?f=q&hl=en&q=loc:<Latitude>,<Longitude>
a string_head: SMS head string, for normal position data, string_head is empty, for
alarm data, refer to Appendix-A for default string.
b yyyy-MM-dd hh:mm:ss: current date & time, which is effected by B14 command
setting.
c spd: current speed, unit km/h.
d gprs_st: GPRS link status, value: “Connected” or “Disconnected”.
e gps_fix: GPS signal status, ‘A’-fixed, ‘V’-not fixed.
f PST: Status of ext-power input, “ON” -- ext-power is connected, “OFF” -- ext-power
is disconnected.
g Latitude、Longitude: Latitude and longitude of last position point.
Example C01
Retrieve UNSUPPORT

C02 – Retrieve firmware/hardware version, SN, IMEI


Source GPRS/COM/SMS
Description C02
Reply Uploading data format:
C02,<IMEI>,<SN>,<fw_ver>,<hw_ver>
01 IMEI: IMEI of terminal.
02 SN: Serial number of terminal.
03 fw_ver: Firmware version.
04 hw_ver: Hardware version.
Example C02
Retrieve UNSUPPORT

Copyright @fifotrack 2015 All Rights Reserved


FIFOTRACK COMMAND LIST V1.1

C03 – Retrieve supply power status


Source GPRS/COM/SMS
Description C03
Reply Uploading data format:
C03,<extp_v>,<bat_v>,<bat_percentage>
01 extp_v: Voltage of ext-power, unit V. Charge supply voltage for handheld terminal.
02 bat_v: Voltage of internal battery.
03 bat_percentage: Percentage of internal battery capacity.
Example C03
Retrieve UNSUPPORT

C04 – Retrieve parameter setting


Source GPRS/COM/SMS
Description C04,<cmd-code>,<query_para>
01 cmd-code: Command code to be retrieved.
02 query_para: Query parameter, refer to chapters above for detail.
Reply C04,<cmd-code>,<cmd-para>
01 cmd-code: The same as sending command.
02 cmd-para: Retrieved parameter string, the same format as setting command
described in the above chapters.
Example Refer to chapters above.
Retrieve UNSUPPORT

Copyright @fifotrack 2015 All Rights Reserved


FIFOTRACK COMMAND LIST V1.1

Appendix A - Alarm code and SMS head string


The following table describes the relationship of alm-code and SMS head string:

alm-code Description SMS Head String


1 Distance interval tracking Distance
2 Input1 active SOS
3 Input1 inactive IN1 Inactive
4 Input2 active IN2
5 Input2 inactive IN2 Inactive
6 Input3 active IN3
7 Input3 inactive IN3 Inactive
8 Input4 active IN4
9 Input4 inactive IN4 Inactive
10 Input5 active IN5
11 Input5 inactive IN5 Inactive
12 Input6 active IN6
13 Input6 inactive In6 Inactive
14 Ext-power low Low Ext-Power
15 Ext-power lost Ext-Power Cut
16 Ext-power re-connect Ext-Power On
17 Internal battery low Low Battery
18 Speeding alarm Speeding
19 Mileage notice Mile
20 GPS antenna cut GPS Antenna Cut
21 Reserve for future NULL
22 Impact alarm Impact
23 Harsh accelerate Harsh Accelerate
24 Harsh braking Harsh Braking
25 Enter sleep Enter Sleep
26 Exit sleep Wake Up
27 Fatigue driving Fatigue Driving
28 Fatigue relieve Fatigue Relieve
29 Parking overtime Parking Overtime
30 Wireless communication jamming GSM Jamming
31 Wireless communication jam remove GSM Jam Remove
32 GPS jamming GPS Jamming
33 Exit geo-fence Exit Fence
34 Enter geo-fence Enter Fence
35 Idling Alarm Idling Alarm

Copyright @fifotrack 2015 All Rights Reserved

You might also like