Академический Документы
Профессиональный Документы
Культура Документы
tio
CAREU UCAN CAREU go
5
Protocol Document lu
:0
So
10
Version: 1.0
c
/1
N
12
20
Copyright notice
Copying of this document and giving it to others and the use or communication of the contents
ns
thereof, are forbidden without express authority. Offenders are liable to the payment of damages.
tio
5
lu
:0
So
10
c
di
01
a
1/
om
/1
N
12
20
Table of Contents
ns
1. AT Command Request Message Format .................................................. 5
2. AT Command Response Message Format ............................................... 5
3. Asynchronous Position Message Format .................................................. 6
tio
4. Acknowledgement ..................................................................................... 8
5. I/O Status Table......................................................................................... 8
6. Vehicle Status Table .................................................................................. 8
5
lu
7. Heartbeat Message ................................................................................... 9
:0
8. OBD Report Data Format........................................................................ 10
So
D. Event Reserve Table ...................................................................................... 12
10
V. AT COMMANDS ......................................................................................... 13
A. SYSTEM COMMUNICATION CONFIGURATIONS ........................................ 13
c
ns
AT$MSGQ Message queue read .................................................... 31
AT$VEXT External or main power voltage read ........................... 32
AT$CV Calibrate Voltage .......................................................... 32
tio
AT$VBAT Battery voltage read (For UCAN) ................................. 33
AT$BBCTRL Backup battery ON/OFF control ................................... 33
AT$VERSION Get the firmware version of the unit. ............................ 34
5
AT$QUST
lu Query communication status ........................................ 34
:0
AT$IMEI Read device IMEI number............................................ 35
So
AT$IP Device IP query ............................................................ 35
10
4. Power Management Setting .................................................................... 36
AT$PWRM Power management settings........................................ 36
c
01
GP<n> Short command for get current position ....................... 39
AT$PDSR Position and device status reporting settings ............... 39
a
ns
9. The Way to Setup Vehicle Idling Status and Time .................................. 64
AT$IDLE Configure idle alerts...................................................... 64
AT$IDLEEN Idle alert/report enable.................................................. 65
tio
10. OBD Mode Control and Report Configuration ......................................... 66
AT$OBDMODE OBD Mode Control (For UCAN) .................................. 66
AT$OBDS Display OBD II bus scanning status ............................. 67
5
lu
AT$OBDRPT OBD Report Control (For UCAN) ................................. 67
:0
11. OBD Alerts .............................................................................................. 68
So
AT$OBDALRT OBD Alert Control (For UCAN) .................................... 68
10
AT$OBDDTC DTC Alert (For UCAN) .................................................. 69
AT$OBDGDTC Get DTC Code (For UCAN) .......................................... 70
c
01
AT$OBDPDL Acceleration Pedal Over Stepping Alert (For UCAN) .... 73
12. The Extra Application Commands .......................................................... 74
a
5
CAREU UCAN CAREU Ugo Protocol Document_V1.0
This document describes the protocol of the CAREU U Series devices. The S&T proprietary
messaging protocol is used for all communications between the base and the device. This
protocol incorporates error checking, message sequencing with full acknowledgement of
received messages on request. The base station sends messages to the device and waits
for an acknowledgement message from the device to indicate the status of the request. So
this guide covers all protocol information you need to design and set up AVL applications
incorporating the CAREU U Series devices.
ns
tio
5
lu
:0
So
10
c
di
01
a
1/
om
/1
N
12
20
1
CAREU UCAN CAREU Ugo Protocol Document_V1.0
Firmware Hardware
Date Version Whats new Version Version
Required Required
2012/06/14 0.1 Created v0.4_r23 0.4 (ES)
ns
Correct AT command statement
Fix AT$IPTYPE Command
Fix AT$BBCTRL Command
tio
Fix AT$ODO Command
2012/09/10 0.3 v0.5_r28 0.4(ES)
Fix AT$GETPDS Command
Fix AT$RESET Command
5
lu Fix AT$VBAT Command
Fix AT$PWRM Command
:0
So
Add AT$OBDS Commend
2012/9/12 1.0 v1.0_r00 A
Release
10
c
di
01
a
1/
om
/1
N
12
20
2
CAREU UCAN CAREU Ugo Protocol Document_V1.0
ns
tio
5
lu
:0
So
10
c
di
01
a
1/
om
/1
N
12
20
3
CAREU UCAN CAREU Ugo Protocol Document_V1.0
ns
A. AT Command Request/Response
tio
Each AT Command sent to the device shall be followed by a device response that may sim-
ply be the text $OKcommand, $ERRORcommand, or other response as specified in
this requirements document.
5
lu
B. Request and Response Transitions
:0
So
Each AT command request send by the server to the device, there shall have a response
from the device to the server. See the next section for the detailed message format.
10
Each Asynchronous message sent by the device to the host server via GPRS shall be
followed by an acknowledgement as defined in the Message type section if use binary
c
message format.
di
01
Each Asynchronous message sent by the device the SMS destination shall not be fol-
lowed by an acknowledgement.
a
1/
om
Server
/1
AT Command Requst
N
AT Command Reponse
12
Asynchronous Position
Message
20
Acknowledgment
Asynchronous Text
Message
Acknowledgment
4
CAREU UCAN CAREU Ugo Protocol Document_V1.0
C. Message Format
The request and response message format are different according to the AT$FORMAT
command setting. The AT$FORMAT command can specify ASCII or Binary format for all
messages. Please note that all binary message formats are described as Big-endian.
ASCII Format
Send AT command data directly without any other information.
Binary Format
ns
Byte Name Size Type Description
0 Transaction ID 2 Unsigned Integer 16-bit transaction ID
tio
2 Message Encoding 1 Unsigned Integer 0x01 AT Command
3 Message Type 1 Unsigned Integer 0x00 Request
5
4
6
lu
Data Length
Message Data
2
Variable
Unsigned Integer
Character String
Message data length
AT Command Data
:0
So
10
2. AT Command Response Message Format
ASCII Format
c
01
Binary Format
a
5
CAREU UCAN CAREU Ugo Protocol Document_V1.0
ASCII Format
<Modem_ID>, <GPS_DateTime>,<Longitude>,<Latitude>,<Speed>,<Direction>,
<Altitude>, <Satellites>,<Message ID>,<Input Status>,<Output Status>,<Analog
Input1>,<Analog Input2>,<RTC_DateTime>,<Mileage>
ns
MM : Month position was received.
<GPS
YYYYMMDDhhmmss DD : Day position was received.
DateTime>
Hh : Hour position was received.
Mm : Minute position was received.
tio
Ss : Second position was received.
5
<Latitude>
:0
<Speed> Speed in decimal kilometer per hour
So
<Direction> Direction in decimal degrees
10
<Altitude> Altitude in meters
<Satellites> Number of Satellites
c
01
Decimal value of Input Status
<Input Status>
(See I/O StatusTable Bit0..Bit7)
a
6
CAREU UCAN CAREU Ugo Protocol Document_V1.0
Binary Format
ns
18 GPS Seconds 1 Unsigned Integer 0 to 59
19 GPS Year 1 Unsigned Integer 0 to 99
20 GPS Month 1 Unsigned Integer 1 to 12
tio
21 GPS Day 1 Unsigned Integer 1 to 31
22 Latitude 4 Signed Integer 0.00001 degree units
5
26
30
Longitude
Altitude
lu 4
3
Signed Integer
Signed Integer
0.00001 degree units
Meters
:0
So
33 Speed 2 Unsigned Integer 0.1 meters per second units
35 Direction 2 Unsigned Integer 0.1 degree units
10
Meters (See AT$ODO
37 Odometer 4 Unsigned Integer
command)
c
01
43 I/O Status 2 Unsigned Integer See I/O StatusTable
45 Vehicle Status 1 Bit Mask See Vehicle StatusTable
a
1/
Backup Battery
48 2 Unsigned Integer 0.001 voltage units
voltage
50 RTC Hour 1 Unsigned Integer 0 to 23
/1
7
CAREU UCAN CAREU Ugo Protocol Document_V1.0
4. Acknowledgement
ns
The acknowledge message for ASCII format only used for Heartbeat.
tio
0 Header1 1 Unsigned Integer 0xFA
1 Header2 1 Unsigned Integer 0xF8
2 Sequence ID 2 Unsigned Integer 0 to 65535
5
4
lu
Modem ID 4 Unsigned Integer
See AT$MODID
:0
command
So
10
5. I/O Status Table
c
ASCII Format
di
01
Input Status
Bit Description
a
1/
0 Ignition Status
om
Binary Format
/1
Bit Description
N
0 Ignition Status
12
Binary Format
8
CAREU UCAN CAREU Ugo Protocol Document_V1.0
7. Heartbeat Message
ASCII Format
Binary Format
ns
Byte Name Size Type Description
0 Transaction ID 2 Unsigned Integer 16-bit transaction ID
tio
0x00 Binary Position
2 Message Encoding 1 Unsigned Integer
Data
3 Message Type 1 Unsigned Integer 0x02 Asynchronous
5
4
lu
Modem ID 8 Unsigned Integer
Modem ID or IMEI
:0
(64Bits)
So
0xAB (Heartbeat
12 Message ID 2 Unsigned Integer
Message ID)
10
14 Data Length 2 Unsigned Integer 16-bit data length (6)
16 RTC Hour 1 Unsigned Integer 0 to 23
c
01
18 RTC Seconds 1 Unsigned Integer 0 to 59
19 RTC Year 1 Unsigned Integer 0 to 99
a
9
CAREU UCAN CAREU Ugo Protocol Document_V1.0
The OBD report data is appended to the S&T Asynchronous Position Message.
For ASCII format, every byte is converted into two hexadecimal ASCII characters,
e.g. 0A to represent hex value of 0x0A, and data fields are separated by comma (,).
Format
ns
Lamp (MIL) status Bit 6~0: number of DTCs
tio
Engine coolant = value - 40
3 1
temperature Range: -40 ~ 215
5
4
lu
Fuel pressure 1 kPa
= value * 3
:0
Range: 0~ 765
So
Intake manifold absolute = value
5 1 kPa
10
pressure Range: 0 ~ 255
= value / 4
6 Engine RPM 2 rpm
c
Range: 0 ~ 16383
di
01
= value
7 Vehicle speed 1 km/h
Range: 0 ~ 255
a
1/
= value 40
8 Intake air temperature 1
om
= value / 100
9 MAF air flow rate 2 g/sec
/1
Range: 0 ~ 655.35
N
= value
14 Barometric pressure 1 kPa
Range: 0 ~ 255
10
CAREU UCAN CAREU Ugo Protocol Document_V1.0
= value / 1000
15 Control module voltage 2 volt
Range: 0 ~ 65.535
= value 40
16 Ambient air temperature 1
Range: -40 ~ 215
= value * 0.1
18 Total fuel used 2 Liter
Range: 0 ~ 6553.5
= value
19 OBD odometer 2 km
ns
Range: 0 ~ 65535
tio
Total Length 28
5
lu
:0
Note:
So
1. The vehicle manufacturers may not provide all of the OBD data listed above.
Please consult your vehicle manufacturers for more information.
10
2. Total fuel used is only supported on gasoline/petrol engines.
c
di
01
a
1/
om
/1
N
12
20
11
CAREU UCAN CAREU Ugo Protocol Document_V1.0
ns
66 Duration 2 ed speed threshold in
seconds.
External Voltage in
62 Main/Ext Voltage 2
tio
millivolts
AT$POWER
Battery Voltage in
64 Battery Voltage 2 millivolts
62 X-G Force 1
5
63
lu
Y-G Force 1 AT$IMPDET
:0
64 Z-G Force 1
So
62 OBD data 28 OBD II reading AT$OBDRPT
10
c
di
01
a
1/
om
/1
N
12
20
V. AT Commands
12
CAREU UCAN CAREU Ugo Protocol Document_V1.0
The following shows all S&T proprietary AT command for CAREU U Series devices.
Please note that all changed parameters won't be saved into the non-volatile memory until
issue SAVE command.
AT$MODID Modem ID
ns
Write Command:
AT$MODID=<Modem ID>
Syntax
tio
Read Command:
AT$MODID?
5
lu
Up to 20 digit modem ID. This number must be
resolvable to a 64 bit unsigned integer. Note: for
:0
Parameters <Modem ID> ASCII format, the maximum value allowed for
So
MODID is 4294967295 (Decimal value) since
ASCII heart beat Modem ID only allows 4 bytes.
10
Write Command:
OKMODID
c
di
01
Read Command:
Return Value OKMODID
$MODID=<Modem ID>
a
1/
Error Response:
om
ERRORMODID
/1
AT$MODID=1010000001
OKMODID
N
Example AT$MODID?
OKMODID
12
$MODID=1010000001
Note
20
13
CAREU UCAN CAREU Ugo Protocol Document_V1.0
This command is used to set PIN code for the SIM card. When the
device start to register to the cellular network, the device will send this
Description
PIN code to unlock the SIM card and start to register to the cellular
network.
Write Command:
AT$PIN=<PIN Code>
Syntax
Read Command:
ns
AT$PIN?
tio
(Max 7 characters)
Write Command:
OKPIN
5
lu
Read Command:
:0
Return Value OKPIN
So
$PIN=<PIN Code>
10
Error Response:
ERRORPIN
c
AT$PIN=0000
Example
di
01
OKPIN
Note
a
1/
om
/1
N
12
20
14
CAREU UCAN CAREU Ugo Protocol Document_V1.0
This command is used to set or query the device for its APN (Access
Description Point Name) and authorization information for GPRS connection. The
information is provided by GPRS service operator.
Write Command:
AT$APN=<APN>,<User Name>,<Password>
Syntax
Read Command:
AT$APN?
Access Point Name
<APN>
ns
(Max 35 characters)
GPRS login user name
Parameters <User Name>
(Max 30 characters)
tio
GPRS login password
<Password>
(Max 30 characters)
Write Command:
5
lu
OKAPN
:0
Read Command:
So
Return Value $APN=<APN>,<User Name>,<Password>
OKAPN
10
Error Response:
c
ERRORAPN
di
01
AT$APN=gprs.internet.com,user,pass
OKAPN
a
Example
AT$APN?
1/
OKAPN
om
$APN=gprs.internet.com,user,pass
Note
/1
N
12
20
15
CAREU UCAN CAREU Ugo Protocol Document_V1.0
Write Command:
AT$SMSDST=<Address>
Syntax
Read Command:
AT$SMSDST?
ns
Phone number or SMS short code
Parameters <Address>
(Max 20 characters)
Write Command:
tio
OKSMSDST
Read Command:
5
Return Value
lu
OKSMSDST
$SMSDST=<Address>
:0
So
Error Response:
ERRORSMSDST
10
AT$SMSDST=+886123456789
OKSMSDST
c
Example
di
01
AT$SMSDST?
OKSMSDST
$SMSDST=+886123456789
a
1/
om
unit, and the number the unit sends the data when tracking via SMS.
N
12
20
16
CAREU UCAN CAREU Ugo Protocol Document_V1.0
Write Command:
AT$SMSLST=<Index>,<Address>,<Response En>
Syntax
Read Command:
ns
AT$SMSLST?
tio
Phone Number or SMS short code
Parameters <Address>
(Max 20 characters)
0 Response to SMSDST
<Response En>
5
lu 1 Response to SMSLST
:0
Write Command:
So
OKSMSLST
10
Read Command:
Return Value OKSMSLST
$SMSLST=<Index>,<Address>,<Response En>
c
di
01
Error Response:
ERRORSMSLST
a
AT$SMSLST=1,+886123456789,0,0
1/
OKSMSLST
om
Example
AT$SMSLST?
/1
OKSMSLST
$SMSLST=1,+886123456789,0,0
N
Note
12
20
17
CAREU UCAN CAREU Ugo Protocol Document_V1.0
Write Command:
AT$GPRSEN=<Option>
Syntax
ns
Read Command:
AT$GPRSEN?
tio
0 SMS
<Option>
1 GPRS & SMS
GPRS data report sequence
Parameters
0 New tracking and alert will be first priority to
5
lu
<GPRS_TX_SEQ>
report
:0
1 First in first out
So
Write Command:
10
OKGPRSEN
Read Command:
c
01
Error Response:
a
ERRORGPRSEN
1/
om
AT$GPRSEN=1
OKGPRSEN
/1
Example
AT$GPRSEN?
N
OKGPRSEN
$GPRSEN=1
12
Note
20
18
CAREU UCAN CAREU Ugo Protocol Document_V1.0
ns
Index of Host in List
<Index>
(1~10)
tio
Specify if the Host Address is in IP or FQDN format
0 Specify IP address as the Host Address
<FQDN>
Parameters 1 Specify FQDN (e.q. systech.com.tw) as the
Host Address
5
lu
<Host Address>
IP address or FQDN of the host
:0
(Max 29 characters)
So
<Port> TCP/UDP port (0 ~65535)
10
Write Command:
OKHOSTS
c
Read Command:
di
01
OKHOSTS
$HOSTS=1,<FQDN>,<Host Address>,<Port>
.
a
Return Value
1/
.
om
.
$HOSTS=10,<FQDN>,<Host Address>,<Port>
OKHOSTS
/1
Error Response:
N
ERRORHOSTS
12
20
19
CAREU UCAN CAREU Ugo Protocol Document_V1.0
AT$HOSTS=1,0,123.45.67.89,5000
OKHOSTS
AT$ HOSTS?
OKHOSTS
$HOSTS=1,0,123.45.67.89,5000
$HOSTS=2,1,systech.com.tw,6000
$HOSTS=3,0.0.0.0,0
Example
$HOSTS=4,0.0.0.0,0
$HOSTS=5,0.0.0.0,0
$HOSTS=6,0.0.0.0,0
$HOSTS=7,0.0.0.0,0
$HOSTS=8,0.0.0.0,0
ns
$HOSTS=9,0.0.0.0,0
$HOSTS=10,0.0.0.0,0
HC=2
tio
An HC=N will be displayed to indicate the current host being used to
Note
establish the connection.
5
lu
:0
AT$IPTYPE GPRS TCP/UDP packet type selection
So
Description This command specifies the GPRS IP type used for host communication.
10
Write Command:
AT$IPTYPE=<Type>
Syntax
c
Read Command:
di
01
AT$IPTYPE?
0 (reserved) *1
Parameters <Type>
1 TCP
a
1/
Write Command:
om
OKIPTYPE
Read Command:
/1
$IPTYPE=<Type>
12
Error Response:
ERRORIPTYPE
AT$IPTYPE=1
20
OKIPTYPE
Example
AT$IPTYPE?
OKIPTYPE
$IPTYPE=1
Note Please reboot device after change IPTYPE.
*1 The device does not support UDP connection at this moment, Please contact
Systech for futher information..
20
CAREU UCAN CAREU Ugo Protocol Document_V1.0
ns
0 ASCII format (IntelliTrac X Series format)
Parameters <Format>
1 Binary format
tio
Write Command:
OKFORMAT
Read Command:
5
Return Value
lu
OKFORMAT
$FORMAT=<Format>
:0
So
Error Response:
10
ERRORFORMAT
AT$FORMAT=0
c
OKFORMAT
di
01
Example
AT$FORMAT?
OKFORMAT
a
$FORMAT=0
1/
Note
om
/1
N
12
20
21
CAREU UCAN CAREU Ugo Protocol Document_V1.0
Write Command:
AT$HB=<Period>,<Reserved>
Syntax
Read Command:
AT$HB?
ns
Time Period in seconds between Heartbeats trans-
mits. Setting the Period to 0 disables the Heartbeat.
tio
First heartbeat will be sent when the time after the
<Period> last communications from the device exceeds the
Parameters specified period of time.
0 - Disable
5
lu (1 65535)\
:0
<Reserved>
So
Write Command:
10
OKHB
c
Read Command:
Return Value OKHB
di
01
$HB=<Period>,<Reserved>
Error Response:
a
1/
ERRORHB
om
AT$HB=60,0
OKHB
/1
Example
AT$HB?
N
OKHB
$HB=60,0
12
First message sent to server is always the heart beat (HB) message.
Server must ACK (acknowledge) heart beat message back to Useries
20
for unit to start send tracking data. Even when setting AT$HB=0,0 U
series will send first message as heart beat and server must ACK to
this heart beat message, just to let U series know that it is sending
Note
data to the correct server.
Heart Beat setting will affect AT$PWRM command, please be noted.
Heart Beat message serves as a first handshake to let Useries know
that it is communicating with the correct server; it is also used to keep
session alive with server.
22
CAREU UCAN CAREU Ugo Protocol Document_V1.0
This command defines the number of retries and time between each
retry when sending a message to a Host Server. The device shall wait
Description
for the appropriate acknowledgement/response from the host after
sending a message.
Write Command:
AT$RETRY=<Max Retries>,<Retry Interval>
Syntax
Read Command:
AT$RETRY?
ns
Maximum number of retries for each server.
<Max Retries>
(1~255)
tio
Parameters
Time in seconds between each retry.
<Retry Interval>
(1~255)
5
lu
Write Command:
OKRETRY
:0
So
Read Command:
Return Value OKRETRY
10
$RETRY=<Max Retries>,<Retry Interval>
Error Response:
c
ERRORRETRY
di
01
AT$RETRY=2,30
OKRETRY
a
1/
Example
AT$RETRY?
om
OKRETRY
$RETRY=2,30
/1
Note
N
12
20
23
CAREU UCAN CAREU Ugo Protocol Document_V1.0
ns
<Roaming 1 Only SMS allowed under roaming mode
Allowed> 2 Only GPRS allowed under roaming mode
3 No communication allowed under roaming mode
tio
0 Disable auto switch
<SMS/GPRS
1 Auto switch between SMS and GPRS reporting
Parameters Auto switch>
when GPRS network is available or not.
5
lu 0 - Disable
1 ~ 255 Time multiplier
:0
<Reduce SMS> When switched to SMS, the real time tracking
So
report will follow the time interval of PDSR times
<Reduce SMS>.
10
Write Command:
OKNETCFG
c
di
01
Read Command:
OKNETCFG
Return Value
$NETCFG=<Roaming Allowed>,<SMS/GPRS Auto switch>,<Reduce
a
SMS>
1/
om
Error Response:
ERRORNETCFG
/1
AT$NETCFG=1,1,10
Example
OKNETCFG
N
Note
12
20
24
CAREU UCAN CAREU Ugo Protocol Document_V1.0
ns
Write Command:
AT$FILTER=<Min Satellites>,<Max Speed>,<Reserved>,
<Reserved>
tio
Syntax
Read Command:
AT$FILTER?
5
lu Minimum number of satellites required for a valid
GPS position. If the satellite count for a position
:0
<Min Satellites> fix is less than this threshold, the GPS point is
So
considered invalid.
10
(1~255)
Maximum speed (in 0.1 meters/second units) ex-
Parameters pected. Any speed received that is greater than
c
01
[ (Kilometer per Hour) / 0.36]
(1~65535)
<Reserved>
a
1/
<Reserved>
om
Write Command:
OKFILTER
/1
Read Command:
N
Error Response:
ERRORFILTER
20
AT$FILTER=4,450,0,0
Example
OKFILTER
Note
25
CAREU UCAN CAREU Ugo Protocol Document_V1.0
ns
0 Disable
1 Enable reset of odometer when ignition
<IGN Reset>
status transitions from off to on.
tio
(Default - 0)
Parameters 0 Disable
1 Enable reset of odometer when engine
5
<EGN Reset>
:0
So
Calculated OBD odometer in meters.
<OBD odometer>
(0~4294967295)
10
<OBD fuel used> Calculated fuel consumption in liters.
c
Write Command:
OKODO
di
01
Read Command:
a
OKODO
Return Value
1/
Error Response:
/1
ERRORODO
N
AT$ODO=0,1,1,0,0
OKODO
12
Example
AT$ODO?
OKODO
20
$ODO=1235,1,1,1235,1.008
26
CAREU UCAN CAREU Ugo Protocol Document_V1.0
ns
(Max 50 characters)
AT$URL=http://www.st-fleetweb.com/pt/?q=
tio
OK:URL
Example
Example returning string:
5
lu
http://www.st-fleetweb.com/pt/
?q=1100000001,20110223093149,121.64546,25.06236, 04,0
:0
So
10
c
di
01
a
1/
om
/1
N
12
20
27
CAREU UCAN CAREU Ugo Protocol Document_V1.0
ns
Pass-through mode.
tio
0 GLL
1 GGA
<NMEA> 2 GSA
5
lu
Parameters 3 GSV
4 VTG
:0
5 RMC
So
6 Reserved
10
7 Reserved
c
01
Write Command:
OKGPSPT
a
1/
om
Read Command:
Return Value OKGPSPT
$GPSPT=<NMEA>,<Duration>
/1
Error Response:
N
ERRORGPSPT
12
AT$GPSPT=127,1
Example
OKGPSPT
20
Note
28
CAREU UCAN CAREU Ugo Protocol Document_V1.0
This command is use to restart the device. The device will be reboot
after receiving the AT$REBOOT command for 2 seconds to allow
Description
time to acknowledge the request. The parameter settings will not be
erased after this reboot.
Write Command:
Syntax
AT$REBOOT
Parameters None
Write Command:
ns
OKREBOOT
Return Value
Error Response:
tio
ERRORREBOOT
AT$REBOOT
Example
OKREBOOT
5
Note
lu
:0
So
AT$RESET Reset device
10
This command is use to reset all parameters to manufactory default
Description
settings.
c
Write Command:
Syntax
di
01
AT$RESET=<Option>
0 Reset all parameters to manufactory default and
clear all data queue.
a
1/
Write Command:
/1
OKRESET
Return Value
N
Error Response:
12
ERRORRESET
AT$RESET=0
Example
OKRESET
20
29
CAREU UCAN CAREU Ugo Protocol Document_V1.0
Write Command:
Syntax
AT$MSGQCL=<Mode>
ns
Return Value
Error Response:
ERRORMSGQCL
tio
Clear All messages
AT$MSGQCL
OKMSGQCL
5
lu AT$MSGQCL=0
:0
OKMSGQCL
So
Example
Clear Report messages only
10
AT$MSGQCL=1
OKMSGQCL
c
01
AT$MSGQCL=2
OKMSGQCL
a
Note
1/
om
Write Command:
Syntax
AT$SAVE
12
Parameters None
Write Command:
20
OKSAVE
Return Value
Error Response:
Example
Please note that all changed parameters wont be saved into the
Note
non-volatile memory until issue this command is issued.
30
CAREU UCAN CAREU Ugo Protocol Document_V1.0
ns
OKDNS
$DNS=<Primary DNS IP>,<Secondary DNS IP>
Return Value
tio
Error Response:
ERRORDNS
Example
5
lu
:0
AT$MSGQ Message queue read
So
This command is used to query the number of current message
10
Description
buffer.
Read Command:
Syntax
c
AT$MSGQ?
di
01
<Reserved> Reserved for further use
Parameters <Number of Number of messages pending in the
a
Read Command:
om
OKMSGQ
$MSGQ=<Reserved>,<Number of Messages>
Return Value
/1
Error Response:
N
ERRORMSGQ
Example
12
Note
20
31
CAREU UCAN CAREU Ugo Protocol Document_V1.0
ns
ERRORVEXT
AT$VEXT?
Example $VEXT=12995
tio
OKVEXT
Note
5
lu
:0
AT$CV Calibrate Voltage
So
Description To calibrate the external analog line or main power voltage reading
10
Write Command:
AT$CV=<Voltage Line>,<Measured Voltage>
c
Syntax
di
01
Read Command:
AT$CV?
The voltage line to be calibrated. (Only 0, the
a
<Measured
Measured voltage reading in millivolts
Voltage>
/1
Write Command:
OK:CV
N
12
Read Command:
Return Value OKCV
$CV=<Line>,<Voltage>
20
Error Response:
ERRORCV
Calibrate main power voltage to the measured value of 11.99V
Example AT$CV=0,11990
OKCV
Note
32
CAREU UCAN CAREU Ugo Protocol Document_V1.0
ns
Error Response:
ERRORVBAT
AT$VBAT?
tio
Example OKVBAT
$VBAT=4152
Must confirm the version installed battery, Otherwise it would not
5
Note
lu
support the related functio
:0
So
AT$BBCTRL Backup battery ON/OFF control
10
Description This command is used to turn ON/OFF the internal backup battery.
c
Write Command:
AT$BBCTRL=<Battery Control>
di
01
Syntax
Read Command:
a
AT$BBCTRL?
1/
om
Write Command:
N
OKBBCTRL
12
Read Command:
Return Value OKBBCTRL
$BBCTRL=<Battery Control>
20
Error Response:
ERRORBBCTRL
AT$BBCTRL=1
OKBBCTRL
Example
AT$BBCTRL?
OKBBCTRL
$BBCTRL=1
33
CAREU UCAN CAREU Ugo Protocol Document_V1.0
Read Command:
Syntax
AT$VERSION
Parameters None
ns
$VERSION=<FW Version>,<HW Version>,<GSM Version>,<GSM
Return Value
FW Version>,<ModelProduct Nname>
tio
AT$VERSION
Example $OKVERSION
$VERSION=v0.5r31,v0.5,G100,07.60.02,UCAN
5
lu
:0
So
AT$QUST Query communication status
10
Description Execute this command to query GSM/GPRS connection status.
Read Command:
c
Syntax
AT$QUST
di
01
Parameters None
Read Command:
a
0 Disconnected
Return Value Network Registration state :
N
0 Not registered.
1 Registered.
12
AT$QUST
Example $OK : QUST
$QUST=TW Mobile,28,1,1
34
CAREU UCAN CAREU Ugo Protocol Document_V1.0
ns
$IMEI=355117003358879
tio
AT$IP Device IP query
This command is used to query the device for its local IP address
Description assigned by the cell tower. This IP address is valid when GPRS
5
lu
connection is established.
:0
Read Command:
So
Syntax
AT$IP?
10
Parameters <Local IP> IP Address assigned to the device.
Read Command:
c
01
AT$IP?
Example OKIP
a
$IP=10.2.16.250
1/
om
/1
N
12
20
35
CAREU UCAN CAREU Ugo Protocol Document_V1.0
Write Command:
AT$PWRM=<Ignition Inactive Duration>,<No Motion Duration>,<No
Comm Duration>[,
<Low Wake Duration>,<Low On Duration>, <Low Transition Duration>,
Syntax
<VLow Wake Duration>,<VLow On Duration>]
Read Command:
ns
AT$PWRM?
tio
off, prior to transitioning to low power.
Inactive
0 - Disable
Duration>
(1~255)
5
lu
<No Motion
Duration in minutes that must have elapsed after no
motion is detected prior to transitioning to low power.
:0
Duration> 0 - Disable
So
(1~255)
10
Duration in minutes that must have elapsed after no com-
<No Comm munication is detected prior to transitioning to low power.
Duration> 0 - Disable
c
(1~255)
di
01
Duration in minutes for waking up when in low power
<Low Wake
mode.
Duration>
a
(1~255)
1/
om
36
CAREU UCAN CAREU Ugo Protocol Document_V1.0
Write Command:
OKPWRM
Read Command:
OKPWRM
Return $PWRM=<Ignition Inactive Duration>,<No Motion Duration>,<No Comm
Value Duration>,
<Low Wake Duration>,<Low On Duration>, <Low Transition Duration>,
<VLow Wake Duration>,<VLow On Duration>
Error Response:
ERRORPWRM
ns
AT$PWRM=3,3,1,3,3,6,3,3
Example
OKPWRM
tio
Notes
unit by motion when it enters LOW or VLOW power saving modes.
5
lu
5. To Get Position and Setup Device for Regular Tracking
:0
So
AT$GETPDS Get position and device status
10
Description This command is used to get current position or history log data.
Write Command:
c
01
Duration in minutes of points to retrieve. If no
date and time is specified, points retrieved
a
<Duration>
beginning at the specified date and time should
be retrieved.
0 Stop report queue from Log data queue.
/1
(1 to 10000)
N
Parameters (0 to 99)
Month at which to retrieve position and device
< Month> status.
20
(1 to12)
Day at which to retrieve position and device
< Day> status.
(1 to 31)
Hour at which to retrieve position and device
< Hour> status.
(0 to 23)
37
CAREU UCAN CAREU Ugo Protocol Document_V1.0
Write Command:
Asynchronous Position Message
Return Value
Error Response:
ERRORGETPDS
ns
101000001,20100304075605,121.64547,25.06200,0,0,61,7,2,1,0,0.
054,0.000,20100304075606,0
tio
AT$GETPDS=5
OKGETPDS
101000001,20100304075545,121.64547,25.06200,0,0,61,7,2,1,0,0.
046,0.000,20100304075546,0
5
Example
lu
101000001,20100304075555,121.64547,25.06200,0,0,61,7,2,1,0,0.
:0
046,0.000,20100304075556,0
So
101000001,20100304075605,121.64547,25.06200,0,0,61,7,2,1,0,0.
10
054,0.000,20100304075606,0
OKGETPDS Data
c
01
AT$GETPDS=0
OKGETPDS
a
Note
1/
om
/1
N
12
20
38
CAREU UCAN CAREU Ugo Protocol Document_V1.0
ns
4 Garmin Peer to peer Format (not ready yet)
5~8 Reserved for further use
9 Standard Asynchroneous Position Message Format
tio
Example
5
Note
lu
:0
So
10
AT$PDSR Position and device status reporting settings
01
ment and minimum distance requirement
Write Command:
a
Syntax Multiplier>,<IgnoreGPS>]
Read Command:
/1
AT$PDSR?
N
0 Disable
Bit 0 Time Mode
12
39
CAREU UCAN CAREU Ugo Protocol Document_V1.0
ns
according to the <Min. Time> setting, the PDSR
GPRS messages will be sent according to
<Min. Time> times n. (2 65535)
tio
0 Continuously tracking regardless of
<IgnoreGPS> GPS signal.
1 Ignore no GPS signal tracking report.
5
lu
Write Command:
:0
OKPDSR
So
Read Command:
10
OKPDSR
Return Value
$PDSR=<Mode>,<Min. Time>,<Min. Distance>,<Heading Change>,
c
01
Error Response:
ERRORPDSR
a
AT$PDSR=1,30,0,20,2,0,0,1,0
OKPDSR
Example
/1
AT$PDSR=1,15,0,20,3,0,0,4,0
OKPDSR
12
mum amount of time has elapsed and the minimum distance has
been traveled.
40
CAREU UCAN CAREU Ugo Protocol Document_V1.0
Write Command:
AT$ LPRC =< Enable >,<Action>[,< Reserve >,<Force Connection>]
Syntax
Read Command:
AT$ LPRC?
ns
0 Disable
Bit 0 Send 193 (going into low) report to server.
<Enable> Bit 1 Send 194 (very low wake up) report
tio
to server.
Bit 2 Send 201 (low wake up ) report to server.
1 Logging
5
lu
When the alert condition is true, log the most
recent GPS position to non-volatile flash memory
:0
for future retrieval.
So
2 Polling
When the alert condition is true, send the latest
10
<Action>
GPS position to the remote base station.
Parameters 3 Logging + polling
When the alert condition is true, log the most
c
01
and send the latest GPS position to the remote
base station.
a
0 Disable
Bit 0 Reserved
<Force
/1
(Default is 0)
12
Write Command:
OKLPRC
20
Read Command:
Return Value OKLPRC
$ LPRC =< Enable >,<Action>,<Schedule>,<Force Connection>
Error Response:
ERRORLPRC
41
CAREU UCAN CAREU Ugo Protocol Document_V1.0
Note
ns
tio
5
lu
:0
So
10
c
di
01
a
1/
om
/1
N
12
20
42
CAREU UCAN CAREU Ugo Protocol Document_V1.0
Read Command:
Syntax
AT$IGN?
<reserved> reserved
ns
Parameters Current input 1 status
<Status> 0 Input 1 Off
1 Input 1 On
tio
Read Command:
OKIGN
5
Return Value
lu
$IGN=<Debounce Time>,<Status>
:0
Error Response:
So
ERRORIGN
10
AT$IGN?
Example OKIGN
c
$IGN=0,1
di
01
Note UCAN Only
a
1/
om
/1
N
12
20
43
CAREU UCAN CAREU Ugo Protocol Document_V1.0
Write Command:
AT$IGNEN=<Option>,<Action>[,<Schedule>,<Force Connection>]
Syntax
Read Command:
AT$IGNEN?
0 Disable
<Option>
1 Enable
ns
1 Logging
When the alert condition is true, log the most recent
GPS position to non-volatile flash memory for future
tio
retrieval.
2 Polling
<Action> When the alert condition is true, send the latest GPS
position to the remote base station.
5
Parameters
lu 3 Logging + polling
When the alert condition is true, log the most recent
:0
GPS position to non-volatile flash memory and send
So
the latest GPS position to the remote base station.
10
<Schedule> Reserve for future used.
0 Disable
c
Bit 0 Reserved
<Force
di
01
Bit 1 Send SMS Report
Connection>
Bit 2 Send Serial Report
(Default is 0)
a
1/
Write Command:
om
OKIGNEN
Read Command:
/1
Error Response:
ERRORIGNEN
AT$IGNEN=1,2,0,0
Example
20
OKIGNEN
44
CAREU UCAN CAREU Ugo Protocol Document_V1.0
Set or query engine on-off alert. For U-GO this is the only way to
Description
detect engine status.
Write Command:
AT$EGN=<engine on voltage>,<on duration>,<engine off
Syntax voltage>,<off duration>
Read Command:
AT$EGN?
ns
In millivolts. Engine is on if main power voltage is
<engine on
higher than this setting.
voltage>
(1~30000)
tio
In seconds. The above on voltage must be maintained
<on
for this period of time to be accepted as engine on.
duration>
(1~255)
5
Parameters
lu
<engine off
In millivolts. Engine is off if main power voltage falls
below this setting.
:0
voltage>
(1~30000)
So
In seconds. The above off voltage must be maintained
<on
10
for this period of time to be accepted as engine off.
duration>
(1~255)
c
0: engine off
<status>
1: engine on
di
01
Write Command:
a
OK:EGN
1/
Read Command:
om
OK:EGN
Error Response:
N
ERROREGN
12
Set engine on at 13.7 volts or higher, 12.5 volts or lower for engine
off, and each must hold on for a period of 10 seconds.
Example
AT$EGN=13700,10,12500,10
20
OK:EGN
45
CAREU UCAN CAREU Ugo Protocol Document_V1.0
Write Command:
AT$EGNEN=<Option>,<Action>[,< Reserve >,<Force Connection>]
Syntax
Read Command:
AT$EGNEN?
0 Disable
<Option>
1 Enable
ns
1 Logging
When the alert condition is true, log the most recent
GPS position to non-volatile flash memory for future
tio
retrieval.
2 Polling
<Action> When the alert condition is true, send the latest GPS
position to the remote base station.
5
Parameters
lu 3 Logging + polling
When the alert condition is true, log the most recent
:0
GPS position to non-volatile flash memory and send
So
the latest GPS position to the remote base station.
10
< Reserve >
0 Disable
c
Bit 0 Reserved
<Force
di
01
Bit 1 Send SMS Report
Connection>
Bit 2 Send Serial Report
(Default is 0)
a
1/
Write Command:
om
OKEGNEN
Read Command:
/1
Error Response:
ERROREGNEN
AT$EGNEN=1,2,0,0
Example
20
OKEGNEN
46
CAREU UCAN CAREU Ugo Protocol Document_V1.0
ASCII Format:
Parameter Format Description
Ext Voltage ##### External Voltage in millivolts
Note
Binary Format:
Name Size Type Description
Unsigned External Voltage in
Ext Voltage 2
ns
Integer millivolts
tio
5
lu
:0
So
10
c
di
01
a
1/
om
/1
N
12
20
47
CAREU UCAN CAREU Ugo Protocol Document_V1.0
Write Command:
AT$SPEED=<set threshold>,<clear threshold>
Syntax
Read Command:
AT$SPEED?
ns
In 0.1 meter/sec. Alert is triggered if speed is over the
<set
set threshold.
threshold>
(1~65535)
Parameters
tio
In 0.1 meter/sec. Alert is cleared if speed falls below
<clear
the clear threshold.
threshold>
(1~65535)
5
lu Write Command:
OK:SPEED
:0
Read Command:
So
Return Value $SPEED=<set threshold>,<clear Threshold>
10
OK:SPEED
Error Response:
ERROR : SPEED
c
01
Example AT$SPEED=292,277
OK:SPEED
a
Note
1/
om
/1
N
12
20
48
CAREU UCAN CAREU Ugo Protocol Document_V1.0
ns
device FIRST exceeded the <Set Threshold> speed, not after the
<Duration> time had been satisfied.
tio
The second notification is the speeding report notification and is
transmitted as soon as the device has fallen below the <Clear
Threshold> speed for a time period >= <Duration>. The report no-
tification will send the time, location, and speed values as well as
5
lu
max. speed and average speed that were collected when the device
FIRST fell below the <Set Threshold> speed, not after the <Dura-
:0
tion> time had been satisfied
So
Write Command:
10
AT$SPEEDEN=<Option>,<Action>[,< Reserve >,<Force Connec-
tion>]
Syntax
c
Read Command:
di
01
AT$SPEEDEN?
0 Disable
<Option>
1 Enable
a
1/
1 Logging
om
2 Polling
N
<Action> When the alert condition is true, send the latest GPS
position to the remote base station.
12
3 Logging + polling
Parameters When the alert condition is true, log the most recent
GPS position to non-volatile flash memory and send
the latest GPS position to the remote base station.
20
0 Disable
Bit 0 Reserved
<Force
Bit 1 Send SMS Report
Connection>
Bit 2 Send Serial Report
(Default is 0)
49
CAREU UCAN CAREU Ugo Protocol Document_V1.0
Write Command:
OK:SPEEDEN
Read Command:
Return Value OK:SPEEDEN
$SPEEDEN=<Option>,<Action>,< Reserve >,<Force Connection>
Error Response:
ERROR:SPEEDEN
Speeding Report Format:
ns
<Average_Speed> +
<Duration>
tio
ASCII Format:
Parameter Format Description
Maximum Speed ##### Meters per second units
Average Speed ##### Meters per second units
5
luDuration #####
Duration device exceeded speed
threshold in seconds.
:0
Note
So
Binary Format:
10
Name Size Type Description
Maximum 0.1 meters per
2 Unsigned Integer
Speed second units
c
01
Duration device
exceeded speed
Duration 2 Unsigned Integer
a
threshold in
1/
seconds.
om
/1
N
12
20
50
CAREU UCAN CAREU Ugo Protocol Document_V1.0
Write Command:
1. Config. geofence:
AT$GF=<Group number>,-1,<Type>,<Delay>,<Minimum Move-
ment>[,...]
CM
a. Circle: AT$GF=<Group number>,-1,1,<Delay>,<Minimum
Movement>,<Entry Radius>,<Exit Radius>
b. Polygon: AT$GF=<Group number>,-1,2,<Delay>,<Minimum
ns
Movement>,<Vertex Amount>
2.Set position:
tio
AT$GF=<Group number>[,<Vertex
Number>],<Latitude>,<Longitude>
Syntax a. Circle: AT$GF=<Group number>,<Latitude>,<Longitude>
b. Polygon: AT$GF=<Group number>,<Vertex
5
lu
Number>,<Latitude>,<Longitude>
:0
So
3.Reset parameter:
AT$GF=-1
10
4. Save parameter:
AT$GF=-2
c
di
01
Read Command:
AT$GF? Reads all GeoFence Settings
AT$GF?<Group number> Reads selected GeoFence Setting
a
1/
<Group
Index of GeoFence.
om
number>
Type of GeoFence:
<Type> 1 Circle
/1
2 Polygon
N
<Delay>
the new state.
(0~255)
51
CAREU UCAN CAREU Ugo Protocol Document_V1.0
ns
device into the GeoFence.
Radius>
(0~65535)
Radius of circle in meters used to detect exit of the
tio
<Exit
device from the GeoFence.
Radius>
(0~65535)
Write Command:
5
lu
OK:GF
:0
Read Command:
So
OK:GF
10
a. Circle:
AT$GF=<Group number>,-1,1,<Delay>,<Minimum
Return Value
Movement>,<Entry Radius>,<Exit Radius>
c
b. Polygon:
AT$GF=<Group number>,-1,2,<Delay>,<Minimum
di
01
Movement>,<Vertex Amount>
Error Response:
a
1/
ERROR:GF
om
Example
Note
/1
N
12
20
52
CAREU UCAN CAREU Ugo Protocol Document_V1.0
ns
1 Entry and Exit
<Option>
2 Entry Only
3 Exit Only
tio
1 Logging
When the alert condition is true, log the most recent
GPS position to non-volatile flash memory for future
5
lu retrieval.
2 Polling
:0
<Action> When the alert condition is true, send the latest GPS
So
Parameters position to the remote base station.
3 Logging + polling
10
When the alert condition is true, log the most recent
GPS position to non-volatile flash memory and send
the latest GPS position to the remote base station.
c
di
01
< Reserve >
0 Disable
a
Bit 0 Reserved
1/
<Force
Bit 1 Send SMS Report
om
Connection>
Bit 2 Send Serial Report
(Default is 0)
/1
Write Command:
OK:GFEN
N
12
Read Command:
OK:GFEN
$GFEN=1,< Option >,< Reserve >,<Force Connection>
Return Value
$GFEN=2,< Option >,< Reserve >,<Force Connection>
20
$GFEN=n,< Option >,< Reserve >,<Force Connection>
Error Response:
ERROR:GFEN
53
CAREU UCAN CAREU Ugo Protocol Document_V1.0
ASCII Format:
Parameter Format Description
Note GeoFence Index ## 1 to 50
Binary Format:
Name Size Type Description
GeoFence Index 1 Unsigned Integer 1 to 50
ns
tio
5
lu
:0
So
10
c
di
01
a
1/
om
/1
N
12
20
54
CAREU UCAN CAREU Ugo Protocol Document_V1.0
Description Set or query main power low, lost, and battery low alert.
Write Command:
AT$POWER=<main power low voltage>,<main power low
duration>,<main power lost warning voltage>,<main power lost
Syntax
duration>,<battery low voltage>,<battery low duration>
Read Command:
AT$POWER?
<main In millivolts. If main power voltage falls below this
ns
power low voltage, power low alert is triggered.
voltage> (1~65535)
<main In seconds. The main power voltage must remain low
tio
power low for at least this period of time for alert to be triggered.
duration> (1~255)
<main In millivolts. If main power voltage falls below this
5
lu
power lost voltage, power lost alert is triggered.
voltage> (1~65535)
:0
Parameters
<main In seconds. If the power is lost for greater than this
So
power lost period of time, the power lost alert is triggered.
duration> (1~255)
10
<battery In millivolts. If battery power voltage falls below this
low voltage, battery low alert is triggered.
c
voltage> (1~65535)
<battery In seconds. The battery voltage must remain low for at
di
01
low least this period of time for alert to be triggered.
duration> (1~255)
a
Write Command:
1/
OK:POWER
om
Read Command:
$POWER=<main power low voltage>,<main power low
/1
OK:POWER
Error Response:
12
ERROR:POWER
Set power low alert at lower than 11 volts for 5 seconds, power lost
alert at lower than 8.5 volts for 5 seconds and battery low at lower
20
55
CAREU UCAN CAREU Ugo Protocol Document_V1.0
Write Command:
AT$POWEREN=<Option>,<Power On
Enable>,<Action>[,<Schedule>,
Syntax <Force Connection>]
Read Command:
AT$POWEREN?
ns
0 Disable
<Option>
1 Enable
0 Do not Send Power On Alert
tio
<Power On
1 Send Power On Alert
Enable>
(Default is 0)
1 Logging
5
lu When the alert condition is true, log the most recent
GPS position to non-volatile flash memory for future
:0
retrieval.
So
2 Polling
10
<Action> When the alert condition is true, send the latest GPS
Parameters
position to the remote base station.
3 Logging + polling
c
01
the latest GPS position to the remote base station.
0 Disable
om
Bit 0 Reserved
<Force
Bit 1 Send SMS Report
Connection>
Bit 2 Send Serial Report
/1
(Default is 0)
N
Write Command:
OK:POWEREN
12
Read Command:
OK:POWEREN
Return Value
$POWEREN=<Option>,<Power On Enable>,<Action>,< Reserve
20
>,<Force Connection>
Error Response:
ERROR:POWEREN
AT$POWEREN=1,1,2,0,0
Example
OK:POWEREN
56
CAREU UCAN CAREU Ugo Protocol Document_V1.0
ASCII Format:
ns
Binary Format:
Name Size Type Description
tio
External Voltage
Main/Ext Voltage 2 Unsigned Integer
in millivolts
Battery Voltage
Battery Voltage 2 Unsigned Integer
in millivolts
5
lu
:0
So
6. The Way to Detect GPS Signal Healthy and Connector status
10
AT$GPSMON GPS monitor
c
This command is used to monitor GPS receiver status. The GPS will
Description
di
01
be restarted if GPS acquisition timeout.
Write Command:
AT$GPSMON=<GPS Timeout>
a
Syntax
1/
om
Read Command:
AT$GPSMON?
Time period in minutes that must elapse with no GPS
/1
<GPS
Parameters lock indicating a GPS failure.
Timeout>
(1~255)
N
Write Command:
12
OKGPSMON
Read Command:
20
Error Response:
ERRORGPSMON
AT$GPSMON=10
Example
OKGPSMON
Note
57
CAREU UCAN CAREU Ugo Protocol Document_V1.0
Write Command:
AT$GPSALEN=<Option>,<Action>[,<Schedule>,<Force Connec-
tion>]
Syntax
Read Command:
AT$GPSALEN?
0 Disable
<Option>
1 Enable
ns
1 Logging
When the alert condition is true, log the most recent
GPS position to non-volatile flash memory for future
tio
retrieval.
2 Polling
<Action> When the alert condition is true, send the latest GPS
5
lu position to the remote base station.
3 Logging + polling
:0
Parameters
When the alert condition is true, log the most recent
So
GPS position to non-volatile flash memory and send
the latest GPS position to the remote base station.
10
< Reserve >
c
0 Disable
Bit 0 Reserved
di
01
<Force
Bit 1 Send SMS Report
Connection>
Bit 2 Send Serial Report
a
(Default is 0)
1/
om
Write Command:
OKGPSALEN
/1
Read Command:
N
Error Response:
ERRORGPSALEN
20
AT$GPSALEN=1,2,0,0
Example
OKGPSALEN
Note
58
CAREU UCAN CAREU Ugo Protocol Document_V1.0
Write Command:
AT$MOTDET=<Motion Detection Threshold Setting>
Syntax
Read Command:
AT$MOTDET?
ns
The g-force threshold setting that must be
<Motion Detection
Parameters exceeded in order to be considered in motion.
Threshold Setting>
tio
(0-15G)
Write Command:
OKMOTDET
5
lu
Read Command:
:0
Return Value OKMOTDET
So
$MOTDET=<Motion Detection Threshold Setting>
10
Error Response:
ERRORMOTDET
c
AT$MOTDET=4.123
Example
di
01
OKMOTDET
/1
N
12
20
59
CAREU UCAN CAREU Ugo Protocol Document_V1.0
Write Command:
AT$MOTEN=<Option>,<Action>[,<Schedule>,<Force Connection>]
Syntax
Read Command:
AT$MOTEN?
0 Disable
<Option>
1 Enable
ns
1 Logging
When the alert condition is true, log the most recent
GPS position to non-volatile flash memory for future
tio
retrieval.
2 Polling
<Action> When the alert condition is true, send the latest
5
lu
GPS position to the remote base station.
3 Logging + polling
:0
Parameters When the alert condition is true, log the most recent
So
GPS position to non-volatile flash memory and send
the latest GPS position to the remote base station.
10
< Reserve >
c
0 Disable
di
01
Bit 0 Reserved
<Force
Bit 1 Send SMS Report
Connection>
a
(Default is 0)
om
Write Command:
OKMOTEN
/1
Read Command:
N
Error Response:
ERRORMOTEN
20
AT$MOTEN=1,2,0,0
Example
OKMOTEN
Note
60
CAREU UCAN CAREU Ugo Protocol Document_V1.0
ns
The g-force threshold setting that must be
<Impact Detection
exceeded in order to be considered an impact.
Parameters Threshold Setting>
(1-16G)
tio
<Reserved>
Write Command:
OKIMPDET
5
lu
Read Command:
:0
Return Value OKIMPDET
So
$IMPDET=<Impact Detection Threshold Setting>,<Reserved>
10
Error Response:
ERRORIMPDET
c
AT$IMPDET=15
Example
di
01
OKIMPDET
The device used 3-Axis G-Force sensor to detect vehicle motion and
a
installation location.
om
/1
N
12
20
61
CAREU UCAN CAREU Ugo Protocol Document_V1.0
Write Command:
AT$IMPEN=<Option>,<Action>[,<Schedule>,<Force Connection>]
Syntax
Read Command:
AT$IMPEN?
0 Disable
<Option>
1 Enable
ns
1 Logging
When the alert condition is true, log the most re-
cent GPS position to non-volatile flash memory
tio
for future retrieval.
2 Polling
When the alert condition is true, send the latest
<Action>
GPS position to the remote base station.
5
lu 3 Logging + polling
:0
When the alert condition is true, log the most re-
Parameters
So
cent GPS position to non-volatile flash memory
and send the latest GPS position to the remote
10
base station.
<Reserved>
c
0 Disable
di
01
Bit 0 Reserved
<Force
Bit 1 Send SMS Report
Connection>
a
(Default is 0)
om
Write Command:
/1
OKIMPEN
N
Read Command:
Return Value OKIMPEN
12
$IMPEN=<Option>,<Action>,<Schedule>,<Force Connection>
Error Response:
20
ERRORIMPEN
AT$IMPEN=1,2,0,0
Example
OKIMPEN
62
CAREU UCAN CAREU Ugo Protocol Document_V1.0
ASCII Format:
Parameter Format Description
<X- Axis Value> (-)## -16 to 16
Note <Y- Axis Value> (-)## -16 to 16
<Z- Axis Value> (-)## -16 to 16
ns
Binary Format:
Name Size Type Description
X- Axis Value 1 Signed Byte -16 to 16
tio
Y- Axis Value 1 Signed Byte -16 to 16
Z- Axis Value 1 Signed Byte -16 to 16
5
lu
:0
So
10
c
di
01
a
1/
om
/1
N
12
20
63
CAREU UCAN CAREU Ugo Protocol Document_V1.0
ns
Detection Method>]
Syntax
Read Command:
tio
AT$IDLE?
The distance in meters that must be travelled
in the specified time in order to NOT trigger the
<Minimum
idle alert.
5
lu Distance>
(1~65535)
No Default
:0
So
The time in minutes that a device has to travel
at least the specified distance in meters in
10
<Maximum Time> order to NOT trigger the idle alert.
(1~255)
No Default
c
di
(Default is 0)
Write Command:
OKIDLE
20
Read Command:
OKIDLE
Return Value
$IDLE=<Minimum Distance>,<Maximum Time>,<Engine Status De-
tection Method>,
Error Response:
ERRORIDLE
64
CAREU UCAN CAREU Ugo Protocol Document_V1.0
ns
When the alert condition is true, log the most
recent GPS position to non-volatile flash
memory for future retrieval.
tio
2 Polling
When the alert condition is true, send the latest
<Action>
GPS position to the remote base station.
3 Logging + polling
5
Parameters
:0
memory and send the latest GPS position to
So
the remote base station.
10
< Reserve >
0 Disable
c
Bit 0 Reserved
<Force
Bit 1 Send SMS Report
di
01
Connection>
Bit 2 Send Serial Report
(Default is 0)
a
Write Command:
1/
OKIDLEEN
om
Read Command:
/1
Error Response:
12
ERRORIDLEEN
Example
20
65
CAREU UCAN CAREU Ugo Protocol Document_V1.0
ASCII Format:
Parameter Format Description
Note Duration vehicle was idle in
<Idle Duration> #####
seconds
Binary Format:
Name Size Type Description
Duration vehicle was
<Idle Duration> 2 Unsigned Byte
ns
idle in seconds
tio
10. OBD Mode Control and Report Configuration
5
Description
:0
Write Command:
So
AT$OBDMODE=<OBD Mode>
Syntax
10
Read Command:
AT$OBDMODE?
c
01
Parameters <Mode> 1 SAE J1979
2 (reserved)
a
3 (reserved)
1/
om
Write Command:
OKOBDMODE
/1
Read Command:
Return Value $OBDMODE=<mode>
N
OKOBDMODE
Error Response:
12
ERROROBDMODE
Example AT$OBDMODE=1
OKOBDMODE
Note
66
CAREU UCAN CAREU Ugo Protocol Document_V1.0
Read Command:
Syntax
AT$OBDS?
Parameters None
AT$OBDS?
Example $OKOBDS
ns
$OBDS=06,06fde7
tio
AT$OBDRPT OBD Report Control (For UCAN)
5
lu
Write Command:
:0
AT$OBDRPT=<group>,<enable>,<interval>,<data collected>
So
Syntax
Read Command:
10
AT$OBDRPT?
01
0: disable
1: time mode
a
1/
2: distance mode
om
<reserved>
Write Command:
20
OKOBDRPT
Read Command:
$OBDRPT=<group>,<enable>,<interval>,<reserved>
Return Value ..
<group>,<enable>,<interval>,<reserved>
OKOBDRPT
Error Response:
ERROROBDRPT
67
CAREU UCAN CAREU Ugo Protocol Document_V1.0
ns
11. OBD Alerts
tio
AT$OBDALRT OBD Alert Control (For UCAN)
5
Description
luTo enable or disable OBD related alerts and select report channels.
:0
So
Write Command:
AT$OBDALRT=<Option>,<Action>[,<Schedule>,<Force Connec-
10
tion>]
Syntax
Read Command:
c
AT$ OBDALRT?
di
01
0 Disable
<Option>
1 Enable
a
1 Logging
1/
3 Logging + polling
12
0 Disable
Bit 0 Reserved
<Force
Bit 1 Send SMS Report
Connection>
Bit 2 Send Serial Report
(Default is 0)
68
CAREU UCAN CAREU Ugo Protocol Document_V1.0
Write Command:
OKOBDALRT
Read Command:
Return Value OKOBDALRT
$ OBDALRT =<Option>,<Action>,< Reserve >,<Force Connection>
Error Response:
ERROROBDALRT
ns
Note
tio
AT$OBDDTC DTC Alert (For UCAN)
5
lu
Write Command:
AT$OBDDTC=<Interval>
:0
Syntax
Read Command:
So
AT$ OBDDTC?
10
Parameters <Interval> Alert sending interval in hours.
Write Command:
c
OKOBDDTC
di
01
Read Command:
Return Value OKOBDDTC
a
$ OBDDTC =<Interval>
1/
om
Error Response:
ERROROBDDTC
/1
Example
AT$ OBDDTC =2
OKOBDDTC
12
20
69
CAREU UCAN CAREU Ugo Protocol Document_V1.0
ASCII Format:
Parameter Format Description
Note Number of DTC ## 0 ~ 99
Binary Format:
Name Size Type Desc iption
Number of DTC 1 Unsigned Integer 0 ~ 99
DTC #1 2 Unsigned Integer
ns
DTC #2 2 Unsigned Integer
tio
AT$OBDGDTC Get DTC Code (For UCAN)
5
Description
lu
To Get DTC number gathered from OBD BUS.
:0
Read Command:
Syntax
So
AT$ OBDGDTC?
10
Parameters None
Read Command:
c
OKOBDDTC
di
01
$ OBDGDTC =<number of DTCs>,<DTC#1>,<DTC#2>,
Return Value
Error Response:
a
ERROROBDGDTC
1/
om
AT$ OBDGDTC?
Example OKOBDDTC
$OBDGDTC=6,0100,0200,0300,c100,8200,4300
/1
70
CAREU UCAN CAREU Ugo Protocol Document_V1.0
Write Command:
AT$ OBDRPM =<Threshold>,<Duration>
Syntax
Read Command:
AT$ OBDRPM?
ns
the threshold set above.
Write Command:
OKOBDRPM
tio
Read Command:
Return Value OKOBDRPM
5
$ OBDRPM =< Threshold >,< Duration >
lu
:0
Error Response:
So
ERROROBDRPM
10
Engine RPM is above 3500 for 10 seconds:
Example
AT$ OBDRPM =3500,10
c
OKOBDRPM
di
01
Message ID: 321
a
Formula: <RPM> / 4
om
ASCII Format:
Note Parameter Format Description
/1
Binary Format:
12
71
CAREU UCAN CAREU Ugo Protocol Document_V1.0
Write Command:
AT$ OBDECT =<Threshold>,<Duration>
Syntax
Read Command:
AT$ OBDECT?
ns
above the threshold set above.
tio
Engine coolant temperature is above 100 for 3 minutes:
Return Value
5
lu
AT$ OBDECT =100,3
OKOBDECT
:0
So
10
AT$AREPORT=1,1,7,10,15,5,1,1
Example
OKAREPORT
c
di
01
Message ID: 322
Alert Format: Asynchronous Position Message + <temperature>
a
Formula: <temperature> - 40
1/
om
ASCII Format:
Note Parameter Format Description
temperature ### -40 ~ 215
/1
N
Binary Format:
Name Size Type Desc iption
12
72
CAREU UCAN CAREU Ugo Protocol Document_V1.0
Write Command:
AT$ OBDPDL=<Threshold>,<Duration>
Syntax
Read Command:
AT$ OBDPDL?
ns
positioned above the threshold set above.
Write Command:
OKOBDPDL
tio
Read Command:
Return Value OKOBDPDL
$ OBDPDL =< Threshold >,< Duration >
5
lu
:0
Error Response:
ERROROBDPDL
So
Acceleration pedal is positioned deeper than 25% for 10 seconds:
10
Example
AT$ OBDPDL =25,10
c
OKOBDPDL
di
01
Message ID: 323
Alert Format: Asynchronous Position Message + <pedal position>
a
ASCII Format:
Note Parameter Format Description
pedal position ### 0 ~ 100
/1
N
Binary Format:
Name Size Type Desc iption
12
73
CAREU UCAN CAREU Ugo Protocol Document_V1.0
ns
Read Command:
AT$COMM?
tio
<Modem ID> Refer to AT$MODID
<Format> Refer to AT$FORMAT
<SMSDST> Refer to AT$SMSDST
5
lu <SMSLST1> Refer to AT$SMSLST
:0
<APN Name> Refer to AT$APN
So
<HOST1_Address> Refer to AT$HOSTS
Parameters
10
<HOST1_Port> Refer to AT$HOSTS
<GPRSEN> Refer to AT$GPRSEN
c
01
<Reserved> Reserved
<PDSR_Mode> Refer to AT$PDSR
a
Write Command:
OKCOMM
/1
Read Command:
OKCOMM
N
$COMM=<Modem ID>,<Format>,<SMSDST>,<SMSLST1>,<APN
Return Value Name>,
12
<HOST1_Address>,<HOST1_Port>,<GPRSEN>,<HB_
Period>,<Reserved>,
<PDSR_Mode>,<PDSR_Min. Time>
20
Error Response:
ERRORCOMM
AT$COMM=3010000001,1,123456789,,internet,,0,1,0,0,1,20
Example
OKCOMM
Note
74
CAREU UCAN CAREU Ugo Protocol Document_V1.0
Write Command:
AT$FTP=<Hostname>,<Username>,<Password>,<FTP_port_
number>,<Filename>,<Filesize>
Syntax
Read Command:
AT$FTP?
FTP hostname
<Hostname>
ns
(Max 29 characters)
Username to login
<Username>
(Max 10 characters)
tio
Password to login
<Password>
(Max 10 characters)
Parameters FTP port number
5
lu
<FTP_port_number>
(0~65535)
:0
Filename of file for download
So
<Filename>
(Max 20 characters)
10
File size of file for download
<Filesize>
(1~4294967295)
c
Write Command:
di
01
OKFTP
Read Command:
$FTP=ftp.systech.com.tw,u1test,***,0,U1_v1.00_r09.
a
Return Value
bin,230400,230400
1/
om
OKFTP
Error Response:
ERRORFTP
/1
AT$FTP=ftp.systech.com.tw,test,12345,,U1_v1.00_r09.bin,230400
Example
N
OKFTP
FTP_DOWNLOAD_REPORT: ID=59, with string OK:filename
12
Note
FTP_DOWNLOAD_REPORT: ID=60, with string ERROR:filename
20
75
CAREU UCAN CAREU Ugo Protocol Document_V1.0
Write Command:
Syntax
AT$FILE=<Attrib>,<Type>,<Filename>,<Filesize>
File attrib
<Attrib>
(upd file update)
File type
<Type>
(fw update fw)
ns
Parameters
Filename of file for download
<Filename>
(Max 20 characters)
tio
File size of file for download
<Filesize>
(1~4294967295)
5
Return Value
lu Write Command:
OKFILE
:0
So
AT$FILE=upd,fw,U1_v1.00_r09.bin,230400
Example
10
OKFILE
01
Note
Its recommanded that one to set aside enough time for the device to
perform firmware update before going into next power saving stage.
a
/1
N
12
20
76
CAREU UCAN CAREU Ugo Protocol Document_V1.0
VI. Appendices
A. Message ID Description
Message ID Message ID
Description Remark
(Heximal) (Decimal)
0x0000 0 Get position
0x0001 1 Log position
0x0002 2 Tracking position
0x000B 11 Ignition (ACC) status Alert
0x003B 59 FTP Download OK! Report
ns
0x003C 60 FTP Download Error Report
0x003D 61 File Update MCU OK! Report
tio
0x003E 62 File pdate MCU Error Fail
0x00A0 160 Power-Up Alert
5
lu
0x00A1 161 Engine Status Alert
0x00A2 162 High Speed Alert
:0
So
0x00A3 163 High Speed Report
0x00A4 164 GeoFence Entry Alert AT$GF
10
0x00A5 165 GeoFence Exit Alert AT$GF
0x00A6 166 Main Power Low Alert
c
01
0x00A8 168 Battery Power Low Alert
0x00A9 169 Battery Power Failure Alert
a
77
CAREU UCAN CAREU Ugo Protocol Document_V1.0
ns
3 Operation not allowed
4 Operation not supported
tio
5 PH-SIM PIN required
6 PH-FSIM PIN required
7 PH-FSIM PUK required
5
lu
10 SIM not inserted
11 SIM PIN required
:0
12 SIM PUK required
So
13 SIM failure
10
14 SIM busy
15 SIM wrong
c
16 Incorrect password
di
01
17 SIM PIN2 required
18 SIM PUK2 required
26 Dial string too long
a
1/
30 No network service
31 Network timeout
/1
78
CAREU UCAN CAREU Ugo Protocol Document_V1.0
ns
38 Network out of order
41 Temporary failure
42 Congestion
tio
47 Resources unavailable, unspecified
50 Requested facility not subscribed
5
69
lu
Requested facility not implemented
:0
81 Invalid short message transfer reference value
So
95 Invalid message, unspecified
96 Invalid mandatory information
10
97 Message type non-existent or not implemented
98 Message not compatible with short message protocol state
c
79
CAREU UCAN CAREU Ugo Protocol Document_V1.0
197 SM Rejected-Duplicate SM
198 TP-VPF not supported
199 TP-VP not supported
208 D0 SIM SMS storage full
209 No SMS storage capability in SIM
210 Error in MS
211 Memory Capacity Exceeded
212 SIM Application Toolkit Busy
213 SIM data download error
255 Unspecified error cause
ns
300 ME failure
301 SMS service of ME reserved
302 Operation not allowed
tio
303 Operation not supported
304 Invalid PDU mode parameter
305 Invalid text mode parameter
5
310
lu
SIM not inserted
:0
311 SIM PIN required
So
312 PH-SIM PIN required
10
313 SIM failure
314 SIM busy
c
01
317 SIM PIN2 required
318 SIM PUK2 required
a
80
CAREU UCAN CAREU Ugo Protocol Document_V1.0
D. LED Indications
ns
ii. GSM LED Status Table
tio
Power Off N/A Off
Low Power N/A Off
Full Power Acquiring Flash Red (three times/second)
5
Full Power
:0
So
10
c
di
01
a
1/
om
/1
N
12
20
81
CAREU UCAN CAREU Ugo Protocol Document_V1.0
ns
Web Site http://www.systech.com.tw
tio
Email avl@systech.com.tw
Phone +886-2-2698-1599
5
lu
Fax +886-2-2698-1211
:0
So
10
c
di
01
a
1/
om
/1
N
12
20
82