Professional Documents
Culture Documents
SP4603NS Protocol V3.34
SP4603NS Protocol V3.34
SP4603NS Protocol V3.34
V3.34
Foreword
Skypatrol LLC provides this document to describe the communication protocol format between Skypatrol LLC
vehicle terminal, mobile terminal (Cell phone), and communication control center, with the aim of providing a
basis for engineers to design a uniform control commands for specific products. The Intended audiences of this
document are Skypatrol LLC product development engineers.
In this document, vehicle terminal’s control and connection structure is descried. Data packet and command packet
formats between vehicle terminal, mobile terminal, communication commands and their scopes are clearly defined.
Privilege of different connection approaches (SMS, Cable, and GPRS/Wi-Fi) and their functions are clearly defined.
Copyright
This document is confidential, Skypatrol LLC reserves all rights to this document and the information contained
herein. Any individual or organization is strictly prohibited to reproduction, use or disclosure to the third party
without permission. Otherwise, we hold the right to investigate the legal responsibility.
Company address:
Tel: + 786-331-3300
Fax: + 786-331-3320
E-mail: support@skypatrol.com
Website: www.skypatrol.com
1
SP4603NS Protocol
Change log
Firmware Change
version
V1.01 to V1.02 1,Fix the issue that when parking and GPS from unfix to fix device dose not report.
3,Add acceleration magnitude value in event data that related to 2D accelerate meter.
4,Modify move to stop duration time to 2 seconds, stop to move duration to 3 seconds, when
testing please disable MOT,
9,All the events except over speed in ESM default changed to DISABLE.
13,Modify parking judgment algorithm, modify BMS, add duration time parameter for stop
judgment.
19,Fix duplicated "//" in ETD content via SMS and Geo-fence data bug.
2
SP4603NS Protocol
21,Fix 1WIRE main data mask is always enabled issued in HEX data string.
23,Under private hour mode only specify event reports position information.
32,Fix bug that command via serial port only works on second time.
34,Add Geo-fence data ID and data length in Geo-fence event HEX data string.
37,Add feature that GSM module reset automatically if cannot register to network within 10
minutes.
39,Modify command EOB, digital output will have different output mode according to event
status and event clearance.
3
SP4603NS Protocol
48,Fix bug that HEX data string CRC verify error and specific characters conversion.
49,Modify 1WIRE iButton data transfer mode and 1WIRE data to command ESM.
V1.03 to V1.04 1,Remove source code and macro that supports older hardware version, current f/w only
supports hardware version 1.0.2 (first time trial version) and 1.0.3.
2,When 1WIRE feature disabled, do not report 1WIRE data field in data string.
5,Fix bug that detecting wrong signal strength, problem caused by this bug is OTA feature faulty
after device running over a long time/switching GSM module frequently/execute command DFP
frequently/factory serial port testing.
8,Fix bug when command EUP does not specify digital output, any event type clearance will
according command EOB to execute digital output.
11,Increase self-test times when device initializing to avoid configuration lost that causes by
unstable power supply.
12,Add toggle sign to digital output in command IBP, iButton detecting will refer ACC status,
trigger digital input only if iButton illegal input.
2,Fix issue that after long time working device does not respond.
4
SP4603NS Protocol
4, Modify MCU sleep mode condition, not related with GSM module sleep and GPS module sleep
anymore.
6, Modify 2D acceleration sensor process, device does not go to “still” status when GPS fixed and
speed bigger than 15KM/H.
7, Add feature that verifies power supply when device is initializing, if external power less then 7V
and backup battery less than 3.5V, device will reboot itself to avoid configuration lost. (Pending)
8, Modify mileage calculation method: using fix point distance to calculate mileage.
9,Fix bug in GPS processing, if GPS module is OFF and device moving, data will be invalid.
V1.06 to V1.07 1, Add 1 meter offset to mileage calculating every 100 meters.
2, Fix bug that enable 1WIRE data report will mess-up fix time report interval.
3, Fix bug that when device powers up will report parking event.
2, Modify GPS power saving mode, “stop to move” will wake up GPS instantly.
5
SP4603NS Protocol
2, Modify command EPM, add EPM;3 mode, this mode is to set SP4603NS uses external data
source to process as GPS data.
3, Modify command UGP, add UGP;6 mode, this mode is to print real time packet on debug
windows.
4, Modify resistor for AD1 input, Geo fence scan rate changes back to 5 ones per second.
5, Modify command VER, add suffix “-T” and “-U” for indication of differ GPS module.
4, Add license request for GPRS connectivity and command CHC for license status check.
6, Modify command FWU, user name and password are not requested.
7, Fix bug that if SVP set as “O”, Fixed distance and angle do not work.
13, Modify SMS message, CSQ changes to GSM, ACIN changes to Ext_Pwr.
6
SP4603NS Protocol
4, Command SPO is able to set without enabled over speed event in command ESM.
V2.08 to V2.09 1, Optimize ADC driver to have more stable voltage measure
3, Fix bug on Tow event, and refer GPS speed for this event
9, Fix bug on setting profile switching, OTA and profile switching will no able to execute
simultaneously
7
SP4603NS Protocol
11, Add command EPT to change report interval from serial port according to ACC status
5, Optimize AGPS
V2.10 to V2.11 1, Show viewable satellites in data packet when GPS is not fixed.
4, When GPS data is not valid its data in packet will stuffing with 0.
5, Modify command IBP, output actives (low level) when ACC OFF.
11, GSM module wakes up when under moving + data transmitting request.
8
SP4603NS Protocol
V2.11 to V2.12 1, Fix bug that command GPO is not working for GSM module.
5, Fix bug unable to pickup hotline incoming call when MDT is connected.
V2.12 to V2.13 1, Fix bug about GLONASS time reset to all 0 after power on/power reset.
5, Modify SMS notification of OTA upgrade to “Same Firmware” when device current firmware
version is latest
V2.14 to V2.17 1.Add RPD command and recover the parameter except specific commands to default value;
2.Add CTF command——support to export the current configuration file to the file, and upload via
ymodem ;
3.Add YGF;6 to support to upload the last exported current configura on file;
2.Add DOR command: support DO OUT1status saving, and recover to the last status when regain
the power;
9
SP4603NS Protocol
4.Add low voltage sleeping event under the situa on with ba ery power supply;
2. Add PLM configure network command and REG1 query current network command
V3.34 1\Extended DOR command, support out2 and out3, DOR support three parameters
10
SP4603NS Protocol
CONTENTS
1. GENERAL STRUCTURE .................................................................................................................... 17
1.1 SYSTEM FRAMEWORK ........................................................................................................................................... 17
1.2 COMMUNICATION PROTOCOL FORMATION .............................................................................................................. 17
1.3 COMMAND PERMISSION ....................................................................................................................................... 17
1.4 PERMISSION LEVEL ............................................................................................................................................... 18
1.5 CONNECT TO COMPUTER ...................................................................................................................................... 18
1.5.1 Enter OEM permission ................................................................................................................................................ 18
1.5.2 Enter Admin permission .............................................................................................................................................. 18
5. COMMAND .................................................................................................................................... 76
5.1 COMMAND FORMAT ............................................................................................................................................ 76
5.1.1 Server to device command format ............................................................................................................................. 76
5.1.2 PC to device command format.................................................................................................................................... 77
5.1.3 User mobile to device command format .................................................................................................................... 77
5.1.4 Command combination(Batch command) .................................................................................................................. 78
5.2 OEM COMMAND ................................................................................................................................................ 79
5.2.1 Reset to factory default (DFP) ..................................................................................................................................... 79
5.2.2 Set OEM password (OPW)........................................................................................................................................... 79
5.2.3 Administrator command mask (ACM) ........................................................................................................................ 79
5.2.4 User command mask (UCM) ....................................................................................................................................... 80
5.2.5 Set FOTA server (OAS) ................................................................................................................................................. 80
5.2.6 Set FOTA file path (OAP) ............................................................................................................................................. 81
5.2.7 Set APN list (APL)......................................................................................................................................................... 81
5.2.8 Heartbeat packet (HBI) ............................................................................................................................................... 82
5.2.9 Map hyper link (URL)................................................................................................................................................... 82
5.2.10 USB port output mode (UGP) ................................................................................................................................. 83
5.2.11 User command white list (CEN) .............................................................................................................................. 84
5.2.12 User command black list (CDS) ............................................................................................................................... 84
5.2.13 Sub-data type mask (SDM) ..................................................................................................................................... 85
5.2.14 Offline data report mode (EFM) ............................................................................................................................. 89
5.2.15 Sub-event mask (ESM) ............................................................................................................................................ 89
5.2.16 Device reaction for the triggered event (EUP)........................................................................................................ 90
5.2.17 Set triggered event & IO parameter (EOB) ............................................................................................................. 91
5.2.18 Event combination (ERL) ......................................................................................................................................... 92
5.2.19 Report data string mask mode (ADM) .................................................................................................................... 93
5.2.20 Set output mode parameters (DOM) ..................................................................................................................... 95
5.2.21 Set AD/IN pin function mode (AIM) ........................................................................................................................ 97
5.2.22 Digital input configuration (DIM) ............................................................................................................................ 97
5.2.23 Analog input configuration (ADS) ........................................................................................................................... 99
5.2.24 Set serial port communication (EPS) .................................................................................................................... 100
5.2.25 Serial port mode configuration (EPM) .................................................................................................................. 101
5.2.26 Harsh behavior configuration (BMS) .................................................................................................................... 102
5.2.27 Accident detection configuration (AMS) .............................................................................................................. 102
12
SP4603NS Protocol
5.3.19 Fixed distance report and corner turning report (DIS) ......................................................................................... 128
5.3.20 Analog input event condition (ATH) ..................................................................................................................... 129
5.3.21 Voice functionality configuration (VOE) ............................................................................................................... 129
5.3.22 Phone number white list (PWL) ............................................................................................................................ 130
5.3.23 Query current position authorization list (QWL) .................................................................................................. 131
5.3.24 Voice monitoring authorization list (MWL) .......................................................................................................... 131
5.3.25 Hot line authorization (HWL) ................................................................................................................................ 132
5.3.26 SOS authorization list (SWL) ................................................................................................................................. 132
5.3.27 Geo-fence configuration (GFS) ............................................................................................................................. 133
5.3.28 Enable Geo-fence (GOF) ....................................................................................................................................... 137
5.3.29 Enable driving behavior detection (BMO) ............................................................................................................ 138
5.3.30 Enable accident detection (AMO) ......................................................................................................................... 139
5.3.31 Device install direction (BDS) ................................................................................................................................ 139
5.3.32 Enable odometer counter (MGE) ......................................................................................................................... 140
5.3.33 Odometer initial mileage (MGS) ........................................................................................................................... 141
5.3.34 Over speed mode configure (SPO) ....................................................................................................................... 141
5.3.35 Over speed configuration (SPS) ............................................................................................................................ 142
5.3.36 Enable idle detection (ILO) ................................................................................................................................... 142
5.3.37 Idle status configuration (ILS) ............................................................................................................................... 143
5.3.38 Enable engine hour counter (ETO) ....................................................................................................................... 143
5.3.39 Set engine hour counter (ETS) .............................................................................................................................. 143
5.3.40 Health check report (HTM) ................................................................................................................................... 144
5.3.41 Set assist-GPS (AGP) ............................................................................................................................................. 146
5.3.42 Save current configuration as profile (SCF) .......................................................................................................... 146
5.3.43 Load pre-saved configuration profile (RCF) .......................................................................................................... 147
5.3.44 Private hour mode configuration (PVM) .............................................................................................................. 147
5.3.45 Private hour mode digital output configuration (POB)......................................................................................... 149
5.3.46 1WIRE working mode (IBO) .................................................................................................................................. 150
5.3.47 Set ibutton permit list (IBI) ................................................................................................................................... 150
5.3.48 Set ibutton working mode (IBP)............................................................................................................................ 151
5.3.49 Set 1WIRE temperature alarm range (TMP) ......................................................................................................... 152
5.3.50 Server shift configuration (SVT) ............................................................................................................................ 152
5.3.51 Set ibutton key special mode (IBE) ....................................................................................................................... 153
5.3.52 Define ibutton key special mode (IBS) .................................................................................................................. 153
5.3.53 Input event to activate serial port output (ITS) .................................................................................................... 154
5.3.54 Set deep sleeping conditions (PST) ....................................................................................................................... 155
5.3.55 UDP response switch(ACK) ................................................................................................................................... 156
5.3.56 SIM card toggle time configuration (SCS) ............................................................................................................. 156
5.3.57 Toggle SIM card (DSS) ........................................................................................................................................... 157
5.3.58 Set power compensation value (PCO) .................................................................................................................. 157
5.4 PUBLIC COMMAND ............................................................................................................................................ 158
14
SP4603NS Protocol
6. USER............................................................................................................................................ 183
6.1 PERIODICAL HYPER LINK REPORT ........................................................................................................................... 183
6.2 PERIODICAL TEXT REPORT .................................................................................................................................... 184
6.3 EVENT SMS REPORT .......................................................................................................................................... 185
16
SP4603NS Protocol
1. General structure
1.1 System framework
1 OEM For agent/distributor, all commands are valid for this authorization.
2 Admin For administrator, by default admin command list and public command list are valid for
17
SP4603NS Protocol
this authorization.
OEM authorization is able to use command ACM to customize command list for admin
authorization.
For user command list only and only via SMS, by default user command list is valid for
3 User this authorization. OEM/Admin authorization is able to use command UCM to customize
command list for user.
Connect device with computer via USB cable and run serial communication software.
Input ^O (Ctrl + O) 3 times in a row, you will find “Please Input Password:” on software window.
Input OEM configuration password “0123456789” (default) and press enter, if the Password is correct, you will find
“Cable Port In OEM Mode” on software window.
Exit way: Press ESC for 3 times, then it will show “Cable port in NORMAL mode!”
18
SP4603NS Protocol
1 * Command head
2 , Command separator
3 : Only in device reply message, between command word and its parameter
6 # Command end
e.g.
Query command
Configure command
Query command
Configuration command
19
SP4603NS Protocol
Query command
Configuration command
Format:
e.g.
5,$ is separator
6,$ is separator
Packet tail
Format:
<packet header ><protocol version ><packet type ><device IMEI number ><sub packet1 total length ><sub packet1
data type ><sub packet2 total length ><sub packet2 data type ><sub packet3 total length ><sub packet3 data
type >…< sub packet N total length >< sub packet N data type >
e.g.
21
SP4603NS Protocol
22
SP4603NS Protocol
23
SP4603NS Protocol
before * , ; ( $ #
after (* (, (; (( ($ (#
after * , ; ( $ #
before (* (, (; (( ($ (#
before F8 1B
after F8 1B
24
SP4603NS Protocol
Note: the server-side verification should be done first after the data decoded
25
SP4603NS Protocol
6 Motion, GPS is from invalid to valid HEX、ASCII Device is in moving status, GPS is from the invalid to
upload valid
7 Enter the international roaming HEX、ASCII Device SIM card is in international roaming status
26
SP4603NS Protocol
06 Protocol version
, Parameter separator
, Parameter separator
, Parameter separator
9C Event ID
, Parameter separator
# Packet tail
06 Protocol version
, Parameter separator
, Parameter separator
, Parameter separator
, Parameter separator
# Packet tail
27
SP4603NS Protocol
4.2.4 Event ID
Only exists in the event trigger upload packet.
e.g. 9C
check method:
9Ch =10011100b
Position 7 is event change status identifier, value 0 represents event status numbers 0, and value 1 means event
change status 1.
Position 7 value is 1 in the example, can confirm “column” of the form (status change 1)
28
SP4603NS Protocol
13 Turnover Turnover
23 Reserved
29 Reserved
30 Reserved
31 Reserved
32 Temperature sensor 1 event Temperature into the set range Temperature out the set range
33 Temperature sensor 2 event Temperature into the set range Temperature out the set range
34 Temperature sensor 3 event Temperature into the set range Temperature out the set range
29
SP4603NS Protocol
35 Temperature sensor 4 event Temperature into the set range Temperature out the set range
36 Reserved
37 Reserved
38 Reserved
39 Reserved
40 Reserved
41 Reserved
42 Reserved
43 Reserved
44 Reserved
45 Reserved
46 Reserved
47 Reserved
48 Reserved
49 Reserved
50 Reserved
51 Reserved
52 Reserved
53 Reserved
54 Reserved
55 Reserved
56 Comb event 1
57 Comb event 2
58 Comb event 3
59 Comb event 4
30
SP4603NS Protocol
60 Comb event 5
61 Comb event 6
62 Comb event 7
63 Comb event 8
Main data identifier Data type Whether upload data (command ADM)
<SYS>System data
e.g.:
SYS:SP4603NS;V1.01;V1.01
Format:
SYS: SP4603NS;V1.01;V1.01
System information data <device name >;<firmware version >;<hardware version >
identifier
31
SP4603NS Protocol
<GPS>GPS data
e.g.:
GPS:A;8;N23.164351;E113.428515;0;0;37;0.85;0.35
Format:
0; Azimuth angle
<GSM>GSM data
example(1 BS):
GSM: 5;4;460;0;2731;BB41;-82
Format(7 BSs):
<identifier>:<registration status>;<signal
strength>;<MCC1 >;<MNC1 >;<LAC1 >;<CID1 >;<RSSI1 >;<MCC2 >;<MNC2 >;<LAC2 >;<CID2 >;<RSSI2 >;<MCC3 >;<MN
C3 >;<LAC3 >;<CID3 >;<RSSI3 >;;<MCC4 >;<MNC4 >;<LAC4 >;<CID4 >;<RSSI4 >;<MCC5 >;<MNC5 >;<LAC5 >;<CID5 >;<R
SSI5>;;<MCC6>;<MNC6>;<LAC6>;<CID6>;<RSSI6>;<MCC7>;<MNC7>;<LAC7>;<CID7>;<RSSI7>
5; REG registration status, range is “0 to 5”, please refer to REG parameters form
32
SP4603NS Protocol
4; CSQ Signal strength, range is “0 to 5”, please refer to CSQ parameters form
460; MCC1 GSM network country code,3 digits or 5 digits, if invalid this field will be “65535”
or “0”
0; MNC1 Operator code,2 digits or 3 digits or 5 digits, if invalid this field will be “65535”
or “0”
2731; LAC1 GSM(main) BS location code, HEX, Occupy 2 bytes, if invalid this field will be
“65535” or “0”
BB41; CID1 GSM(main) BS ID, HEX, Occupy 2 bytes, if invalid this field will be “65535” or “0”
Note: this form is for 1 BS information, GSM data can carry up to 7 BSs information, each BS data format keeps same.
REG value
SMS/Voice/GPRS
REG Explanation
connectivity
1 Register successfully √
4 Unknown reason ×
CSQ value
0 <= -112dBm
1 <= -97dBm
2 <= -82dBm
33
SP4603NS Protocol
3 <= -67dBm
4 <= -52dBm
5 >= -51dBm
<COT>COT data
e.g.:
COT:4294967295;99999-00-00;0F1000;1P42995;2P1234;3F1000
Format:
<COT data >: <Odometer> ;< Engine hour>;< IN1 frequency, pulse data>;< IN2 frequency, pulse data>;< IN3
frequency, pulse data>;< IN4 frequency, pulse data>
Range: 0-0-0~99999-0-0
<ADC>AD data
e.g.:
ADC:12.60;3.99;10.00;10.00
Format:
<AD data identifier> :< External power supply voltage> ;< Internal battery voltage>;<ADC1 input voltage>;<ADC2
input voltage>
34
SP4603NS Protocol
AD data External power supply Internal battery voltage AD1 voltage AD2 voltage
identifier voltage value, unit: V value, unit: V
value, unit: V value, unit: V
e.g.:
DTT:10;E2;0;0;0;1
Format:
<Device status data identifier> :< Device status> ;<I/O status>;< Number 0 to 119 Geo-fence status>;
<Number 120 to 155 Geo-fence status> ;< Main Event status> ;< Packet type indicator>
<Device status>
Hex, maximum 4 bytes, MSB first, i.e.: 0x10 = 0000 0000 0001 0000 indicates the red section below.
35
SP4603NS Protocol
<I/O status>
Hex, maximum 1 byte, MSB first, i.e.: 0xE2 = 1110 0010 indicates the red section below.
Bit Explanation 0 1
High level or
1 IN1 Low level
floating
High level or
2 IN2 Low level
floating
Bit explanation 0 1
119 Geo-fence #120 Device is outside Geo-fence or Geo-fence is invalid Device is inside Geo-fence
Bit Explanation 0 1
0 Geo-fence #121 Device is outside Geo-fence or Geo-fence is invalid Device is inside Geo-fence
35 Geo-fence #156 Device is outside Geo-fence or Geo-fence is invalid Device is inside Geo-fence
HEX, maximum 8 bytes, the trigger status can be manually or automatically reset to zero by command.
3 Over speed Speed enters to setting range Speed is out of setting range
13 Turnover Turnover
37
SP4603NS Protocol
23 Reserved
29 Reserved
30 Reserved
31 Reserved
32 Reserved
33 Reserved
34 Reserved
35 Reserved
36 Reserved
37 Reserved
38 Reserved
39 Reserved
38
SP4603NS Protocol
40 Reserved
41 Reserved
42 Reserved
43 Reserved
44 Reserved
45 Reserved
46 Reserved
47 Reserved
48 Reserved
49 Reserved
50 Reserved
51 Reserved
52 Reserved
53 Reserved
54 Reserved
55 Reserved
Value Definition
0 Event
1 Periodical report
2 Fixed distance
3 Fixed angle
8 Ibutton triggering
<IWD>1Wire data
e.g.:
IWD:0;0;000000133B29;1;1;3400000012038C21;100
Format:
< Identifier >:<Data1 identifier>;<Data type identifier>;<Data field>;<Data2 identifier>;< Data type identifier>;<
IWD: Identifier
0; Data1 identifier
1; Data2 identifier
40
SP4603NS Protocol
e.g.:
ETD:11;30
Format:
<Identifier>:<data field>
ETD: 11; 30
Over speed ETD: speed Speed: GPS speed when event generated. Unit: Km/h
Geo-fence ETD: time; speed; time Local time when generate geo-fence event, format:
fence number ;status hour/minute/second/day/month/year
status Bit 0 1
External power ETD: voltage value Voltage value: Current voltage value when generating even, unit: V
Backup battery
41
SP4603NS Protocol
AD1
AD2
Harsh brake, ETD:parameter1;para Parameter1: X axis acceleration value, floating point number string
accelerate, meter2 (%5.2f format), and forward direction: acceleration is positive, brake is
turn, front negative.
collision, rear
Parameter2: Y axis acceleration value, floating point number string
collision,
(%5.2f format), left-turn is positive, right-turn is negative.
turnover
1Wire ETD: Data1 identifier; Data1 identifier: The first data identifier
Data type; Data field
Data type: 0 is for ibutton, 1 is for temperature sensor
Data field: ibutton serial No. or temperature sensor serial No. and
temperature value
Balance remind ETD: balance current balance: SIM card balance when generating event
9C Event ID 1 byte
Bit definition 0 1
6 Packet type Packets generated by all Packets generated by event triggering, with <event
non-events ID> data segment
7 Device IMEI format Long format, only support the Short format
format
4.3.5 Event ID
Only exist in event trigger uploading packet
e.g. 9C
Check mode:
9Ch = 10011100b
Bit7 is event status change identifier, value 0 represent event status numbers 0, and value 1 represent event status
change 1
Bit7 is 1 in example, can confirm the “row” in the table (status change 1)
11100h= 28b represents event ID is 28, can confirm the “line” in the table.
Use the “line” and “row” intersection to confirm the specific sub-event.
44
SP4603NS Protocol
3 Over speed Speed enters to setting range Speed is out of setting range
13 Turnover Turnover
22 Device signal blind area event Enter into signal blind area Leave signal blind area
23 Reserved
45
SP4603NS Protocol
29 Reserved
30 Reserved
31 Reserved
32 Temperature sensor1 event Temperature into setting range Temperature out of setting range
33 Temperature sensor2 event Temperature into setting range Temperature out of setting range
34 Temperature sensor3 event Temperature into setting range Temperature out of setting range
35 Temperature sensor4 event Temperature into setting range Temperature out of setting range
36 Reserved
37 Reserved
38 Reserved
39 Reserved
40 Reserved
41 Reserved
42 Reserved
43 Reserved
44 Reserved
45 Reserved
46 Reserved
47 Reserved
48 Reserved
49 Reserved
50 Reserved
46
SP4603NS Protocol
51 Reserved
52 Reserved
53 Reserved
54 Reserved
55 Reserved
56 Comb event 1
57 Comb event 2
58 Comb event 3
59 Comb event 4
60 Comb event 5
61 Comb event 6
62 Comb event 7
63 Comb event 8
e.g. 003Bh = 00111011b, the highlight parts below are uploading data type
47
SP4603NS Protocol
8 Reserved
9 Reserved
10 Reserved
11 Reserved
12 Reserved
13 Reserved
14 Reserved
15 Reserved
Main data identifier Data type Whether upload data (command ADM)
e.g.:
11034736531556312E3030265668312E3032
Format:
48
SP4603NS Protocol
<system information data segment total length><sub-data1 identifier and data field length><sub-data1 data field>…
< sub-data N identifier and data field length >< sub-data N data field>
11h = 17d represents system information data segment total length is 17 bytes
03 sub-data1 identifier and data field length, high bits are in front, high 4 bits are 1 byte
sub-data1 identifier, low 4 bits are data field length
15 sub-data2 identifier and data field length, high bits are in front, high 4 bits are 1 byte
sub-data2 identifier, low 4 bits are data field length
<GPS>GPS data
e.g.:
15007F48016175DD06C2C8E800000000004B007C007D
(in ASCII:GPS:A;8;N23.164381;E113.428712;0;0;75;1.24;1.25)
Format:
<GPS data length><GPS sub-data mask><Fix sign and valid satellite number>
<Coordinate><Speed><Azimuth><Altitude><HDOP><VDOP>
49
SP4603NS Protocol
50
SP4603NS Protocol
Rang is 0 to 99.99
Rang is 0 to 99.99
0 Locating sign and valid satellite number Not upload Upload 1 byte
7 Reserved
51
SP4603NS Protocol
<GSM>GSM data
1A0F141CC0002503962C401CC000273140F4561CC0002731BB4266
(in ASCII:GSM:1;4;460;0;2503;962C;-64;460;0;2731;40F4;-86;460;0;2731;BB42;-102)
Format
<GSM data length><GSM Sub-data mask><Register status and signal strength><MCC1 and MNC1>
2503h=9475d
962Ch=38444d
2731h=10033d
52
SP4603NS Protocol
40F4h=16628d
2731h=10033d
BB42h=47938d
0 Registration status and signal strength level Not upload Upload 1 byte
53
SP4603NS Protocol
<COT>COT data
e.g.
0B0203E81297C224200003E8
Format:
54
SP4603NS Protocol
Mileage:
Engine hour:
HEX, converting to decimal represents total engine operating time, unit second.
e.g.: 97C2, converting to decimal is 38850 seconds, which represent 38850 seconds (10H: 47M: 30S)
<ADC>AD data
e.g.:
080320120823243208
Format:
55
SP4603NS Protocol
Value Definition
2 ADC1 voltage
3 ADC2 voltage
4 Revered
5 Revered
6 Revered
7 Revered
<DTT>Status data
e.g.:
0C010011C32100310043020000
Format:
<DTT data segment total length>< sub-data identifier and data field><sub-data field>
56
SP4603NS Protocol
310043020000
<device status>
57
SP4603NS Protocol
Max 4 bytes, high bits are in front, e.g. 0x10 = 0000 0000 0001 0000 indicates the red section below
<I/O status>
Max 1 bytes, high bits are in front, e.g. 0xE2 = 1110 0010 indicates the red section below
High level
1 IN1 Low level
or suspend
58
SP4603NS Protocol
High level
2 IN2 Low level
or suspend
119 Geo-fence #120 Device is outside Geo-fence or Geo-fence is invalid Device is inside Geo-fence
0 Geo-fence #121 Device is outside Geo-fence or Geo-fence is invalid Device is inside Geo-fence
35 Geo-fence #156 Device is outside Geo-fence or Geo-fence is invalid Device is inside Geo-fence
Max 8 bytes, the trigger status can be manually or automatically reset to zero by command.
59
SP4603NS Protocol
3 Over speed Speed enters to setting range Speed is out of setting range
13 Turnover Turnover
20 Reserved
21 Reserved
22 Reserved
23 Reserved
60
SP4603NS Protocol
29 Reserved
30 Reserved
31 Reserved
32 Temperature sensor1
33 Temperature sensor2
34 Temperature sensor3
35 Temperature sensor4
36 Reserved
37 Reserved
38 Reserved
39 Reserved
40 Reserved
41 Reserved
42 Reserved
43 Reserved
44 Reserved
45 Reserved
46 Reserved
47 Reserved
48 Reserved
49 Reserved
50 Reserved
51 Reserved
52 Reserved
61
SP4603NS Protocol
53 Reserved
54 Reserved
55 Reserved
<Packet type>
Value Definition
0 Event
1 Periodical report
2 Fixed distance
3 Fixed angle
8 iButton trigger
1WIRE data<IWD>
62
SP4603NS Protocol
e.g.:
iButton: 080700000000133B29
Format:
<1Wire data segment total length><Sub-data identifier and data length><Data type><Data field>
iButton Data
63
SP4603NS Protocol
FEE3h=-28.5 ° C
Speed event
e.g.:
0302006D
Format:
<Speed event data segment total length><Sub-data identifier and data length><Data field>
Geo-fence event
e.g.:
120619A52DBA00641A080309010A020B010C03
Format:
< Geo-fence accident data segment total length>< sub-data identifier and data field length><time><speed>< data
identifier and data field length><fence number and status data>
12h = 18d represent Geo-fence accident data segment total length is 18bytes
64
SP4603NS Protocol
65
SP4603NS Protocol
e.g.
020144
Format:
<health information event data segment total length>< sub-data identifier and data field length><data field>
02h = 2d represent health information event data segment total length is 2byte
bit definition 0 1
66
SP4603NS Protocol
Harsh brake, harsh accelerate, harsh turn, front/rear collision and turn over event
e.g.:
0504FF9C00D7
Format:
<harsh behavior and accident event data segment total length> < sub-data identifier and data field length > <X axis
data> <Y axis data>
e.g.:
iBu on:080700000000133B29
Temperature sensor:0A1B0100000012038C011D
Format:
<1Wire event data segment total length> < sub-data identifier and data field length > < data type> < data field>
67
SP4603NS Protocol
iButton Data
FEE3h=-28.5 degree
External power, built-in battery, AD1 input, AD2 input events data
Example: 030202BE
68
SP4603NS Protocol
Format: <voltage input event data segment total length ><sub data identifier and its data length ><data field>
Example: 03020008
Format:
<data segment total length of balance reminding event><sub data identifier and its data length><data field>
0008h = 8d
<data>: HEX, analysis way, ”0x0008” converts to “8”, unit: accordance with USSD information.
Example: 0B0A89860090191149028636
Format:
<data segment total length of GSM Reg. event><sub data identifier and its data length><data field>
69
SP4603NS Protocol
89860090191149028636h = “89860090191149028636”
Abbreviation: 1021
70
SP4603NS Protocol
Phone
Phone
Data type Phone number type number Data length Data
number
length
“08”:UNICODE way
07h=00000111b
71
SP4603NS Protocol
07h=00000111b
72
SP4603NS Protocol
0203C4F6 This data field will be forwarded to the serial port peripheral Unfix byte
Command EPT configuration extension serial port receive time intervals under ON ACC and OFF ACC different state
ASCII encoding
*GS 06 , 357852034572894 #
HEX encoding
F8 06 00 013FB822050D1D 2D77 F8
Packet header Protocol Packet type Device IMEI number, need CRC Packet tail
version convert to decimal verification
code
74
SP4603NS Protocol
2, CRC validation of the original data (only available for Hex data);
3, Data decode;
75
SP4603NS Protocol
5. Command
Command lists for different authorization, please refer to APPENDIX1
Send command by
*GS00,UNO;+8601234567891#
1 Server to Device 5.1.1 socket
Configuration
2 PC to Device 5.1.2 software or serial UNO;+8601234567891,then press Enter
port software
<Command word2>;<Parameter>;<Parameter>
Command field:
Command Protocol Command
Separator Command word and its parameter using “;” as separator.
header version end
Different command field using “,” as separator
Device replies:
e.g.:
76
SP4603NS Protocol
Send: *GS00,UNO;13912345678#
Reply: *GS06, 358696040652862,UNO:13912345678#
Note: after entering the command, press the Enter key to confirm whether the command is correct
e.g.:
Format:
e.g.
Send: 1234,UPW;1234
UPW: 1234
GSM -52dBm
EXT_Pwr=11.94V
77
SP4603NS Protocol
BAT=3.90V
#3
(1)Server to device
e.g.:
Send: *GS00,UNO;13912345678,UPW;1234#
Reply: *GS06,0123456789,UNO:13912345678,UPW:1234#
Send: Merge multiple commands in the command field, among different commands using “,” as separator
e.g.:
UNO: 13912345678
UPW: 1234
GSM -52dBm
EXT_PWR=11.94V
BAT=3.90V
#3
When the all commands in field are wrong will return "ERR" information. When part of the command error and will
respond to the correct command. Such as send command 1, command 2, command 3 at the same time, if command
2 error, it will return to command 1 & command3 information.
(3) PC to device
Factory default:
OPW OPW:0123456789
Explanation OPW;<PASSWORD>
79
SP4603NS Protocol
Explanation ACM;<Mask>
Enable commands in OEM command list for administrator, except commands DFP/OPW/ACM.
Explanation UCM;<Mask>
OAS OAS:equipment.skypatrol.com;80
Explanation Set FOTA server, IP/ domain and port for remote upgrade firmware, 63 characters maximum.
Format: OAS;<IP>;<PORT>
80
SP4603NS Protocol
OAP;<File path>
APL;46000 APL:46000;cmnet;user;pw
Explanation Automatically identify the APN command, when stored APN information from SIM card, t
he device according to MNC, MCC to get APN information
Format: APL;<SIM card operator code>;<APN>;<user name>;<pw>
<SIM card operator code>: Composed by MCC&MNC code, MCC code before MNC code
MCC: 3 digits for country code, MNC:2 -3 digits for operator code
APL maximum storage is 4K bytes, if more than 4K, it will delete the first stored 10 messages.
81
SP4603NS Protocol
HBI HBI:50
Explanation Set up the heartbeat packet uploading time interval of TCP/UDP sever, keep the sever and device
connected..
Format: HBI;<Interval>
Factory default:HBI;20
URL0;http://maps.google.com/staticmap?zoo URL0:http://maps.google.com/staticmap?zoom=14&s
m=14&size=300x300&markers ize=300x300&markers =%n(;%e&sensor=false
=%n(;%e&sensor=false
Dynamic link:
URL0:http://maps.google.com/maps?q=%n(,%e&t=m
URL0;http://maps.google.com/maps?q=%n(, &z=16
%e&t=m&z=16
URL[ID];<Link>
“Y”: year
82
SP4603NS Protocol
“M”: month
“H”: hour
“M”: minute
“S”: second
“n”: north
“e”: east
“a”: valid sign
“s”: speed
“r”: heading
“C”: MCC
“N”: MNC
“A”: LAC
“D”: CID
UGP UGP:3
UGP;<Parameter>
“0”: Normal
“1”:GSM Trace
“4”:Factory mode
83
SP4603NS Protocol
Explanation To customize user command white list, 10 command words maximum, command words in this
command are available for user from admin command list.
CEN ;< Command word1> ;< Command word2> ;< Command word3>……..
e.g.:
CEN;PIN;SCN;APN;SVR;BSV;BDU;SVP;SSP;USP;SSN
CEN:PIN;SCN;APN;SVR;BSV;BDU;SVP;SSP;USP;SSN
Factory default:
UCM UCM:0
84
SP4603NS Protocol
Explanation Opposite to command CEN, this command is used to forbidden commands for user from admin
list.
CDS ;< Command word1> ;< Command word2> ;< Command word3>…
e.g.:
CDS;PIN;SCN;APN;SVR;BSV;BDU;SVP;SSP;USP;SSN
CDS:PIN;SCN;APN;SVR;BSV;BDU;SVP;SSP;USP;SSN
UCM
UCM:0
Factory default:
SDM1 SDM1:7F
85
SP4603NS Protocol
<Main data ID>: range is “0 to 15”, refer command AMD “Main data ID mask list”.
<Sub-data mask>: HEX, range is 0x0000~0Xffff, each bit represents a sub-data type.
7 Reserved
86
SP4603NS Protocol
87
SP4603NS Protocol
voltage
4 Reserved
5 Reserved
6 Reserved
7 Reserved
During event status of the device is not cleared, the event status data in the DTT data will be
forced to upload when uploading data packets.
Factory default:
SDM:ffff, SDM1:3f,SDM2:2,SDM3:1,SDM4:3,SDM5:ffff,SDM6:ffff,SDM7:ffff
SDM15:ffff
88
SP4603NS Protocol
EFM EFM:1;0;1
EFM;<Mode>;<Priority>;<Erase>
<Mode>:
0: Disable offline (GPRS) data saving feature, When device reached non GSM/GPRS signal
coverage area, it does not generate GPRS data
1: Enable offline (GPRS) data saving feature, When device reached non GSM/GPRS signal coverage
area, it generates GPRS offline data
<Priority>:
0: Real-time data prior, when GPRS recovers send the real time data first.
1: Offline data prior, when GPRS recovers send the offline data first.
<Erase>:
1: Erase offline data from flash storage. (Need to include former 2 parameters when executing)
0: Do not offline data from flash storage. (Changing former 2 parameters without erasing)
ESM ESM3:FF;FF;FF;FF
89
SP4603NS Protocol
[Main event ID]: Range is “0 to 7”, one main event type including 8 sub events. 8*8=64 sub events
are the largest of this protocol.
“0”: Manually
“1”: Automatically
Factory default: Factory default only enable ACC event mask, clear type for Automatically
ESM:0;0;0;ff
ESM1:0;0;0;ff
ESM2:0;0;0;ff
ESM3:10;10;10;ff
ESM4:0;0;0;ff
ESM5:0;0;0;ff
ESM6:0;0;0;ff
ESM7:0;0;0;ff
90
SP4603NS Protocol
EUP28;4 EUP28:4;1;1;1
0: I/O reaction
1: Report to User0
2: Report to User1
5: Report to GPRS server preferred, if GPRS connection lost report offline data to SMS server via
SMS channel.
6: Reserved
7: Reserved
<Data type ID>: Range is “0 to 7 (ADM0 to ADM7)”, only available for action type “report”, please
refer command ADM
Factory default:
91
SP4603NS Protocol
Explanation This command is to specify output pins and output modes for event action mode 0 (IO)
Format: EOB[Event ID];<DO ID>;<DO mode for state0>;<DO mode for state1>;<DO mode for erasing
event>
0: OUT1
1: OUT2
2: OUT3
<DO mode for state0>: range is “0 to 7”(Digital output port mode, refer to DOM command)
<DO mode for state1>: range is “0 to 7”(Digital output port mode, refer to DOM command)
<DO mode for erasing event>: range is “0 to 7”(Digital output port mode, refer to DOM command)
Note: This position does not work when manually. This is optional, if carry IO action without
erasing then do not need this.
e.g.:
EOB28;0;4;5;0
DOM0;4;500;500;5;0;1
DOM0;5;500;500;5;0;1
DOM0;1
92
SP4603NS Protocol
Explanation Event combination functionality (ERL), binding multiple events (up to 5, AND logic) together as
combination event to trigger specific reaction of device.
Format:
[Combination event ID]: range is “0 to 7”, corresponding to event number “56 to 63” in chapter9
“Event list”
<Valid period>: All events in combination event must be satisfied during this period, otherwise
combination event will not be activated. Range is “0 to 55”, unit: second
Note:
ADM1 ADM1:47
Explanation This command is to customize data type in packet that to be reported to server, up to 8 profiles
are available, SMS server is forced to used ADM0 while GPRS server is forced to used ADM1
[ID]: data type ID, range is “0 to 7”, available with 8 profile data type.
93
SP4603NS Protocol
0 ADM0
1 ADM1
2 ADM2
3 ADM3
4 ADM4
5 ADM5
6 ADM6
7 ADM7
8 Reserved Reserved
9 Reserved Reserved
10 Reserved Reserved
94
SP4603NS Protocol
11 Reserved Reserved
12 Reserved Reserved
13 Reserved Reserved
14 Reserved Reserved
15 Reserved Reserved
Note:
Command ADM0 is specific for non-event report to SMS server, data string maximum length is
230bytes.
Command ADM1 is specific for non-event report to GPRS server, data string length is 384bytes.
“Bit0 “and” Bit1”are fixed as“1”, which represent data string, must including GPS or GSM
information. Packet including GSM data is according to report setting SVR/SSP/USP, e.g. G mode
when GPS preferred, otherwise use GSM data, A mode GPS and GSM both will be reported to
server.
Factory default:
ADM0:47
ADM1:47
ADM2:47
ADM3:47
ADM4:47
ADM5:47
ADM6:47
ADM7:47
95
SP4603NS Protocol
Explanation This command is to configure output parameters for DO port specific mode
Format:
DOM[ID];<Mode>;<Parameter1>;<Parameter2>;<Parameter3>;<Parameter4>;<Parameter5>
[ID]: range is “0 to 2”
2: Output rising edge, parameter 1 is used to set the low level duration, unit: ms, the waveform
can be set as follows: (1 parameter)
3: Output falling edge, parameter 1 is used to set the high level duration, unit: ms, the waveform
can be set as follows: (1 parameter)
<Parameter3>: Used to set the numbers of square wave output, if set to 0 for the continuous
output
DOM0:2;0
96
SP4603NS Protocol
DOM0:3;0
DOM0:4;0;0;0;0;0
DOM0:5;0;0;0;0;0
DOM0:6;0;0;0;0;0
DOM0:7;0;0;0;0;0
Explanation This command is to set the operating mode of AD1/IN3, AD2/IN4 pin for analog input or digital
input
Format: AIM;<Mode1>;<Mode2>
0: Analog input
1: Digital input
Note: If AD1/IN3 is set to the digital input, then for digital input DI3; if AD2/IN4 is set to the digital
input, then for digital input DI4.The default is analog input pin for two channels.
DIM DIM0:0
97
SP4603NS Protocol
“2”: IN3, digital input channel3, valid only when AD1/IN3 set as digital.
“3”: IN4, digital input channel4, valid only when AD2/IN4 set as digital.
<Parameter1>,<Parameter2>,<Parameter3>:
To configure digital input channel, number of parameters varies with different mode.
Mode “0”:
Voltage level sampling, level changes will trigger event. (No parameter)
Mode “1”:
Frequency counter, pulse frequency sampling, if input frequency outside the range will trigger
event. (2 parameters)
Mode “2”:
<Parameter2>: Set counter value threshold, surpass this value will trigger event.
<Paramete3>: Reset counter value to zero when reach threshold, “0” is not reset, “1” is reset.
Mode “3”:
<Parameter1>: Set low level duration time, unit is “ms”, surpass this value will trigger event.
Mode “4”:
<Parameter1>:
Set low level duration time, unit is “ms”, surpass this value will trigger event.
98
SP4603NS Protocol
Mode “5”:
<Parameter2>: Set counter value threshold, surpass this value will trigger event.
<Paramete3>: Reset counter value to zero when reach threshold, “0” is not reset, “1” is reset.
Mode “6”:
<Parameter2>: Set counter value threshold, surpass this value will trigger event.
<Paramete3>: Reset counter value to zero when reach threshold, “0” is not reset, “1” is reset.
Mode “7”:
Edge (3 parameters).
<Parameter2>: Set counter value threshold, surpass this value will trigger event.
<Paramete3>: Reset counter value to zero when reach threshold, “0” is not reset, “1” is reset.
e.g.:
DIM1;0
It represent IN2 mode set as 0, if input level changes will trigger event.
DIM1;1;500;1000
It represent IN2 mode set as 1, if input frequency outside “500 to 1000” will trigger event.
Default: DIM:0
99
SP4603NS Protocol
ADS ADS0:1;8
[ID]: 0 or 1;
<Sample times>: Times of each AD sampling, output is average value of sample times, range is “0
to 256”
EPS EPS:4;0;1;0
3 4800
4 9600
5 14400
6 19200
7 38400
100
SP4603NS Protocol
8 56000
9 57600
10 115200
EPM;2;100 EPM:2;100
EPM EPM:2;100
“4”: GPS data input, under this mode device will use external GPS input as source instead of its
original.
“5”: MDT mode, this mode must be selected when serial link connects with MDT
<Interval>: Only valid when <Mode> is “2” and “6”, unit is ms, range is “5 to 65535”.
101
SP4603NS Protocol
BMS BMS:2;10;45;35;40;30
Explanation Format: BMS;<moving threshold >;< static period >;<harsh_ brake threshold >;<harsh_ accelerate
threshold>;<harsh_ corner_ left threshold>;<harsh_corner_right_threshold>
<moving_threshold>:
Device motion status acceleration magnitude threshold, range is “1 to 200”, unit is 0.01g.
default: 2
<static period >: Device from motion to static period magnitude threshold, range is “0to 255”, unit
is “S”. default: 10
<harsh_brake_threshold>:
Device harsh brake acceleration magnitude threshold, range is “1 to 200”, unit is 0.01g.
default: 45
<harsh_accelerate_threshold>:
Device harsh accelerates acceleration magnitude threshold, range is “1 to 200”, unit is 0.01g.
default: 35
<harsh_corner_left_threshold>:
Device harsh left cornering acceleration magnitude threshold, range is “1 to 200”, unit is 0.01g.
default: 40
<harsh_corner_right_threshold>
Device harsh right cornering acceleration magnitude threshold, range is “1 to 200”, unit is 0.01g.
Factory default: 30
AMS AMS:150;90
102
SP4603NS Protocol
Explanation Device parameter configuration for vehicles crash, turnover accident detection
<crash threshold>:
Note: Sensor itself will judge front or rear collision, side collision will be considered as rear.
<turnover threshold>:
Turn over acceleration magnitude threshold, range is “0 to 200”, unit is 0.01g. default: 90
<user mask>:
User Geo-fence mask, 156 Geo-fences in total. Corresponding code: Bit0 – Bit27, Bit28 – Bit159.
AGS AGS:yangbing7710@139.com;Moouaq
Explanation This command is to set username and password to connect with AGPS server.
103
SP4603NS Protocol
AIR AIR:0
Explanation This command is to set the level operating range of the AD1/IN3 pin.
Format: AIR;<Mode>
PKI PKI:1;1;1
Explanation This command is to set data type carrying in serial port packet.
<Device ID>: ”0” not report device ID, “1” report device ID
<Time sign>: ”0” not report time sign, “1” report time sign
104
SP4603NS Protocol
PSS0 PSS0:0
Explanation This command is to configure parameters for GSM/GPS power saving mode.
Format: PSS<Module>;<Toggle>;<Para1>;<Para2>;<Para3>
<Module>
Value Explanation
0 GSM module
1 GPS module
2 2D accelerate sensor
<Toggle>:
■GSM module:
PSS0;1;<para1>;<para2>;<para3>
<para2>: No data transmission duration time threshold, unit is minute, range is “1 to 255”
■GPS module
PSS1;1;<para1>;<para2>
<para1>: GPS un-fixed duration time threshold, unit is minute, range is “1 to 255”
PSS2;<Toggle>
105
SP4603NS Protocol
If GSM unregistered duration surpasses threshold time or no data transmission duration surpasses
threshold time, power saving will be activated. Under power saving if device detects data transmit
request and able to establish socket connection before, it will wake up instantly; otherwise device
wakes up according to awaken interval.
If GPS un-fixed duration surpasses threshold time or under parking status, power saving will be
activated.
Before activation if GPS un-fixed, device will wakes up according to awake interval, otherwise it
will wake up when vehicle leaves parking status.
If GSM and GPS both under power saving, MCU will go to power saving as well.
Default:
PSS0;0
PSS1;1;5;10
PSS2;0
GPO GPO:1;1
<Toggle GSM>:
<Toggle GPS>:
106
SP4603NS Protocol
Explanation This command is to download command list profile (.txt) from computer to device, complying
Ymodem protocol
Format: YSF;<ID>
<ID>: range is “0 to 5”
0: OEM default
Note: Profile file size must be less than 4095bytes, each command in profile must end with <\r\n>,
file name must be less than 31 characters.
Factory default:
Explanation This command is to download command list profile from device to computer, complying Ymodem
protocol
Format: YGF;<ID>
<ID>: range is “0 to 6”
0: OEM default
Factory default: l
107
.
SP4603NS Protocol
Explanation This command is to execute existing command list profile form device
Format: YCF;<ID>
<ID>: range is “0 to 5”
0: OEM default
Factory default: l
FRL1 FRL1:7;7
Explanation When all selected conditions are satisfied, device will automatically switch among configuration
profiles.
e.g.:
FRL1;7;7
Second “7” represents any event from “domestic roaming & backup battery abnormal & external
108
SP4603NS Protocol
Note: This feature is invalid at the first 30 seconds of tracker firmware initialization.
Factory default:
DOP DOP:40;40;40
Format: DOP;<Out1>;<Out2>;<Out3>
Note: Speed from GPS positioning, if GPS speed invalid, output will be active immediately.
JMP JMP:30;10;120
<RSSI threshold>: GSM signal strength threshold to decide being jammed or not, range “20 to 50”.
<Enter jamming counter>: device will compare current RSSI with <RSSI threshold>, if bigger than
<RSSI threshold>, counter will accumulate 1, otherwise not. When the counter value over <enter
jamming counter>, device considers itself being jammed, range “5 to 600”.
<Leave jamming counter>: device will compare current RSSI with <RSSI threshold>, if small than
<RSSI threshold>, counter will accumulate 1, otherwise not. When the counter value over <Leave
109
SP4603NS Protocol
jamming counter>, device considers itself not being jammed, range “30 to 250”.
FRS1 FRS:7;7
Explanation When anyone of the selected condition is satisfied, device will automatically switch among
configuration profiles.
<Condition mask>:
e.g.:
FRS1;7;7
Second “7” represents any event from “domestic roaming & backup battery abnormal & external
power supply abnormal” is satisfied, configuration file #1 will be executed.
Note: This feature is invalid at the first 30 seconds of tracker firmware initialization.
Factory default:
110
SP4603NS Protocol
International
Bit3 bInterRoam Quit roaming Roaming
1 roaming
Bit8 bIn1 Digital input IN1 High level or floating Low level
Bit9 bIn2 Digital input IN2 High level or floating Low level
Bit13 Reserved
Bit14 Reserved
Bit15 Reserved
HOP;1;3 HOP:1;3.00
111
SP4603NS Protocol
HOP HOP:1;3.00
Explanation This command is to set HDOP threshold to discard inaccurate GPS positions.
Format: HOP;<Para1>;<Para2>
<Para1>:
<Para2>:
HDOP threshold, GPS position HDOP bigger than this value will be discarded, range 2 – 10.
<AT command>;
Specify a certain AT command here, tracker will print log accordingly if command is correct,
otherwise will return “GSM is off”.
GAM;0 GAM:0
1: enable AT command mode, you can interact with GSM module with AT command.
112
SP4603NS Protocol
DOR DOR:1;1;1
Explanation This command is to set up DO OUT1/OUT2/OUT3 status saving, when regains the power, whether
resumes to last status. This function is only valid to high level and low level.
Parameter definition:
Para 1: set output1. 0 represents not save the previous output status after reset; 1 represents save
the previous output status after reset.
Para 2: set output2. 0 represents not save the previous output status after reset; 1: represents
save the previous output status after reset
Para 3: set output3. 0 represents not save the previous output status after reset; 1 represents save
the previous output status after reset.
Notice: if update version from old version (V2.34 and previous versions, only support OUT1) to
new version (V2.38 or higher versions, which support OUT1/OUT2/OUT3). Then you need to
configure the parameter of out2 and out3 before using them or reset all parameters, otherwise
the output value will be a random value(no as factory parameter )
Factory default:DOR;0;0;0
5.2.46 Set up time interval command for regularly visit GICUS sever (SPT)
Command word Format Reply
SPT SPT:1H
113
SP4603NS Protocol
Explanation This command is to set up time interval command for regularly visit GICUS sever.
Factory default:SPT;24H
183.233.129.45;5555 RCS:183.233.129.45;5555
RCS RCS:13.57.76.177;8080
< IP/domain name>:IP or domain name, the maximum length of parameter is 64 bytes;
RCP RCP:/Dev.php?
Explanation This command is to set up the device visiting GICUS sever page path.
Format:RCP;<Page path>?
<Page path>:The device visiting GICUS sever page path, the parameter maximum length is 64
bytes.
Factory default:RCP;/Dev.php?
Note: do not change
114
SP4603NS Protocol
Explanation Format:LCS
No parameter definition.
Factory default:
UPW:1234
GSM -52dBm
EXT_PWR=13.04V
BAT=3.41V
#224
PIN PIN:1234
Explanation This command is to set PIN number of SIM card to automatically unlock SIM card.
Format: PIN;<Password>
<Password>: 4 to 8 digits
115
SP4603NS Protocol
SCN SCN:+8613800200500
Format: SCN;<Number>
<Number>: 20 digits, must with “+country code” in front of phone number, default no need to set
this number. Change to another SIM card device will automatically read renew SCN setting.
Default: SCN:
Format:
①APN; <APN>;<username>;<password>
<APN>: 1 to 64 characters
<password>: 0 to 32 characters
②APN;<APN>
This command means that only set APN.
Note: Device already save some APN information, when the SIM card is recognized, it will fulfill
APN automatically. Use this command can only be configured with the SIM service provider APN,
the configuration of other service providers APN will lead to GPRS connection error.
116
SP4603NS Protocol
Factory default:
SVR;114.142.154.28;3032;;0;0 SVR:114.142.154.28;3032;;0;0
or or
SVR;www.anytracking.net;3032;;0;0 SVR:www.anytracking.net;3032;;0;0
SVR;114.142.154.28;;3032;1;1 SVR:114.142.154.28;;3032;1;1
or or
SVR;www.anytracking.net;;3032;1;1 SVR:www.anytracking.net;;3032;1;1
SVR; SVR:
SVR SVR:
<Mode>:
“0”:TCP mode
“1”:UDP mode
<Enable ACK>:
“0”:Disable
117
SP4603NS Protocol
Note: <Enable ACK>: ①: data is sent via UDP channel from device , server must responds with
any data in 15 seconds, otherwise device will consider UDP connection is dead and save data to
its internal flash storage.
②: When the command does not take <Ip address>;<Tcp Port>;<Udp Port>;<Mode>;<Enable
ACK> parameters, it indicates that the server configuration parameters are deleted.
BSV;120.195.122.109;2002;2002;2;1 BSV:120.195.122.109;2002;2002;2;1
Or Or
BSV;www.goolg.com;2008;2008;2;1 BSV:www.goolg.com;2008;2008;2;1
Delete main server: Reply:
BSV; BSV:
BSV BSV:
Explanation This command is to set backup GPRS server when main server is unavailable.
<Mode>:
“0”:TCP mode
“1”:UDP mode
<Enable ACK>:
118
SP4603NS Protocol
“0”:Disable
BDU1;20 BDU1:20
BDU BDU:1
BDU1 BDU1:20
Explanation This command is to pack multiple position as a packet and report to server to save GPRS data
flow, but it will affect the real time report to server. Once the pre set value is met (regular
packet/serial port packet) device will report immediately, and reset the counter.
BDU;<Parameter>
BDU1;<Parameter>
e.g.:
BDU:10 means device waits for 10 regular position packets to pack as 1 packet to report
BDU1;30 means device waits for 30 packets from serial link to pack as 1 packet to report
Note:
Factory Default:
119
SP4603NS Protocol
BDU;1
BDU1;1
SVP;1 SVP:1;15S;G;B
Explanation This command is to set report interval of mode0 (static) and mode1 (dynamic)
<Mode>:
<Report mode>:
“O”: Disable
<Data format>:
“B”: Binary
“T”: Text
Factory default:
SVP:0;30S;G;B,
SVP:1;6H;G;B
120
SP4603NS Protocol
SSP;1 SSP:1;12H;G;T
Explanation This command is to set mode0 and mode1 report interval for SMS server.
<Mode>:
“1”:Dynamic mode
<Report mode>:
“O”: Disable
“G”: GPS information prior, otherwise use GSM tower position instead, GSM tower uses HEX
format.
<Data format>:
“T”: Text
Factory default:
SSP:0;30M;O;T
SSP:1;30M;O;T
USP;0 USP:0;12H;G;W
Explanation This command is to set mode0 and mode1 report interval to user0 and user1.
121
SP4603NS Protocol
[ID]:
“0”: User0
“1”: User1
<Mode>:
<Interval>: range is “30 to 900 seconds”, “15 to 59 minutes”, “1to 720 hours”
<Report mode>:
“O”: Disable
“G”: GPS information prior, otherwise use GSM tower position instead, GSM tower uses HEX
format.
<Data format>:
“T”: Text
“W”: URL
Note: If <Data format> set as “W”, device that has GPS fixed will send URL0, GPS unfixed will send
URL1 (GSM), otherwise will send text format.
Factory default:
USP:0;24H;G;T
USP:1;24H;O;T
USP1:0;24H;G;T
USP1:1;24H;O;T
122
SP4603NS Protocol
SSN;+8613912345678 SSN:+8613912345678
SSN; SSN:
Explanation This command is to set phone number as SMS server which has administrator permission to
access command list.
Forward to user0
SMT0;+8613926442537;U;0 SMT:+8613926442537;U;0
Forward to user1
SMT:+8613926442537;U;1 SMT:+8613926442537;U;1
SMT0;+8613926442537;G SMT:+8613926442537;G
Explanation Device will forward SMS that from number <Parameter1> to <Parameter2>
Format: SMT[ID];<Paramter1>;<Parameter2>;<Parameter3>
[ID]: range is “0 to 2”
“U”: User
123
SP4603NS Protocol
<Parameter3>:
“0”: User0
“1”: User1
Example:
SMT0;10086;U;0
<Parameter1>: 10086
<Parameter2>: U
<Parameter3>: 0
Factory default:
Explanation This command is to set threshold duration from stop status to parking status
If device keep stop over this threshold value, vehicle will be considered as parking
When device receives RST command it is under data transmitting status it will wait 60 seconds
124
SP4603NS Protocol
Factory default:
TZN TZN:8:00
Explanation This command is to set your local time zone, and display local time in your SMS.
Format: TZN;<Hour>:<Minute>
Range is “-12:00~12:59”,
Minus represents west zone, positive represents east zone, after setting the local time zone, the
user's mobile phone messages received in time will be displayed at the local time.
Factory default:TZN:0:00
DST;03.27;10.01;00:00 DST:03.27;10.01;00:00
Format2: Format2:
DST;03.F5;10.A0;00:00 DST:03.F5;10.A0;00:00
DST DST:03.F5;10.A0;00:00
125
SP4603NS Protocol
Format: DST;<Parameter1>;<Parameter2>;<Parameter3>
Parameter: start date and second parameter is finish date. Start and finish time is decided by the
third parameter. This function only based on the user's cell phone.
Format 1 “DST;03.27;10.01;00:00”
<Parameter1>: “03.27”: Daylight saving time start date. format is “month month. day day”.
“03.27” represents March 27.
<Parameter2>: “10.01”: Daylight saving time end date. format is “month month. day day”.
<Parameter3>: “00:00”:start and end time (hour/min/sec), format is “hour hour: minute
minute”.”00:00” represents time is “00:00”
Format 2 “DST;03.F5;10.A0;00:00”:
<Parameter1>: “03.F5”: Daylight saving time start date, format is “month month. week day of
week”. Week can be set “A B C D F”. "A" for the first week, "B" for the second week, and so on,
the fifth week or last week can use the "F" to represent. Day of week can be set to “0 1 2……6”.
Beginning on Sunday (“0” represent Sunday) to Saturday (“6” represent Saturday). ”03.F5”
represents Friday on the last week of march.
<Parameter2>: “10.A0”: Daylight saving time end date, format is same as para1. “10.A0”
represents Sunday on the first week of October
<Parameter3>: “00.00”:start and end time (hour/min/sec), format is “hour hour: minute
minute”.”00:00” represents time is “00:00”
STO STO:1
Format: STO;<Parameter>
126
SP4603NS Protocol
1: Enable
0: Disable
PTH PTH:45;35;3
Explanation This command is to set threshold value for power supply event.
<Parameter1>: External power threshold, range is “0 to 999”, unit is 100mV, i.e. 0V~99.9V
<Parameter2>: Backup battery threshold, range is “0 to 999”, unit is 100mV, i.e. 0V~99.9V
DNU DNU:1
127
SP4603NS Protocol
Explanation This command is to set conditions to switch between mode0 and mode1
Format: DNU;<Parameter>
Bit0:Packing
Bit1:Domestic roaming
Bit2:International roaming
Bit4:ACC OFF
”0”: Disable
“1”:Enable
DNU;0 means device always sticks to static mode interval only; DNU;1 means device uses
dynamic mode when in packing status.
DIS DIS:0;7
Explanation This command is to set threshold value for cornering and distance report, Device will report once
fixed distance or cornering angle is satisfied.
If the current report mode is disable, the distance and cornering angle report function does not
work.
Format: DIS;<Distance>;<Angle>
<Distance>: range is “0” or “10 to 65535”, unit is “10m”. Actual distance=Set
parameters/100(km), e.g., Parameter for” 2550” means if reaching 25.5km then report the
event. “0” means disable and available for TCP&UDP socket.
<Angle>: range is “0” or “3 to 60”, unit is “degree”. “0” means disable.
Factory default: DIS;0;5
128
SP4603NS Protocol
ATH ATH:80;250;3
Explanation This command is to set input voltage outside the range, power supply event will be triggered.
Explanation This command is to toggle voice feature, SOS voice feature configuration.
<SOS mode>:
129
SP4603NS Protocol
Note1:
All voice functions are invalid (such as CAL, SOS voice function, white list function), any incoming
calls automatically hang up. Only admin/user PRQ functionality available.
Note2:
>Incoming phone number is factory mode number, device will pick up automatically
>Incoming phone number from the host installed SIM card without remind function, device will
hang up automatically
If it is PRQ authorization, device will hang up. If it is monitoring authorization, device will pick up.
If its hot line authorization, device will pick up.
>Incoming phone number is admin (SMS server), device will pick up in 15 seconds.
PWL;S;1; PWL:S;1;
PWL;S; PWL:S;1;;2;;3;;4;;5;;6;;7;;8;;9;;10;;11;;12;;13;;14;;15;;16;
PWL;R;1-8 PWL:R;1;;2;;3;;4;;5;;6;;7;;8;
PWL;R;1;2 PWL:R;1;;2;
130
SP4603NS Protocol
PWL;R;<Index>
Note:
>Index number range is “1 to 16”, start number must be smaller than end number.
>If one number has both monitoring and hotline authorization, then only monitoring
authorization is valid.
QWL; QWL:
Explanation This is to enable phone number from white list for current position query purpose, device will
reject the call and reply a SMS with current position.
Format QWL;<Index>
131
SP4603NS Protocol
Explanation This command is to enable phone number from white list to have voice monitoring permission,
device will pick up the call and enable its microphone for voice monitor purpose.
MWL; <Index>
HWL HWL
HWL; HWL:
Explanation This command is to enable phone number in white list to have permission for voice conversation,
device will pick up the call and enable microphone & speaker for conversation.
Format: HWL;<Index>
SWL SWL:1;2
SWL; SWL:
Explanation This command is to enable phone number white list to have permission to trigger SOS call event,
maximum 2 phones number from white list can set as SOS number.
SOS event trigger, device will dial main SOS number first, if not pick up will try slave, if slave
number is not available, then try user0 number, finally for user1 number if user0 unavailable.
132
SP4603NS Protocol
< SOS main index >: Assign valid ID list from white list index to have “SOS authorization”.
Format:
GFS[ID];<vertex_cnt>;<sign>;<para….>
GFS[ID];T;<working mask>;<time1>;<time2>;<time3>
“28 to 155” represents 128 Geo-fences that support circle shape only. If ID for 0 means Null,
i.e. ”GFS” and “GFS0” are the same.
133
SP4603NS Protocol
Bit5 Reserved
Bit6 Reserved
Bit7 Reserved
Bit8 Reserved
Bit9 Reserved
Bit10 Reserved
Bit11 Reserved
Bit12 Reserved
“Bit0 to Bit1”: one of them must be “1”. System will force “Bit0” as “1” when set “Bit0 and Bit1”
as “00”.
“Bit3 to Bit2”:
“01”: Represents only inside the preset speed range, device to detect in or out of Geo-fence.
“10”: Represents only outside the preset speed range, device to detect in or out of Geo-fence.
134
SP4603NS Protocol
“Bit4”:
Note: Only if time and speed condition being satisfied, device will report Geo-fence event,
otherwise device just detect current status.
“Bit5 to Bit12”:
Reserved.
“Bit13”: Time validation sign, “1” such condition is enabled, user can’t modify the value from
“Bit13”
“Bit14”: Speed validation sign, “1” such condition is enabled, user can’t modify the value from
“Bit14”
“Bit15”: Geo-fence validation sign, “1” such condition is enabled, user can’t modify the value from
“Bit15”
For circle Geo-fence, <Para…> is <center latitude; center longitude; radius>, unit is “Meter”
For rectangle Geo-fence, <Para…> is <vertex1 latitude; vertex1 longitude; vertex2 latitude; vertex2
longitude>
GFS[ID]
para_ID: Geo-fence ID
135
SP4603NS Protocol
For circle, “0” means center latitude and longitude, “1” means radius.
For rectangle, “0” means vertex1 latitude and longitude, “1” means vertex2 latitude and
longitude.
para_val:
If it means GPS coordinate, format is latitude; longitude, south latitude and west longitude will be
minus value.
Latitude range is less than +-90, longitude not more than +-180.
To distinguish para_ID and para_val, para_ID length not more than 2, para_val more than 3.
GFS[ID];P;<para_ID>
GFS[ID];S<min_speed><;max_speed>
GFS[ID];S is to query
GFS[ID];S; is to delete
Note: The value of Upper limit speed is bigger than lower limit speed.
136
SP4603NS Protocol
Bit0 Sunday
Bit1 Monday
Bit2 Tuesday
Bit3 Wednesday
Bit4 Thursday
Bit5 Friday
Bit6 Saturday
Bit7 Reserved
GOF GOF:108000001
Format: GOF;<enable_mask>
137
SP4603NS Protocol
GOF;108000001
BMO BMO:1;1;1;1
BMO;<moving_enable>;<harsh_braker_enable>;<harsh_accel_enable>;<harsh_corner_enable>
<moving_enable>
<harsh_braker_enable>
<harsh_accel_enable>
<harsh_corner_enable>
138
SP4603NS Protocol
Note: Acceleration sensor harsh turn monitoring can monitor harsh left & right turn.
AMO AMO:1;1
<crash_ enable>
<turn_over_enable>
BDS BDS:1
139
SP4603NS Protocol
Explanation This command is to set up the actual monitoring direction of the acceleration sensor
Format: BDS;<direction>
<Direction>: range is “0 to 3”
MGE MGE:1
140
SP4603NS Protocol
Format: MGE;<mode>
<mode>
“0”: Disable
“1”: Enable
MGS MGS:1000
Explanation This command is to set initial value of mileage, device will accumulate mileage based on this value
and report to server.
Format: MGS;<data>
<data>: range is “0 to 4294967295”, Decimal ,unit is “meter”
SPO SPO:0
Format: SPO;<Mode>
<Mode>:
Note:
141
SP4603NS Protocol
(1) SPO;1: When ESM "event status sign 0" mask is valid, the mode can be set, otherwise can’t.
(2) SPO;2: When ESM "event status sign 1" mask is valid, the mode can be set, otherwise can’t.
(3) SPO;3: When ESM "event status sign 0" and "event status sign 1" mask are both valid, the
mode can be set, otherwise can’t.
SPO SPO:100;1;10
Explanation This command is to set speed range for over speed event.
Format: SPS;<Max>;<Min>;<Duration time>
ILO ILO:1
Format: ILO;<Mode>
<Mode>:
“0”:disable
“1”:enable
142
SP4603NS Protocol
ILS ILS:100;100
Explanation This command is to set the detection time to enter & exit the idle state.
<Stop time>: range is “1 to 65535”, unit is “second”, if device keep stop for this long (IG on), will
be considered as idle.
<Move time>: range is “1 to 65535”, unit is “second”, if device moving again or IG off duration
over this value, will be considered as Quit idle.
ETO ETO:1
Format: ETO;<Mode>
<Mode>:
“0”: Disable
“1”: Enable
143
SP4603NS Protocol
ETS ETS:88888:0:0;1
Explanation This command is to set initial engine hour, device will accumulate based on this value.
Range is “0:0:0 to 99999:0:0”, the <Engine hour counter> in IG ON report will accumulate base on
this value.
<I/O port>
“0”: Set DI3 as input port, only valid when “AD1/IN3” set as digital
“1”: Set DI4 as input port, only valid when “AD2/IN4” set as digital
HTM HTM:1;1
Explanation This command is to set health check packet report interval to GPRS server.
HTM;<Mode>
HTM;<Mode>;<Time>
*GS00,HTM;0#
Reply:
*GS06,356496042331108,HTM:0#
Health information:
*GS06,356496042331108,030005170613,87,SYS:SP4603NS,GPS:A;6;N23.164422;E113.428712,COT
:,AD
144
SP4603NS Protocol
C:13.00;3.40;0.00;0.00,DTT:84;C0;0;0,ETD:64#
*GS00,HTM;1;12#
Reply:
*GS06,356496042331108,HTM:1:12#
<Mode>:
<Time>: Report interval, only valid when mode set as “1”, range is “0 to 65535”, unit is hour, “0”
means do not report.
Bit Content 0 1
Explanation:
MOT_MOV: Move
MOT_STA: Still
145
SP4603NS Protocol
2D_OK:2D normal
2D_ERR:2D abnormal
Note:
Periodical health check information report: EUP7 is enabled and EMS is allowed.
AGP AGP:1
Format: AGP;<mode>
<mode>:
“1”:enable A-GPS
146
SP4603NS Protocol
Explanation This command is to save current global setting to external flash storage, 3 profile slots available.
Format: SCF;<Mode>
<Mode>: Range is “0 to 2”
Factory default:
Explanation This command is to recover global setting from external flash, it will cost some time and device
will reboot when finished.
Format: RCF;<Mode>
<Mode>: Range is “0 to 2”
Factory default:
PVM PVM:3;7C;00:00-08:30;11:30-13:30;17:30-23:59
Format:
PVM;<mode><diid><workdaymask><hh1:mm1-hh2:mm2><hh1:mm1-hh2:mm2><hh3:mm3-hh3:
mm3>
4 kinds of private mode, each mode has different trigger condition and report different to server:
0 Disable As usual
1 Full manual If digital input is “true”, device Not report GPS/GSM position,
will switch to “Full manual”
Report device status (DTT)
private mode, otherwise as
usual
147
SP4603NS Protocol
2 Half manual If digital input is “true”, and Not report GPS/GSM position,
under private hour range,
Report device status (DTT)
device will switch to “Half
manual” private mode,
otherwise as usual
Note:
4 digital input channels, range is “0 to 3”, first 2 are low level trigger, last 2 are high level trigger.
Bit0 Sunday
Bit1 Monday
Bit2 Tuesday
Bit3 Wednesday
Bit4 Thursday
Bit5 Friday
Bit6 Saturday
Bit7 Reserved
<mode>
1: Full manual
148
SP4603NS Protocol
2: Half-manual
<hh1:mm1-hh2:mm2>: Private hour period on daily basis, 3 periods valid, at least set 1 period.
3: Automatically
<hh1:mm1-hh2:mm2>: Private hour period on daily basis, 3 periods valid, at least set 1 period.
<hh1:mm1-hh2:mm2>: Private hour period on daily basis, 3 periods valid, at least set 1 period.
Note: Privacy mode trigger special events (tow, GSM jamming, front-end collision, rear end
collision, turnover, external power events) , then the device will report location information as the
normal configuration.
POB POB:1;1;4;5
149
SP4603NS Protocol
Explanation This command is to configure digital output for private mode or private activity.
Disable: POB;0
IBO IBO:0
Explanation This command is to set what is current 1wire accessory connecting: Ibutton or DS18B20
<mode>:
2: Use DS18B20
1:Fixed relevantOUT1,OUT2,OUT3
150
SP4603NS Protocol
IBI5 IBI5:000000133b29
IBI5; IBI5:000000000000
Explanation This command is to save ibutton id numbers as permit ibutton to start vehicle, 16 IDs maximum (0
to 15), ID “0” is specified for master ibutton.
Note: If the master ibutton physical touch with probe, device will enter permit ibutton input
mode, the following touch of ibuttons will be saved to permit list.
But in 5 minutes no any more input device will quit permit ibutton input mode automatically.
Format: IBO<id>;<number>
<id>:0 to 15
IBP IBP:0;0;0;0
“0” Disable, any ibutton input is able to start, device will report current GPS (LBS) position and
ibutton ID to server, digital output is disabled.
“1” Enable, device will compare input ibutton ID with permit list, if it matches vehicle is able to
start, digital output is disabled. If not match device will report current GPS (LBS) position and
illegal ID to server, meanwhile digital output active or not as peer <Toggle digital output>.
151
SP4603NS Protocol
<domode>: Digital output level, “0” represents low level, “1” represents high level.
e.g.: if set as “0” when ACC on and there is illegal ibutton input, digital output will perform low
level.
TMP TMP:100;-10;5
<Duration time>: Temperature stays inside range surpasses this value will trigger event, unit is
second, range is 1 to 65535.
SVT SVT:1800;15
Format: SVT;< the longest working hours for standby server >;<ACK time>
< the longest working hours for standby server >: the backup server for the longest time setting
when the device single successful connection, unit is second, range is “60 to 65535”.
<ACK time>: The device sends data to the remote server and waits for the time of the reply
packet. unit is second, range is “15 to 120”.
152
SP4603NS Protocol
IBE IBE:1
Format: IBE;<Mode>
<Mode>:
IBS IBS:1;4;4;5;20
Explanation This command is to set digital output mode for each output.
Format: IBS;<output1 level for relay>;<output2 level for LED when acc on>;<output3 level for
buzzer when acc on>;
<output3 level for buzzer when ibutton key presents>;<delay time to cut ignition after engine off>.
153
SP4603NS Protocol
Note: IButton key special mode is the fixed relevant OUT1, OUT2, OUT3 model for the IBO settings.
ITS0 ITS1:1;1;1;Hello
154
SP4603NS Protocol
This command is to set serial port to send a customized string when input event being triggered.
Format: ITS[ID];<interval>;<times>;<format>;<string>
0: input1 event
1: input2 event
2: input3 event
3: input4 event
<interval>: interval between multiple times output, range is 1 to 30, unit is minutes.
<times>: specify how many times to repeat sending the customized string on serial port, range is 0
to 5, value 0 means disabled.
1: ASCII
Default:
ITS0;1;0;0
ITS1;1;0;0
ITS2;1;0;0
ITS3;1;0;0
PST PST:0
155
SP4603NS Protocol
Explanation:
<deep sleeping conditions>: Hex, corresponding condition as per Bit. Any condition is satisfied
with deep sleeping, all are not satisfied with the withdrawal from deep sleeping.
Bit2: Parking
ACK ACK:1
Enable UDP response: ACK;1, data package includes serial number and ID
This function needs to set SVR command for UDP mode and enable the response.
e.g.: SVR;183.233.129.45;;6667;1;1
SCS SCS:1
Explanation This command is to set SIM card Max. toggle time of registration, note: if there is an error for SIM
card, then no need to wait for completing the toggle time of registration and switch
immediately .
156
SP4603NS Protocol
Factory default:SCS:2
DSS DSS:1
Explanation Toggling SIM card will save the current registration card serial No., you can check the current
registration card No. through DSS. In addition, if failed 5 times to send SMS or failed to link GPRS
server, indicating that the SIM card is in arrears and will switch another card automatically.
Factory default:DSS:0
PCO PCO:100
Factory default:PCO:0
157
SP4603NS Protocol
UNO0;+8613912345678 UNO0:+8613912345678
UNO1;+8613912345678 UNO1:+8613912345678
UNO0 UNO:+8613926442537
UNO0; UNO0:
UNO1; UNO1:
Explanation This command is to set up 2 users phone number
[user ID]:0-1
With the correct password, any phone number is able to use this command. When the phone
number is not the user number, this command can’t use the command combination function.
UPW UPW:1234
Explanation This command is to set user password.
Format: UPW;<password>
158
SP4603NS Protocol
Default:
UPW0;1234
UPW1;1234
MOT;2 MOT:2
Explanation This command is to configure vibration sensitivity and to realize the static and motion state
detection
Format: MOT;<Parameter>
<Parameter>:
0: Disable motion sensor, all kinds of report that relates with motion sensor will be disabled as
well. If set as “0”, device will be treated as “moving” all the time.
Format: USC[ID];<Parameter1>;<Command>
[ID]: range is “0 to 9”
159
SP4603NS Protocol
<Command>:
If in the command there is character need to be converted, it is a must to add the ”(” before
Symbol.
Short command length is 50bytes maximum, reply message length is 70bytes maximum.
send: USC;A;PRQ(,STP(;600
“A”: Parameter 1
So only sending command “password, A” equals to send commands PRQ and STP.
Note: Only support user authorization commands to set as short command. If command in
parameter 2 is not authorized to user, the message will return to ”ERR”.
Factory default:
Query reply:
FWU(rate)load: len
160
SP4603NS Protocol
FCL:0(command non-executed)
Explanation This command is only effective when device is downloading firmware file from server.
FRC:0(command non-executed)
Explanation By sending this command device will call the phone number accordingly.
<Mode>:
161
SP4603NS Protocol
ENM25 ENM25:ALARM:IO2_OFF;ALARM:IO2_ON
Explanation This command is to customize event name in the SMS message to user phone number. Message
with UNICODE format will fail to send the event information to user’s mobile phone.
Note: Combination event rename only can set on field <Event status0 name>.
Factory default:
Factory default:
162
SP4603NS Protocol
Factory default:
Factory default:
Explanation Device will reply this command by report current position. This function can directly dial the
device number, hang up after a ringing and get report information.
Factory default:
163
SP4603NS Protocol
Note: Before the first positioning, read out the value of TIM:00.00.00-00:00:00, after positioning
successfully, the time will update the current UTC time.
Device will update time as per GPS network time when fixed, otherwise this field will be
000000000000.
NAM NAM:SP4603NS
Explanation 15bytes maximum, Reset to factory default will not reset device name
<Hardware version>:8bytes
Note: There is a character that indicates the type of GPS module (Ublox or Telit) and MCU type
followed hardware version, explanation as below:
164
SP4603NS Protocol
Factory default:
Explanation The IMEI number is used by a GSM network to Identify valid devices, 15 digits.
An IMSI is usually presented as a 15 digit long number, The first 3 digits are the mobile country
code (MCC), which are followed by the mobile network code (MNC), either 2 digits
(European standard) or 3 digits (North American standard). The length of the MNC depends on
the value of the MCC. The remaining digits are the mobile subscription IDentification
number (MSIN) within the network's customer base.
Explanation Each SIM is internationally Identifier by its integrated circuit card identifier (ICCID). ICCID are
stored in the SIM cards and are also engraved or printed on the SIM card body during a process
called personalization, total for 20digits, encoding format: XXXXXX 0MFSS YYGXX XXXXX, the
first six digits are operator code.
165
SP4603NS Protocol
REG1 REG1:46000;2
REG1;<operator code>;<mode>
PLMN number and mode of the current-link network, details please refer to PLM command.
<REG status>:
1:Register successfully
4:Unknown reason
166
SP4603NS Protocol
Explanation Reply format: ADC:<External power voltage>;<battery voltage>;<AD1 pin voltage>;<AD2 pin
voltage>
Unit is “V”
Explanation “35”: Signal acquisition time from the device to boot to GPS first positioning time.
167
SP4603NS Protocol
Explanation This command is to query current status for each geo fence.
<Geo-fence status>:
The first 28 Geo-fences are assigned to “bit0 to bit27”, The rest of 128 circle Geo-fences are
assigned to “bit28 to bit155”.
The first 28 Geo-fences are assigned to “bit0 to bit27”, The rest of 128 round Geo-fences are
assigned to “bit28 to bit155”.
168
SP4603NS Protocol
JAM JAM:0
Format: JAM;<Mode>
<Mode>
0: Disable anti-jamming
1: Enable anti-jamming
TOW TOW:0
TOW;<Mode>
<Mode>
169
SP4603NS Protocol
Explanation This command is to query which profile is link with command FRL
format: PTY:SP4603NS
<Licensed status>:
“1”: Licensed
“0”: No licensed
170
SP4603NS Protocol
BLS BLS:*125#;1W;10
BLS;*125# BLS:*125#
Explanation This command is to set periodical balance notification and low balance event.
<Interval>: range “0D to 366D”, “0W to 48W”, “0M to 12M”. D=day, W=week, M=month
<Balance threshold>: range “0 to 65535”, Low than this value device will report via GPRS or SMS
periodically according to its command EUP setting, “0” means device will report current balance
periodically according to <Interval>.
BLS;<USSD command>
171
SP4603NS Protocol
Explanation This command is to set specific mode when output being activated.
Format: DOO[ID];<Mode>
“0”: OUT1
“1”: OUT2
“2”: OUT3
Factory default:
TSP TSP:0
Explanation This command is used to define thousand separator in USSD balance in order to check message
for correct balance display.
Format: TSP;<Mode>
<Mode>:
172
SP4603NS Protocol
The number must be supported by SIM card, otherwise the returned value will be null.
EPT EPT:30;3600
Explanation This command is to set packet report interval from serial port according to ACC status.
<ACC ON interval>: Tracker will only extract packet from its RS232 serial port periodically, e.g.
<30> means when ACC ON tracker accepts packet that from serial port every 30 seconds.
Unit is second, range is 0 – 999999, 0 means tracker will report if only received packet data.
<ACC OFF interval>: Tracker will only extract packet from its RS232 serial port periodically, e.g.
<3600> means when ACC OFF tracker accepts packet that from serial port every 3600 seconds.
Unit is second, range is 0 – 999999, 0 means tracker will report if only received packet data.
Explanation If device receives such command it will hang up ongoing call anyway.
173
SP4603NS Protocol
This command is to pick up the incoming call number that is not in the white list.
ECL;0;+4930367009373 ECL:0;+4930367009373
ECL;1 ECL:1;VIN10245789540124
ECL;1;VIN10245789540124 ECL:1;VIN10245789540124
ECL;2 ECL:2;FF
ECL;2;FF ECL:2;FF
0 Turn over
1 Collision
2 IO 1
3 IO 2
4 IO 3
5 IO 4
6 Reserved
174
SP4603NS Protocol
7 Reserved
Model: AGS2-W
5.4.50 Recover the parameter except the specific command to default value (RPD)
Command word Format Reply
Factory default:
ACO ACO:0
175
SP4603NS Protocol
Explanation This command is to enable ACC on as the device moving condition when 2D sensor is damaged
Format: ACO;<Mode>
<Mode>
1:Enable ACC ON as the one of the condi ons for device moving.
1.Whether the ID of 2D sensor can be read or not as the standard to judge if the 2D sensor is
damaged or not.
2.When the 2D sensor is damaged, towing and Idling can be affected too.
Factory default:ACO;0
Format: CSL;<Mode>
<Mode>:
0:Null. When the device connected with external power, this command can’t execute; When the
device disconnected with external power, GPRS cannot send this command.
When the device connected with external power, this command is invalid;
When send command, GPO can be GPO;0;0 automatically, when connect with external power, it
will detect CLS is 0 or 1, if it is 1, GPO will recover as its original status, and then clear CLS to 0; in
during of sending CLS;1, it executes the command GPO setup, then it will clear CLS to 0.
Factory default:
176
SP4603NS Protocol
PSE;0 PSE:0
<Mode>:
<Delay time>:
When ACC is off, the device enters the low power sleeping mode after delay time. The delay time
is invalid after the device is waken up and then entered sleeping every 24hours. Unit: Minute;
Range: 1-255mins
Factory default:PSE;0
PLM;0 PLM:0
46004 Null
177
SP4603NS Protocol
<Mode>
2:2G Signal
If the setting network is not available, then GSM module will automatically select the available
network connection.
PLM;0, indicates that the PLMN number is not specified, and the network connection is
automatically selected by the GSM module.
Query: PLM
(1)FOTA:
During over the air firmware upgrade process, it will not affect device current working status, and firmware
download supports “pause and resume”. Device receives upgrade command, it will download firmware from server
over GPRS, when firmware download finished device will reboot itself to initial upgrade process. If new firmware is
faulty device will restore to original firmware automatically. Related commands are FWU, FRC, FCL, OAS, OAP.
FWU command needs to pass the user name and password, only the server to confirm the user name and password
can be upgraded effectively.
FRC command is also an upgrade command, it is valid only in the case of the backup firmware integrity (i.e., the new
upgrade is not started).
178
SP4603NS Protocol
Confirm reply:
SP4603NS V2.19
FWU
EXT_PWR=0.00V
BAT=0.01V
#27
SP4603NS V2.19
Upgrade Success!
179
SP4603NS Protocol
EXT_PWR=0.00V
BAT=0.01V
#28
UnSuccess!
EXT_PWR=0.00V
BAT=0.01V
#28
Confirm reply:
EXT_PWR=0.00V
BAT=0.01V
#27
Cannot execute:
SP4603NS V2.19
FCL:0
EXT_PWR=0.00V
BAT=0.01V
#27
SP4603NS V2.19
Upgrade UnSuccess!
EXT_PWR=0.00V
180
SP4603NS Protocol
BAT=0.01V
#28
Confirm reply:
SP4603NS V2.19
FCL:1
EXT_PWR=0.00V
BAT=0.01V
#27
Cannot execute:
SP4603NS V2.19
FCL:0
EXT_PWR=0.00V
BAT=0.01V
#27
Hyper terminal upgrade (The firmware version can be same as the device fixed version).
Open Hyper Terminal path: Start - All programs - Accessories - Communication - Hyper Terminal
181
SP4603NS Protocol
182
SP4603NS Protocol
6. USER
There are 2 kinds of map hyper link available, static and dynamic. e.g.:
Static link:
Dynamic link:
URL0;http://maps.google.com/maps?q=%n(,%e&t=m&z=16
1) GPS is fixed
183
SP4603NS Protocol
If set URL1 to “Null”, send GSM information with text format; if set URL not to ” Null”, then report information
format determined by URL1 configuration
1) GPS is fixed
184
SP4603NS Protocol
SPD:0km/h 0 Speed/Heading
“T” mode
185
SP4603NS Protocol
SPD:0km/h 0 Speed/Heading
SPD:111km/h 0 Speed/Heading
#4 Consumed messages
Hyperlink format
186
SP4603NS Protocol
187
SP4603NS Protocol
7. Supplementary explanation
Necessary command for the first time usage.
The following table is for the user to add command operation at the first time, command operation can be executed
according to the user needs after setting.
7.1 Command
Mode Command word Explanation
SSN Admin number (SMS server number), to set phone number as admin
number(no need to configure)
Admin
APN Set APN, for GPRS connectivity(need to configure)
SVR GPRS server IP and port, for GPRS server report(no need to configure)
User UPW User command password, change the default user command password(need
to configure)
188
SP4603NS Protocol
Initial waiting response time command: SVT;<Standby server longest working time>;<waiting for the server response
time>. Parameter is default 15 seconds.
All data packets reported by device (such as command reply, heartbeat packet, standard packet, serial port pass-through
packet etc.) have recorded serial No.”Seq Value”, the serial No. starts from 0 and will cumulative 1 after each packet is sent.
After receiving response packet, the device confirms that the record number of response packet is the latest, then the data
is sent to the server successfully and the current network connection status is normal.
The new ACK response is only applied to UDP packet, TCP packet remains constant.
189
SP4603NS Protocol
F8 … … Packet tail …
8.5.1 Explanation
Add data ID in every packet. Accumulate from 0 to 65535 after reset and then recycle. Every time reset ID as 0. Data
ID is added to SYS data field, as long as it enables the ACK function, then add automatically no need other
configuration.
SYS: SP4603NS;V1.01;V1.01;1
System information data identifier < device name >;< firmware version >;< hardware version >;<
data ID >
<System information data segment total length><sub-data 1 identifier and data field length><sub-data 1 data
field>…
< sub-data N identifier and data length >< sub-data N data field >< data ID identifier and data field length >< data ID
value data field >
SVR;183.233.129.45;;6667;1;1
ACK;1
SVT;1800;15
191
SP4603NS Protocol
9. Event list
Main Event status Device reaction
event identifier 0 1 2 3 4 5 6 7
Tow
Norm
to
0 0 Tow al to √ √ √ √ √ √
norm
tow
al
Idle
Norm
to
1 1 Idle al to √ √ √ √ √ √
norm
Idle
al
Quit
Parki
2 2 Parking parkin √ √ √ √ √ √
ng
g
Main
0 event Over Norm
0 al to
Over spee
3 3 d to √ √ √ √ √ √
speed over
norm
al speed
GSM
Norm
jam
al to
GSM ming
4 4 GSM √ √ √ √ √ √
jamming to
jammi
norm
ng
al
5 5 Geo-fenc Null In or √ √ √ √ √ √
192
SP4603NS Protocol
e out
First
First time time
6 6 position Null positi √ √ √ √ √ √
report on
report
Health
7 7 check Null Null √ √ √ √ √
report
Harsh Harsh
0 8 Null √ √ √ √ √ √
brake brake
Harsh
Harsh
1 9 Null accele √ √ √ √ √ √
accelerate
rate
Harsh
Harsh
2 10 Null corner √ √ √ √ √ √
cornering
ing
Front
Front
Main 3 11 Null collisi √ √ √ √ √ √
collision
1 event on
1 Rear
Rear
4 12 Null collisi √ √ √ √ √ √
collision
on
Turn
5 13 Turn over Null √ √ √ √ √ √
over
ibutto
6 14 Ibutton Null n √ √ √ √ √
input
Balance Enabl
7 15 Null √ √ √ √ √ √
low e
Main Abno
External Norm
2 event 0 16 rmal √ √ √ √ √ √
power al to
2 to
abnor
norm
193
SP4603NS Protocol
al mal
Abno
Norm
rmal
Backup al to
1 17 to √ √ √ √ √ √
battery abnor
norm
mal
al
Abno
Norm
rmal
al to
2 18 AD1 to √ √ √ √ √ √
abnor
norm
mal
al
Abno
Norm
rmal
al to
3 19 AD2 to √ √ √ √ √ √
abnor
norm
mal
al
Entering
the
sleeping Enteri
mode ng
Rese
4 20 under the sleepi √ √ √ √ √ √
rve
situation ng
of Battery mode
with low
voltage
From
reg From
5 21 GSM reg to unreg √ √ √ √ √ √
unre to reg
g
6 22 Reserved
7 23 Reserved
Main Low
to High
3 event 0 24 IO1 √ √ √ √ √ √
to low
3 high
194
SP4603NS Protocol
Low
to High
1 25 IO2 √ √ √ √ √ √
to low
high
High Low
2 26 IO3 to to √ √ √ √ √ √
low high
High Low
3 27 IO4 to to √ √ √ √ √ √
low high
ON OFF
4 28 ACC to to √ √ √ √ √ √
OFF ON
Rese Reser
5 29 Reserved
rved ved
Rese Reser
6 30 Reserved
rved ved
Rese Reser
7 31 Reserved
rved ved
Tem Temp
Temperat perat eratur
4 8 32 ure ure e out √ √ √ √ √ √
sensor1 into of
range range
Tem Temp
Temperat perat eratur
5 9 33 ure ure e out √ √ √ √ √ √
sensor1 into of
range range
195
SP4603NS Protocol
range range
Tem Temp
Temperat perat eratur
11 35 ure ure e out √ √ √ √ √ √
sensor1 into of
range range
36 Reserved
37 Reserved
…
….
55 Reserved
Co
56 √ √ √ √ √ √
mb0
Co
57 √ √ √ √ √ √
mb1
Co
58 √ √ √ √ √ √
mb2
Co
Main 59 √ √ √ √ √ √
mb3
7 event
7 Co
60 √ √ √ √ √ √
mb4
Co
61 √ √ √ √ √ √
mb5
Co
62 √ √ √ √ √ √
mb6
Co
63 √ √ √ √ √ √
mb7
196
SP4603NS Protocol
10. APPENDIXES
10.1 APPENDIX1: OEM command and authorization
OEM command
197
SP4603NS Protocol
44. CTF Generate and export the current configuration file CTF × √ √
198
SP4603NS Protocol
Command Default
ID Explanation User Admin OEM
word parameter
199
SP4603NS Protocol
200
SP4603NS Protocol
Default
ID Command word Explanation User Admin OEM
parameter
201
SP4603NS Protocol
202
SP4603NS Protocol
203
SP4603NS Protocol
204
SP4603NS Protocol
SIM card error: GPS module OFF: Under iButton ID configure mode:
LED off
e.g.: GPS fixed, GPS LED will flash once, and wait for 3 seconds to flash once more.
GPS unfixed, GPS LED will flash twice continuously, and wait for 3 seconds to flash twice continuously again.
205