Top Banner
CONFIDENTIAL This document contains Confidential Information or Trade Secrets or both, which are property of Applied Electro-Magnetics Pvt. Ltd., Noida It may not be disclosed, copied or reproduced to any person or to any electronic medium, readable form, or otherwise duplicated, except with the prior written consent of Applied Electro-Magnetics Pvt. Ltd. 1. INTRODUCTION ............................................................................................................... 1 2. INSTALLATION OF AVL-500 ............................................................................................ 1 2.1 Pre - Installation Requirement: ................................................................................... 1 2.2 ERRORS DURING DEVICE INITIALIZATION:........................................................... 1 3. AVL-500 OPERATING INSTRUCTIONS ........................................................................... 2 3.1 POWER ON INDICATION: ......................................................................................... 2 3.2 INITIALIZATION INDICATION:................................................................................... 2 3.3 INDICATIONS OF PROPER FUNCTIONING:............................................................ 2 3.4 FUNCTIONAL KEYS: ................................................................................................. 2 4. PACKET PROTOCOL ....................................................................................................... 3 1. DeviceID (DID):.................................................................................................................. 5 2. IP Address (IP)*: ................................................................................................................ 5 3. PORT Number (PORT)*: ................................................................................................... 6 4. Access Point Name (APN)*: .............................................................................................. 6 5. Access Point UserName (APUN)*: .................................................................................... 6 6. Access Point Password (APPW)*: ..................................................................................... 6 7. SYNCI*: ............................................................................................................................. 6 8. Mode of Communication (MC): .......................................................................................... 7 9. Data Recording Frequency (DRF): .................................................................................... 7 10. Location Time List (LTL) : .............................................................................................. 7 11. Time Based Data (TBD): ................................................................................................ 8 12. Distance Based Position Interval (DBPI): ....................................................................... 8 13. Distance Based Position Data (DBPD): ......................................................................... 8 14. Periodic Position Interval (PPI):...................................................................................... 8 15. Periodic Position Data (PPD): ........................................................................................ 9 16. PPD with Ignition (PPDWIGN): ...................................................................................... 9 17. Upload Data Size (UDS): ............................................................................................... 9 18. Current Position Data (CPD): ......................................................................................... 9 19. Summary Details of Logged Position Data (SLPD): ....................................................... 9 20. Control Centre Number (CCN): .................................................................................... 10 21. Authorized Sender List (ASL): ...................................................................................... 10 22. Panic Number List (PNL): ............................................................................................ 10 23. SOS/DISTRESS Message : ......................................................................................... 10 24. Input Status Change (ISC) : ......................................................................................... 10 25. DIAL Numbers (DIAL1 , DIAL2): .................................................................................. 11 26. Incoming Number List (INL): ........................................................................................ 11 27. Location Alerts Points (LAP): ....................................................................................... 11 28. Alerts Distance (AD): .................................................................................................... 12 29. Location Alert Data (LAD): ........................................................................................... 12 30. Over Speed Interval (OSI): ........................................................................................... 12 31. Over Speed Data (OSD): ............................................................................................. 13 32. Below Speed Interval (BSI): ......................................................................................... 13 33. Below Speed Data (BSD): ............................................................................................ 13 34. Reset Total Distance Traveled (TDTRST): .................................................................. 13 35. Vehicle Stop/Move Interval (VSMI): ............................................................................. 14 36. Vehicle Stop Data (VSD): ............................................................................................. 14 37. Vehicle Move Data (VMD): ........................................................................................... 14 38. Data Capture (DC): ...................................................................................................... 14 39. Voice Channel (HANDSET/SPEAKER) Settings (VC): ................................................ 16 40. AUDIO GAIN Settings (AUDG): ................................................................................... 16 41. Time Zone (TMZ): ........................................................................................................ 16
24
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: AVL-500 Ver5_00 Packet Protocol

CONFIDENTIAL This document contains Confidential Information or Trade Secrets or both, which are property of Applied Electro-Magnetics Pvt. Ltd., Noida It may not be disclosed, copied or reproduced to any person or to any electronic medium, readable form, or otherwise duplicated, except with the prior written consent of Applied Electro-Magnetics Pvt. Ltd.

1. INTRODUCTION ...............................................................................................................1 2. INSTALLATION OF AVL-500 ............................................................................................1

2.1 Pre - Installation Requirement: ...................................................................................1 2.2 ERRORS DURING DEVICE INITIALIZATION:...........................................................1

3. AVL-500 OPERATING INSTRUCTIONS...........................................................................2 3.1 POWER ON INDICATION:.........................................................................................2 3.2 INITIALIZATION INDICATION:...................................................................................2 3.3 INDICATIONS OF PROPER FUNCTIONING:............................................................2 3.4 FUNCTIONAL KEYS: .................................................................................................2

4. PACKET PROTOCOL .......................................................................................................3 1. DeviceID (DID):..................................................................................................................5 2. IP Address (IP)*: ................................................................................................................5 3. PORT Number (PORT)*: ...................................................................................................6 4. Access Point Name (APN)*: ..............................................................................................6 5. Access Point UserName (APUN)*: ....................................................................................6 6. Access Point Password (APPW)*: .....................................................................................6 7. SYNCI*: .............................................................................................................................6 8. Mode of Communication (MC):..........................................................................................7 9. Data Recording Frequency (DRF): ....................................................................................7 10. Location Time List (LTL) : ..............................................................................................7 11. Time Based Data (TBD):................................................................................................8 12. Distance Based Position Interval (DBPI): .......................................................................8 13. Distance Based Position Data (DBPD): .........................................................................8 14. Periodic Position Interval (PPI):......................................................................................8 15. Periodic Position Data (PPD): ........................................................................................9 16. PPD with Ignition (PPDWIGN): ......................................................................................9 17. Upload Data Size (UDS): ...............................................................................................9 18. Current Position Data (CPD): .........................................................................................9 19. Summary Details of Logged Position Data (SLPD): .......................................................9 20. Control Centre Number (CCN): ....................................................................................10 21. Authorized Sender List (ASL):......................................................................................10 22. Panic Number List (PNL): ............................................................................................10 23. SOS/DISTRESS Message : .........................................................................................10 24. Input Status Change (ISC) : .........................................................................................10 25. DIAL Numbers (DIAL1 , DIAL2): ..................................................................................11 26. Incoming Number List (INL): ........................................................................................11 27. Location Alerts Points (LAP): .......................................................................................11 28. Alerts Distance (AD):....................................................................................................12 29. Location Alert Data (LAD): ...........................................................................................12 30. Over Speed Interval (OSI):...........................................................................................12 31. Over Speed Data (OSD): .............................................................................................13 32. Below Speed Interval (BSI): .........................................................................................13 33. Below Speed Data (BSD):............................................................................................13 34. Reset Total Distance Traveled (TDTRST): ..................................................................13 35. Vehicle Stop/Move Interval (VSMI): .............................................................................14 36. Vehicle Stop Data (VSD):.............................................................................................14 37. Vehicle Move Data (VMD):...........................................................................................14 38. Data Capture (DC): ......................................................................................................14 39. Voice Channel (HANDSET/SPEAKER) Settings (VC): ................................................16 40. AUDIO GAIN Settings (AUDG): ...................................................................................16 41. Time Zone (TMZ): ........................................................................................................16

Page 2: AVL-500 Ver5_00 Packet Protocol

CONFIDENTIAL This document contains Confidential Information or Trade Secrets or both, which are property of Applied Electro-Magnetics Pvt. Ltd., Noida It may not be disclosed, copied or reproduced to any person or to any electronic medium, readable form, or otherwise duplicated, except with the prior written consent of Applied Electro-Magnetics Pvt. Ltd.

42. Message on Keys(MSG): .............................................................................................16 43. ALERTS Packets (ALRT):............................................................................................17 44. Auxiliary Port (AUXP):..................................................................................................18 45. RFD Packet for RFID device: .......................................................................................18 46. Storage Data Order (SDO) Non-GPRS LIFO/FIFO:....................................................18 47. CSQ Threshold (CSQT): ..............................................................................................18 48. GPS Threshold (GPST): ..............................................................................................18 49. Harsh Acceleration (HACLR): ......................................................................................19 50. Harsh De-Acceleration (HDCLR): ................................................................................19 51. Sleep Mode (SLM): ......................................................................................................19 52. Digital Output (DIGO):..................................................................................................19 53. Version information of AVL-500 (VER):........................................................................19 54. Modem Version information (MVER):...........................................................................20 55. Modem Reset (MDMRST):...........................................................................................20 56. International Mobile station Equipment Identity number (IMEI) of GSM module: .........20 57. International Mobile Subscriber Identity number (IMSI) of SIM-CARD:........................20 58. GPS Reset (GPSRST): ................................................................................................20 59. Hardware Reset (HRST): .............................................................................................20 60. Software Reset (SRST):...............................................................................................20 61. Power OFF Device(PWROFF): ....................................................................................20 62. Debug command (DBG):..............................................................................................20 63. Distance with Ignition (DWIGN):...................................................................................20 64. SOS / NON-SOS Device (SOS): ..................................................................................20 65. SMS: ............................................................................................................................20 66. Factory configuration (FCFG): .....................................................................................21 67. Error / Warning Message (EWM): ................................................................................21 68. Modem AT Command (AT): .........................................................................................21

Page 3: AVL-500 Ver5_00 Packet Protocol

CONFIDENTIAL

AVL-500 Message Specification

(GSM/GPRS)

Ver. 5.00 (Date 03-MAR-2010)

Applied Electro-Magnetics Pvt. Ltd.

B-147, Sector – 63, NOIDA (U.P.) – 201301 Ph: +91-120-3053920, 3914885

www.aemindia.com

CONFIDENTIAL This document contains Confidential Information or Trade Secrets or both, which are property of Applied Electro-Magnetics Pvt. Ltd., Noida It may not be disclosed, copied or reproduced to any person or to any electronic medium, readable form, or otherwise duplicated, except with the prior written consent of Applied Electro-Magnetics Pvt. Ltd.

Page 4: AVL-500 Ver5_00 Packet Protocol

Applied Electro-Magnetics Pvt. Ltd.

AVL-500 Message Specification Version 5.00 1

1. INTRODUCTION

The AVL-500 is designed for mounting in a vehicle for on-line Vehicle Tracking. It provides absolute location with an accuracy of 10 meters in any part of the world. It can be used in various applications such as Truck Fleet Management, Taxi Service etc.

2. INSTALLATION OF AVL-500 AVL-500 can be installed in one go. This feature provides flexibility to the user to install the system easily and check out the fast results.

2.1 Pre - Installation Requirement: Before the installation procedure start, following points must be taken care of and must be verified from the User Manual.

1. AVL-500 must be placed in the vehicle at a proper place, which is reachable to the driver.

2. The power to be supplied to the AVL-500 should be within +10 Volts to +30 Volts.

2.2 ERRORS DURING DEVICE INITIALIZATION:

S.No. ERROR Description Observations

1 FLASH ERROR

Problem with Flash memory

All LED Blinks (ON/OFF) except Power LED.

2

SIM NOT INSERTED

Either SIM card not inserted or it is not inserted properly

GSM LED switched OFF.

3 POWER FAILURE No Power supply available Power LED switched OFF.

4 GPS FAILURE GPS Antenna disconnected GPS LED switched OFF.

CONFIDENTIAL

Page 5: AVL-500 Ver5_00 Packet Protocol

Applied Electro-Magnetics Pvt. Ltd.

AVL-500 Message Specification Version 5.00 2

3. AVL-500 OPERATING INSTRUCTIONS

3.1 POWER ON INDICATION: Power LED ON when unit is switched ON. Other LEDs of AVL-500 blink indicating the power ON status of the device followed by the initialization process.

3.2 INITIALIZATION INDICATION: When the device is initialized all LEDs glow continuous for about 1 seconds.

3.3 INDICATIONS OF PROPER FUNCTIONING: When the device is working properly a) The GPS LED blinks, indicating that GPS is working properly. b) The GSM LED blinks, indicating that the device is in GSM mode. c) The GPRS LED blinks, indicating that the device is in GPRS mode. d) Both the GSM & GPRS LEDs glow indicating ringing. Buzzer will also beep. e) The RUN LED blinks, indicating Processor status.

3.4 FUNCTIONAL KEYS:

KEY FUNCTION

CONNECT To accept incoming calls.

DISCONNECT To disconnect current established call.

DIAL1 To establish voice call to DIAL1 phonenumber.

DIAL2 To establish voice call to DIAL2 phonenumber.

REACHED DEST. To send “REACHED DESTINATION.” message to CCN/Server.

BRKDWN To send “BREAKDOWN.” message to CCN/Server.

UNLOADED To send “UNLOADING COMPLETED.” message to CCN/Server.

LOADED To send “LOADING COMPLETED.” message to CCN/Server.

BLOCK To send “ROAD BLOCK.” message to control center

SOS To send “SOS/DISTRESS.” message to CCN/Server and numbers in the PANIC list.

CONFIDENTIAL

Page 6: AVL-500 Ver5_00 Packet Protocol

Applied Electro-Magnetics Pvt. Ltd.

AVL-500 Message Specification Version 5.00 3

4. PACKET PROTOCOL

The Developer/User should have a thorough understanding of each packet/parameter before proceeding to the same. Users are advised to memorize the following statement listed below in note, which is commonly used in packets.

1) Start of packet is ‘~’ character and End of packet is ‘^’ character. A valid packet should start with ‘~’

character and end with ‘^’ character. E.g.. ~Valid Packet^ Field Description ~ Start of Packet ^ End of Packet

2) CCN is Control/Call Center Number. 3) Parameter CheckSum is XORing of all characters in the message from Start of packet ‘~’ to ‘*’

( ‘*’ is excluded). 4) In this document Device refers as AVL-500 Box. 5) Date in DDMMYY format. 6) Time in HHMMSS 24 hour format (e.g.. 03:30:45PM is 153045) 7) Speed in Km/Hr. 8) Latitude and Longitude is in DegreeMinuteDotMinutes (DDMM.mmmmm) format. 9) The format of POSITION DATA is given below:

Date,Time,Latitude,NS,Longitude,EW,Speed,GPS_Status,Heading,Distance, Digitalinput,Digitaloutput,NOS_ALT,Input1,NetOprCode,DeltaDist,AnalogInputs

Fields Description Date DDMMYY format. Time HHMMSS 24 hour format (e.g.. 03:30:45PM is 153045)

Latitude DegreeMinuteDotMinutes (DDMM.mmmmm) format. NS North/South

Longitude DegreeMinuteDotMinutes (DDMM.mmmmm) format. Conversion formula for Lat/Long DDMM.mmmmm to Degree format:

Total Degrees = DD + ( MM.mmmmm / 60) e.g.. 2836.93676 = 28 + (36.93676/60) = 28.615612666 degree EW East/West Speed Km/hr.

GPS Status A or V shows status value (A or V) of GPS receiver A -> Valid, GPS fix (GPS receiver synchronized with satellite)

V -> Invalid, GPS not fix (GPS receiver not synchronized with satellite)

Heading 0 to 360 degrees ( 0 is North, increasing clock-wise).

Distance Accumulated Distance in Km.

Digitalinput MSB Hex format from 00 to FF (1 ->ON 0 ->OFF) LSB

Bits (LSB to MSB) 8 7 6 5 4 3 2 1

Digitalinput N/W N/W INP4 INP3 INP2 INP1 External Power

(MainPwr) Ignition

Bit numbers 1 to 6 are used for Digital inputs. Bit numbers 7 to 8 are used for Network status.

NetworkStatus(N/W) Bit-8 Bit-7

Not Registered 0 0

Home Network 0 1

Roaming 1 0

CONFIDENTIAL

Page 7: AVL-500 Ver5_00 Packet Protocol

Applied Electro-Magnetics Pvt. Ltd.

AVL-500 Message Specification Version 5.00 4

Digitaloutput MSB Hex format from 00 to FF (1 ->ON 0 ->OFF) LSB

Bits (LSB to MSB) 8 7 6 5 4 3 2 1

Digitaloutput CSQ CSQ CSQ Reserve DigO DigO DigO DigO Bit-1 is used for Digital Output-1. Bit-2 is reserved for External Buzzer. Bit-3 is used for Digital Output-3. Bit-4 is used for Digital Output-4.

Bit-5 is reserved.

MSB 3 bits(8,7 and 6) are used for CSQ value of network. MSB 3-bits CSQ Level 000 0 – 3 001 4 – 7 010 8 – 11 011 12 – 15 100 16 – 19 101 20 – 23 110 24 – 27 111 28 – 31

NOS_ALT Hex format 0000 to FFFF, Number of visible Satellites and Altitude in meters from sea level. e.g.. A1CB then A => 10 Satellites and 1CB => 459 meters Altitude

Nibbles Nibble-4 Nibble-3 Nibble-2 Nibble-1

NOS_ALT NOS ALT ALT ALT

Input1 Hex format 0000 to FFFF, It stores data for GPS antenna OPEN, SHORT, Internal Battery Voltage (IBV), Fuel Level in percentage(%) format. MSB LSB

Bits (LSB to MSB) 16 15 14… 9 8… 2 1

Input1 GpsShort GpsOpen Internal Battery Voltage (IBV)

Fuel level in the tank (in % format)

Bit-1 to Bit-8 is used for Fuel level in the tank (in % format). Bit-9 to Bit-14 is used for Internal Battery Voltage (IBV). Bit-15 is used for GPS antenna OPEN. (Antenna is OPEN, if this bit is 1) Bit-16 is used for GPS antenna SHORT. (Antenna is SHORT, if this bit is 1)

e.g.. 4F5A then Bit-1 to Bit-8 is 5A(hex) or 90 in decimal (Fuel level in the tank is 90 %) Bit-9 to Bit-14 is 0F(hex) 7.5 volts

Bit-14 ... Bit-10 Bit-9

Non-Fractional part of IBV in hex format. Fractional part of IBV

bit is 0, then fractional part is 0

Max value is 1F (i.e 31 in decimal)

Bit-15 is 1, => GPS antenna OPEN bit is 1, then fractional part is 0.5

NetOprCode Currently logged GSM network operator code

DeltaDist Distance in Km. moved in PPI, DeltaDistance resets after every PPD/DBPD Packet.

CONFIDENTIAL

Page 8: AVL-500 Ver5_00 Packet Protocol

Applied Electro-Magnetics Pvt. Ltd.

AVL-500 Message Specification Version 5.00 5

AnalogInputs Two 12bits Counter value of Analog inputs in Hex format ( 00FFFFFF ) MSB LSB

Bits (LSB to MSB) 32, 31 30… 25 24... 14 13 12.. 2 1

AnalogInputs Reserve External Battery Voltage (EBV) AnaCount1 AnaCount2

Bit-1 to Bit12 is used for Counter value Analoginput2. Bit-13 to Bit24 is used for Counter value Analoginput1. Bit-25 to Bit-30 is used for External Battery Voltage (EBV). Bit-31 to Bit32 are reserved for future use.

Example: 1829E80D here AnaCount1 is 0x29E i.e 670 and AnaCount2 is 0x80D i.e 2061

Bit-25 to Bit-30 is 18(hex) 12.0 volts Bit-30 … Bit-26 Bit-25

Non-Fractional part of EBV in hex format. Fractional part of EBV bit is 0, then fractional part is 0

Max value is 1F (i.e 31 in decimal)

bit is 1, then fractional part is 0.5

10) At the time of Power ON, the device runs on GSM mode for 1 minute. After one-minute time device switched back to predefined communication mode.

Configuration (SET) and Query (GET) Data Packet:

PACKET Description ~DEVICEID|SET|PKT_TYPE|DATA^ To set configuration data of PKT_TYPE

~DEVICEID|GET|PKT_TYPE^ To Query configuration data of PKT_TYPE

~DEVICEID|SET|PKT_TYPE /S|1^ To Enable Status of PKT_TYPE

~DEVICEID|SET|PKT_TYPE /S|0^ To Disable Status of PKT_TYPE

~DEVICEID|GET|PKT_TYPE /S^ To Query Status of PKT_TYPE

1. DeviceID (DID):

Unique Identification number for device. Maximum allowed length is 10 characters. Valid character set is A to Z, and 0 to 9.

~DeviceID|SET|DID|DeviceIDValue^

Query Packet: ~DeviceID|GET|DID^ Device response of query packet: ~DeviceID|RES|DID|DeviceIDValue*Chksum^ Example: To set DeviceId to AEM for DeviceId AEM01 send the following packet

~AEM01|SET|DID|AEM^ To get DeviceId from DeviceId AEM send the following packet

~AEM|GET|DID^ Note: ~DeviceID|GET|DID^ is used only for the debugging purposes

2. IP Address (IP)*: IP Address of Server. Maximum length is 15 characters ~DeviceID|SET|IP|IP_Address^

Query Packet: ~DeviceID|GET|IP^ Device response of query packet: ~DeviceID|RES|IP|IP_Address*Chksum^ Example: To set server IP address for DeviceID AEM send the following packet to device

~AEM|SET|IP|125.63.88.201^ To get server IP address from device, send the following packet to device

~AEM|GET|IP^

CONFIDENTIAL

Page 9: AVL-500 Ver5_00 Packet Protocol

Applied Electro-Magnetics Pvt. Ltd.

AVL-500 Message Specification Version 5.00 6

3. PORT Number (PORT)*: Port number of server application. Range is 1 to 65535. (Default port number is 1020)

~DeviceID|SET|PORT|PortNumber^ Query Packet: ~DeviceID|GET|PORT^ Device response of query packet: ~DeviceID|RES|PORT|PortNumber*Chksum^ Example: To set Port Number for DeviceID AEM send the following packet

~AEM|SET|PORT|1020^ To get Port Number for DeviceID AEM send the following packet

~AEM|GET|PORT^

4. Access Point Name (APN)*: Access Point Name for GPRS mode of communication. ~DeviceID|SET|APN|AccessPointNameString ^ Query Packet: ~DeviceID|GET|APN^ Device response of query packet: ~DeviceID|RES|APN|AccessPointNameString*Chksum^

Fields Description AccessPointNameString Access Point Name for GPRS communication

( e.g…1,“IP”,”airtelgprs.com”) Maximum length is 30 characters

Example: To set APN of AIRTEL for DeviceID AEM send the following packet ~AEM|SET|APN|1,”IP”,”airtelgprs.com”^

To get PDP Context for DeviceID AEM send the following packet ~AEM|GET|APN^

Here are some APN string for following network operator SIM Card APN String AIRTEL 1,”IP”,”airtelgprs.com” IDEA 1,“IP”,”internet” VODAFONE 1,“IP”,”www”

5. Access Point UserName (APUN)*:

Access Point UserName for GPRS mode of communication. ~DeviceID|SET|APUN|APUserNameString^ Query Packet: ~DeviceID|GET|APUN^ Device response of query packet: ~DeviceID|RES|APUN|APUserNameString*Chksum^

Fields Description APUserNameString Access Point User Name for GPRS communication

Maximum length is 30 characters Example: To set APUN as “abc” send the following packet

~AEM|SET|APUN|abc^

6. Access Point Password (APPW)*: Access Point Password for GPRS mode of communication. ~DeviceID|SET|APPW|AP_PasswordString^ Query Packet: ~DeviceID|GET|APPW^ Device response of query packet: ~DeviceID|RES|APPW|AP_PasswordString*Chksum^

Fields Description AP_PasswordString Access Point Password for GPRS communication

Maximum length is 30 characters Example: To set APPW as “xyz” send the following packet

~AEM|SET|APPW|xyz^

7. SYNCI*: Used to set SYNC packet interval in GPRS communication. Interval setting range is M1 to M720 ~DeviceID|SET|SYNCI|M10^ Query Packet: ~DeviceID|GET|SYNCI^

CONFIDENTIAL

Page 10: AVL-500 Ver5_00 Packet Protocol

Applied Electro-Magnetics Pvt. Ltd.

AVL-500 Message Specification Version 5.00 7

Device response of query packet: ~DeviceID|RES|SYNCI|SYNC_Interval*Chksum^

Example: To set SYNCI = M5 minutes for DeviceID AEM send the following packet

~AEM|SET|SYNCI|M5^ Default value for SYNCI is M10

Note: When device connects first time with server, it sends SYNC message. The server will respond back the same message to the device.

SYNC packet syntax is: ~Deviceid|SYNC*checksum^

Device expects same packet from server.

a) Device retries (two attempts). If device does not receive any SYNC packet (1minute for each attempts), it breaks current connection from server and make a fresh connection after one minute.

b) The same steps are carried out at end of sync time interval.

The Device will not send data, until it receives SYNC packet from Server.

8. Mode of Communication (MC): This packet is used to set communication mode (GSM or GPRS) of device. ~DeviceID|SET|MC|mode^ Query Packet: ~DeviceID|GET|MC^ Device response of query packet: ~DeviceID|RES|MC|mode*Chksum^ Example: To set mode of communication of device as GSM for DeviceID AEM send following packet:

~AEM|SET|MC|GSM^

Note: Whenever voice call established when device is in GPRS mode, device will switched to GSM mode so that voice communication can be established, whenever voice call disconnects, device will automatically switched to GPRS mode. GSM Mode selection:

a) Send ~DeviceID|SET|MC|GSM^ packet to device. Whenever device receives this packet, it reset PPI as M0 (Disable PPD records) Now user has to set new PPI jn GSM mode.

Or

b) Click DIAL1 / DIAL2 button.

GPRS Mode selection: a) Send ~DeviceID|SET|MC|GPRS^ packet to device.

or b) Click DISCONNECT button (during voice call).

9. Data Recording Frequency (DRF): Data recording frequency is used to store moving data in NVM. Range is 5 seconds to 30 minutes. Default value is M1 ~DeviceID|SET|DRF|Data Recording Frequency^

Query Packet: ~DeviceID|GET|DRF^ Device res. of query packet: ~DeviceID|RES|DRF|Data Recording Frequency*Chksum^ Example: To set DRF as 1 Minute for DeviceID AEM send the following packet

~AEM|SET|DRF|M1^

10. Location Time List (LTL) : This packet is used for setting of time based location data (TBD). ~DeviceID|SET|LTL|Time1,Time2,Time3,Time4,Time5,…,Time24^

Query Packet: ~DeviceID|GET|LTL^ Device response of query packet: ~DeviceID|RES|LTL|Time1,Time2,Time3,Time4,Time5,…,Time24*Chksum^

CONFIDENTIAL

Page 11: AVL-500 Ver5_00 Packet Protocol

Applied Electro-Magnetics Pvt. Ltd.

AVL-500 Message Specification Version 5.00 8

Where Timen is in HHMM 24 hours format. (e.g. 03:30 PM is 1530) Fields Description Time1,…,Time24 List of maximum 24 times of sending TBD packets.

Example: ~AEM|SET|LTL|1000,1800^ Query LTL to Device : ~AEM|GET|LTL^ Device response of query packet: ~AEM|RES|LTL|1000,1800*7F^ Enable/Disable LTL Status: ~DeviceID|SET|LTL /S|1^ Example: ~AEM|SET|LTL|1000,1800^ To Configure LTL Feature status Packet to be sent to DeviceID AEM

Disable ~AEM|SET|LTL /S|0^ Enable ~AEM|SET|LTL /S|1^

Query LTL Feature status ~AEM|GET|LTL /S^ Response Query LTL Feature status ~AEM|RES|LTL /S|0*37^

11. Time Based Data (TBD): Device sends this packet to GPRS Server and as SMS to CCN at the predefined LTL time. ~DeviceID|TBD|Current POSITION DATA*Chksum^ Example: Packet received from DeviceID AEM at control centre will be

~AEM|TBD|200507,101524,2836.93139,N,7722.62742,E,036,A,315,234.567,43,E0,A0CB,1000,40410,0.000,1829E80D*1D^

12. Distance Based Position Interval (DBPI):

Interval setting for location of vehicle based on distance traveled. (range from 0.100 Km. to 500 Km.) ~DeviceID|SET|DBPI|IntervalValue^

Query Packet: ~DeviceID|GET|DBPI^ Device response of query packet: ~DeviceID|RES|DBPI|IntervalValue*Chksum^ Example: To set DBPI for DeviceID AEM to 500 meter (0.500 Km) send the following Packet

~AEM|SET|DBPI|0.500^ To Disable DBPI for DeviceID AEM send the following packet: ~AEM|SET|DBPI|0.0^ Default value is 0.0

13. Distance Based Position Data (DBPD):

Device sends DBPD packet to server whenever vehicle travels to predefined DBPI. ~DeviceID|DBPD|Current POSITION DATA^

Example: Packet received from DeviceID AEM at CCN/Server will be ~AEM|DBPD|200507,101526,2836.93139,N,7722.62742,E,036,A,315,234.567,43,E0,A0CB,1000,40410,0.224,1829E80D*58^

14. Periodic Position Interval (PPI):

Periodic Position Interval for periodic location of vehicle, Interval setting range is10 seconds to 12Hr. For GSM Mode interval range is 10 seconds to 12 Hr For GPRS Mode interval range is 1 seconds to 12 Hr ~DeviceID|SET|PPI|Periodic_Position_Interval^

Query Packet: ~DeviceID|GET|PPI^ Device res. of query packet: ~DeviceID|RES|PPI|Periodic_Position_Interval*Chksum^

Example: To set PPI = 30 seconds for DeviceID AEM send the following packet ~AEM|SET|PPI|S30^

To set PPI = 5 minutes for DeviceID AEM send the following packet ~AEM|SET|PPI|M5^

To set PPI = 5 Hr for DeviceID AEM send the following packet ~AEM|SET|PPI|M300^

To disable PPI (i.e. PPI = 0) for DeviceID AEM send the following packet ~AEM|SET|PPI|M0^ or ~AEM|SET|PPI|S0^

Default value is M10

CONFIDENTIAL

Page 12: AVL-500 Ver5_00 Packet Protocol

Applied Electro-Magnetics Pvt. Ltd.

AVL-500 Message Specification Version 5.00 9

15. Periodic Position Data (PPD):

Whenever PPI time elapses, Device sends PPD packet to CCN/Server, ~DeviceID|PPD|POSITION DATA*Chksum^ Example: Packet received at server from DeviceID AEM

~AEM|PPD|200507,101536,2836.93139,N,7722.62742,E,036,A,315,234.682,43,E0,A0CB,1000,40410,0.115,1829E80D*05^

16. PPD with Ignition (PPDWIGN):

Whenever this feature is enabled, device sends PPD data to server only when vehicle IGNITION is ON and stops sending PPD data when IGNITION is OFF. To enable this feature set PPDWIGN as 1.

PPDWIGN Device Respone 1 Device generates PPD packets only when PPI time elapses and IGNITION is ON. 0 Device generates PPD packets when PPI time elapses. To Enable the feature: ~DeviceID|SET|PPDWIGN|1^ To Disable the feature: ~DeviceID|SET|PPDWIGN|0^

Query packet: ~DeviceID|GET|PPDWIGN^

Device response of query packet: ~DeviceID|RES|PPDWIGN|ValuePPDWIGN*Chksum^

17. Upload Data Size (UDS): Upload Data Size which is in multiple of K.B ( range 0 to 255) is used for sending data from unit for network providers where payment charges are based on data sent by unit. ~DeviceID|SET|UDS|UDS_value*Chksum^

Set UDS as 2 K.B: ~DeviceID|SET|UDS|2^

Query Packet: ~DeviceID|GET|UDS^ Device res. of query packet: ~DeviceID|RES|UDS|UDS_value*Chksum^

Valid range is 0 to 255, Default value of UDS is 0. To disable UDS feature set its value 0.

a) If (UDS > 0 and IGN is ON) then store data and send it to server whenever datasize is >= UDS else (UDS > 0 and IGN is OFF ) then device sends data immediately

b) If UDS is zero then device sends data immediately.

18. Current Position Data (CPD): This packet is used to check current position of vehicle. To get current position of vehicle, send following packet to device: Query packet: ~DeviceID|GET|CPD^ Device response of query packet: ~DeviceID|RES|CPD|POSITION DATA*Chksum^ Example: Packet received from DeviceID AEM in response to packet ~AEM|GET|CPD^ is ~AEM|RES|CPD|200507,101540,2836.93139,N,7722.62742,E,036,A,315,234.712,43,E0,A0CB,1000,40410,0.000,1829E80D*22^

19. Summary Details of Logged Position Data (SLPD): Summary details of Logged position data (moving data records by DRF value) of vehicle.

Query Packet: ~DeviceID|GET|SLPD^

Device response of query packet: ~DeviceID|RES|SLPD|PageNoX, DateX, TimeX, Total Records*Chksum^

The format of Summary Details of Logged Position Data is given below:

Fields Description PageNoX Page number DateX Page Date

TimeX Page Time Total Records Total record in page

CONFIDENTIAL

Page 13: AVL-500 Ver5_00 Packet Protocol

Applied Electro-Magnetics Pvt. Ltd.

AVL-500 Message Specification Version 5.00 10

Example: Packet received from DeviceID AEM in response to packet ~AEM|GET|SLPD^ is ~AEM|RES|SLPD|0113,101208,154407,3*11^ ~AEM|RES|SLPD|0114,111208,082021,5*1B^ ~AEM|RES|SLPD|0115,121208,171546,24*23^ ~AEM|RES|SLPD|0116,121208,180451,24*29^

20. Control Centre Number (CCN):

Control Centre Number. Maximum length is 15 characters. Valid character set (‘+’, ‘0’ to ‘9’).

~DeviceID|SET|CCN|CCN_Number^

Query Packet: ~DeviceID|GET|CCN^ Device response of query packet: ~DeviceID|RES|CCN|CCN_Number*Chksum^ Example: Packet received from DeviceID AEM in response to ~AEM|GET|CCN^ ~AEM|RES|CCN|+919818184175*64^

21. Authorized Sender List (ASL): List of maximum five authorized mobile numbers to interact with device through SMS. Valid character set (‘+’, ‘0’ to ‘9’).

~DeviceID|SET|ASL|authorized sender list ^

Query Packet: ~DeviceID|GET|ASL^ Device response of query packet: ~DeviceID|RES|ASL|authorized_sender_list*Chksum^

Example: Send following packet to DeviceID AEM to configure +919818184174, +919818184175 as ASL.

~AEM|SET|ASL|+919818184174,+919818184175^

Enable/Disable ASL Status: Default status is 1 (Enable). ~DeviceID|SET|ASL /S|1^ Query Packet: ~AEM|GET|ASL /S^ Device response of query ASL status packet: ~AEM|RES|ASL /S|1*3C^

22. Panic Number List (PNL): List of maximum five mobile nos. who will receive panic SMS from Device whenever KEY10(SOS) key is pressed on Device (In GSM Mode). Valid character set (‘+’, ‘0’ to ‘9’).

~DeviceID|SET|PNL|Panic Number List^

Query Packet: ~DeviceID|GET|PNL^ Device response of query packet: ~DeviceID|RES|PNL|Panic Number List*Chksum^ Example: Send following packet to DeviceID AEM to configure +919818184175 as PNL.

~AEM|SET|PNL|+919818184175^ Enable/disable PNL Status: Default status is 1 (Enable). ~DeviceID|SET|PNL /S|1^ Query Packet for Status: ~DeviceID|GET|PNL /S^ Device response of query ASL status packet: ~DeviceID|RES|PNL /S|Status*Chksum^

23. SOS/DISTRESS Message :

Device sends SOS message to CCN/Server and to Panic List in GSM mode. Whenever KEY10(SOS) key is pressed on Device. ~DeviceID|MS|Current POSITION DATA, KEY10,SOS/DISTRESS MESSAGE*Chksum^

Example: whenever KEY10(SOS) button pressed on device following message will be sent to CCN / Server ~AEM|MS|200507,101542,2836.93139,N,7722.62742,E,036,A,315,234.712,43,E0,A0CB,1000,40410,0.000,1829E80D,KEY10,SOS/DISTRESS MESSAGE*11^

24. Input Status Change (ISC) :

Device sends ISC packet to CCN/Server Whenever any changes in Digital Inputs. ~DeviceID|ISC|Current POSITION DATA,ChangeBitNumber*Chksum^ Example: whenever Ignition is switched OFF detected, Following message sent to server

CONFIDENTIAL

Page 14: AVL-500 Ver5_00 Packet Protocol

Applied Electro-Magnetics Pvt. Ltd.

AVL-500 Message Specification Version 5.00 11

~AEM|ISC|200507,101545,2836.93139,N,7722.62742,E,000,A,315,234.762,42,E0,A0CB,1000,40410,0.000,1829E80D,1*0F^

Note: Read the detail description of Digital inputs from POSITION DATA.

25. DIAL Numbers (DIAL1 , DIAL2): Two phone numbers DIAL1 and DIAL2 to establish emergency outgoing calls from device. ~DeviceID|SET|DIALX|PhoneNumber^

Field Description DIALX DIAL1 or DIAL2 PhoneNumber PhoneNumber in following format +911203914894 Valid character set (‘+’, ‘0’ to ‘9’).

Query Packet: ~DeviceID|GET|DIAL1^ ~DeviceID|GET|DIAL2^

Device response of query packet: ~DeviceID|RES|DIAL1|Phone Number*Chksum^ Example: Send following packets to DeviceID AEM to configure +919818184175 as DIAL1 and +911203914894 as DIAL2.

~AEM|SET|DIAL1|+919818184175^ ~AEM|SET|DIAL2|+911203914894^

Enable/Disable DIAL Status: Default status is 0 (Disable). ~DeviceID|SET|DIAL1 /S|0^

Query Packet: ~DeviceID|GET|DIAL1 /S^ Device response of query DIAL1 status packet: ~DeviceID|RES|DIAL1 /S|0*Chksum^

26. Incoming Number List (INL): List of maximum five Incoming phone numbers. Only these five numbers can make call to device. Valid character set (‘+’, ‘0’ to ‘9’).

~DeviceID|SET|INL|Incoming_Number_List^

Query Packet: ~DeviceID|GET|INL^ Device res. of query packet: ~DeviceID|RES|INL|Incoming_Number_List*Chksum^ Example: Send following packet to DeviceID AEM to configure +919818184174, +919818184175 as INL.

~AEM|SET|INL|+919818184174,+919818184175^

Enable/Disable INL Status: ~DeviceID|SET|INL /S|1^ To Configure INL Feature status Packet to be sent to DeviceID AEM

Disable ~AEM|SET|INL /S|0^ Enable ~AEM|SET|INL /S|1^

Query INL Feature status ~AEM|GET|INL /S^ Device response of query INL status packet: ~AEM|RES|INL /S|1*29^

Note: Steps given below for thee different types of incoming call setting. a) ALLOW INCOMING FOR ALL:

Empty the INL list: ~AEM|SET|INL|^ Enable incoming feature: ~AEM|SET|INL /S|1^

b) ALLOW INCOMING FORM MAX. FIVE NUMBERS: Set number: ~AEM|SET|INL|+919845505663,+911203814894^

c) BLOCK INCOMING FORM ALL NUMBERS: Disable incoming feature: ~AEM|SET|INL /S|0^

27. Location Alerts Points (LAP):

User can set Maximum 100 location alerts (Lat, Long) points for geo-fencing feature. Device sends LAD packet to CCN/Server, whenever distance between vehicle and LAP point is less than or equal to Alert Distance.

CONFIDENTIAL

Page 15: AVL-500 Ver5_00 Packet Protocol

Applied Electro-Magnetics Pvt. Ltd.

AVL-500 Message Specification Version 5.00 12

~DeviceID|SET|LAP|SetNo,Lat1NS,Lon1EW;...;Lat5NS,Lon5EW^

Field Description SetNo Maximum Five Points(Lat,Lon) allowed in one SetNo.

Total Valid SetNo is 1 to 20 (i.e. 100 LAP can be defined) Lat Latitude in DDMM.mmmm format NS Direction of Latitude.( N is used for NORTH, S is used for SOUTH) Lon Longitude in DDMM.mmmm format EW Direction of Longitude.( E is used for EAST, W is used for WEST)

Example: Send following packet to configure Points (2836.1245N,7722.3632E) and (2731.5425N,7465.8742E) as LAP in SetNo 1.

Example: ~AEM|SET|LAP|1,2836.1245N,7722.3632E;2731.5425N,7465.8742E^

Query Packet: ~DeviceID|GET|LAP|SetNo^ Device response of query packet: ~DeviceID|SET|LAP|SetNo,Lat1NS,Lon1EW;...;Lat5NS,Lon5EW;*Chksum^ Enable/Disable LAP Status: ~DeviceID|SET|LAP /S|1^ To Configure INL Feature status Packet to be sent to DeviceID AEM

Disable ~AEM|SET|LAP /S|0^ Enable ~AEM|SET|LAP /S|1^

28. Alerts Distance (AD): Distance (in Km.) value for Location alerts data. ~DeviceID|SET|AD|alert distance^

Query Packet: ~DeviceID|GET|AD^ Device res. of qry packet: ~DeviceID|RES|AD|alert distance*Chksum^ Example: Send following packet to DeviceID AEM to configure 5 Km. as AD.

~AEM|SET|AD|5^

29. Location Alert Data (LAD): Device sends LAD packet to CCN/Server, whenever distance between vehicle and LAP point is less than or equal to Alert Distance. ~DeviceID|LAD|POSITION DATA , LocationNo^ Fields Description LocationNo Location No in LAP list

Example: Device sends following packet to Server/CCN whenever vehicle approaches within AD (alert distance) of any given LAP. ~AEM|LAD|200507,101549,2836.93139,N,7722.62742,E,052,A,315,234.862,43,E0,A0CB,1000,40410,0.000,1829E80D,1*1A^

30. Over Speed Interval (OSI): Setting of speed and time Interval for over speeding alarm. ~DeviceID|SET|OSI|SpeedLimit, IntervalValue^

Example: Send following packet Speed >= 70 for duration 30 seconds as over speed, ~AEM|SET|OSI|70,S30^ Query Packet: ~DeviceID|GET|OSI^ Device res. of qry packet: ~DeviceID|RES|OSI|SpeedLimit, IntervalValue*Chksum^ Fields Description SpeedLimit 3 digits (in Km/hr.) Default value 0 IntervalValue In minutes M0 to M10. Default value M0

In seconds S0 to S59. Example: ~AEM|SET|OSI|70,S30^ Enable/Disable OSI Status: ~DeviceID|SET|OSI /S|value^ To Configure OSI Feature status Packet to be sent to DeviceID AEM

Disable ~AEM|SET|OSI /S|0^

CONFIDENTIAL

Page 16: AVL-500 Ver5_00 Packet Protocol

Applied Electro-Magnetics Pvt. Ltd.

AVL-500 Message Specification Version 5.00 13

Enable ~AEM|SET|OSI /S|1^ Query OSI Feature status: ~AEM|GET|OSI /S^ Response Query OSI Feature status: ~AEM|RES|OSI /S|0*36^ Packet for OSI Buzzer status setting: ~DeviceID|SET|OSI /B|value^

Disable ~AEM|SET|OSI /B|0^ Enable ~AEM|SET|OSI /B|1^

Query OSI Buzzer status setting: ~AEM|GET|OSI /B^ Response Query OSI Buzzer status setting: ~AEM|RES|OSI /B|0*27^ Note: OSI Buzzer Enabled: Device buzzer beeps whenever vehicle speed is more than defined OverSpeed.

31. Over Speed Data (OSD): Whenever Over speeding occurs device sends this packet to CCN/ Server. ~DeviceID|OSD|Current POSITION DATA*Chksum^ Example: when speed of vehicle is >= OSI , Following packet will be sent to control centre.

~AEM|OSD|200507,102512,2836.93139,N,7722.62742,E,075,A,315,242.685,43,E0,A0CB,1000,40410,0.000,1829E80D*18^

32. Below Speed Interval (BSI):

Setting of speed and time Interval for below speeding alarm. ~DeviceID|SET|BSI|SpeedLimit, IntervalValue^

Example: Send following packet Speed <= 35 for duration 5minute as below speed, ~DeviceID|SET|BSI|35,M5^

Query Packet: ~DeviceID|GET|BSI^ Device res. of qry packet: ~DeviceID|RES|BSI|SpeedLimit, IntervalValue*Chksum^

Fields Description SpeedLimit 3 digits (in Km/hr.) Default value 0 IntervalValue In minutes M0 to M30. Default value M0

In seconds S0 to S59.

Example: ~AEM|SET|BSI|35,M5^ Enable/Disable BSI Status: ~DeviceID|SET|BSI /S|value^ To Configure BSI Feature status Packet to be sent to DeviceID AEM

Disable ~AEM|SET|BSI /S|0^ Enable ~AEM|SET|BSI /S|1^

Query BSI Feature status: ~AEM|GET|BSI /S^ Response Query BSI Feature status: ~AEM|RES|BSI /S|0*3B^

33. Below Speed Data (BSD): Whenever below speeding occurs device sends this packet to CCN/Server. ~DeviceID|BSD|Current POSITION DATA *Chksum^ Example: whenever speed of vehicle is <= BSI , Following packet will be sent to CCN/Server.

~AEM|BSD|200507,103516,2836.93139,N,7722.62742,E,015,A,315,242.685,43,E0,A0CB,1000,40410,0.000,1829E80D*16^

34. Reset Total Distance Traveled (TDTRST):

To reset total distance traveled value to zero. ~DeviceID|SET|TDTRST^ Enable/Disable TDT Status: Default status is 0 (Disable).

To enable TDT feature for DeviceID AEM send ~AEM|SET|TDT /S|1^

To disable TDT feature for DeviceID AEM send ~AEM|SET|TDT /S|0^

CONFIDENTIAL

Page 17: AVL-500 Ver5_00 Packet Protocol

Applied Electro-Magnetics Pvt. Ltd.

AVL-500 Message Specification Version 5.00 14

Query Packet: ~DeviceID|GET|TDT /S^ Response of query packet : ~DeviceID|RES|TDT /S|1*Chksum^

35. Vehicle Stop/Move Interval (VSMI): Interval used for vehicle stop/move report. Range from 1 second to 1Minute. ~DeviceID|SET|VSMI|IntervalValue^

Query Packet: ~DeviceID|GET|VSMI^ Response of query packet : ~DeviceID|RES|VSMI|IntervalValue*Chksum^

Example: To set VSMI = 10 seconds for DeviceID AEM send the following packet to device

~AEM|SET|VSMI|S10^

To set VSMI = 1 minute for DeviceID AEM send the following packet to device ~AEM|SET|VSMI|M1^

To Disable VSMI (i.e. VSMI = 0) for DeviceID AEM send the following packet ~AEM|SET|VSMI|M0^ or ~AEM|SET|VSMI|S0^ or ~AEM|SET|VSMI|0^

36. Vehicle Stop Data (VSD):

Device sends VSD packet to CCN/Server. Whenever vehicle speed is zero (0) for more than VSMI defined, ~DeviceID|VSD|Current POSITION DATA*Chksum^

Example: ~AEM|VSD|200507,103814,2836.93139,N,7722.62742,E,000,A,315,242.826,42,E0,A0CB,1000,40410,0.000,1829E80D*0F^

37. Vehicle Move Data (VMD): Device sends VMD packet to CCN/Server. Whenever vehicle speed is greater then zero for more than VSMI defined,

~DeviceID|VSD|Current POSITION DATA*Chksum^

Example: ~AEM|VMD|200507,104526,2836.93139,N,7722.62742,E,048,A,315,242.826,43,E0,A0CB,1000,40410,0.000,1829E80D*17^

38. Data Capture (DC):

In GSM Mode: This packet is used to establish data call from Device to given DCL Phone number. In GPRS Mode: This packet is used to receive position data between StartDate and EndDate. Send following packet to device.

~DeviceID|GET|DC|StartDate StartTime, EndDate EndTime, [DCLPhoneNumber]^

Fields Description StartDate Start date from where the data is to be retrieved.

EndDate End date till where the data is to be retrieved. DCL Phonenumber Phone No. to establish Data call (default is SMS sender’s no. for GSM mode) Output: Data will come in this format ~DeviceID|RES|DC START|StartDate, EndDate*Chksum^ ~DeviceID|RES|DC /H|PageHeader*Chksum^ ~DeviceID|RES|DC|POSITION DATA*Chksum^ ~DeviceID|RES|DC COMPLETE*Chksum^ The format of PageHeader is given below:

Date, Time, TotRec;

Fields Description Date DDMMYY Time HHMMSS TotRec NN (Two digit number)

CONFIDENTIAL

Page 18: AVL-500 Ver5_00 Packet Protocol

Applied Electro-Magnetics Pvt. Ltd.

AVL-500 Message Specification Version 5.00 15

GSM mode:

Packet for DATA CALL: ~ DeviceID|GET|DC|StartDate StartTime, EndDate EndTime, [DCLPhoneNumber]^ Packet for data with page header details: ~DeviceID|GET|DC /H|StartDate StartTime, EndDate EndTime, [DCLPhoneNumber]^

Default value of DCLPhone Number is SMS sender's Phone number

GPRS mode: Packet for DATA Capture ~DeviceID|GET|DC|StartDate StartTime, EndDate EndTime^

Packet for data with page header details ~DeviceID|GET|DC /H|StartDate StartTime, EndDate EndTime^

Example-1: To download data from 10-Dec-06 to 11-Dec-06, send following packet to device: ~AEM|GET|DC|101206,111206^ Device will send data in following format: ~AEM|RES|DC START|101208 000000, 111208 235959*64^ ~AEM|RES|DC|101208,154407,1904.02651,N,7301.16162,E,000,A,315,234.567,42,A0,A1CB,1000,40410,0.000,1829E80D*7B^ ~AEM|RES|DC|101208,154507,1903.89831,N,7301.15082,E,037,A,315,234.567,43,A0,A1CB,1000,40410,0.532,1829E80D*7B^ ~AEM|RES|DC|101208,154607,1903.55631,N,7301.15772,E,042,A,315,234.567,43,80,A1CB,1000,40410,0.132,1829E80D*00^ ~AEM|RES|DC|111208,082021,1906.40341,N,7251.11272,E,000,A,315,234.567,42,A0,A1CB,1000,40410,0.000,1829E80D*71^ ~AEM|RES|DC|111208,084602,1906.37461,N,7251.10492,E,016,A,315,234.567,43,A0,A1CB,1000,40410,0.232,1829E80D*79^ ~AEM|RES|DC|111208,084702,1906.19931,N,7251.12062,E,017,A,315,234.567,43,80,A1CB,1000,40410,0.052,1829E80D*09^ ~AEM|RES|DC|111208,084802,1906.00211,N,7251.12252,E,025,A,315,234.567,43,80,A1CB,1000,40410,0.252,1829E80D*05^ ~AEM|RES|DC|111208,084902,1905.81121,N,7251.10002,E,009,A,315,234.567,43,A0

29E80D*79^ ,A1CB,1000,40410,0.055,18~AEM|RES|DC COMPLETE*5D^ Example-2: To download data from 10-Dec-06 to 11-Dec-06 with page header details, send following packet to device: ~AEM|GET|DC /H|101208,111208^ Device will send data in following format: ~AEM|RES|DC START|101208 000000, 111208 235959*64^ ~AEM|RES|DC /H|101208,154407,3*75^ ~AEM|RES|DC|101208,154407,1904.02651,N,7301.16162,E,000,A,315,234.567,42,A0,A1CB,1000,40410,0.000,1829E80D*7B^ ~AEM|RES|DC|101208,154507,1903.89831,N,7301.15082,E,037,A,315,234.567,43,A0,A1CB,1000,40410,0.532,1829E80D*7B^ ~AEM|RES|DC|101208,154607,1903.55631,N,7301.15772,E,042,A,315,234.567,43,80,A1CB,1000,40410,0.132,1829E80D*00^ ~AEM|RES|DC /H|111208,154407,5*72^ ~AEM|RES|DC|111208,082021,1906.40341,N,7251.11272,E,000,A,315,234.567,42,A0,A1CB,1000,40410,0.000,1829E80D*71^ ~AEM|RES|DC|111208,084602,1906.37461,N,7251.10492,E,016,A,315,234.567,43,A0,A1CB,1000,40410,0.232,1829E80D*79^ ~AEM|RES|DC|111208,084702,1906.19931,N,7251.12062,E,017,A,315,234.567,43,80,A1CB,1000,40410,0.052,1829E80D*09^ ~AEM|RES|DC|111208,084802,1906.00211,N,7251.12252,E,025,A,315,234.567,43,80,A1CB,1000,40410,0.252,1829E80D*05^ ~AEM|RES|DC|111208,084902,1905.81121,N,7251.10002,E,009,A,315,234.567,43,A0

829E80D*79^ ,A1CB,1000,40410,0.055,1~AEM|RES|DC COMPLETE*5D^

CONFIDENTIAL

Page 19: AVL-500 Ver5_00 Packet Protocol

Applied Electro-Magnetics Pvt. Ltd.

AVL-500 Message Specification Version 5.00 16

Example-3: To download data from specific time period e.g.. 11-Dec-06 from time 08:20:00 to 08:49:59, send following packet to device: ~AEM|GET|DC|111208 082000, 111208 084959^ Device will send data in following format: ~AEM|RES|DC START|111208 082000, 111208 084959*67^ ~AEM|RES|DC|111208,082021,1906.40341,N,7251.11272,E,000,A,315,234.567,42,A0,A1CB,1000,40410,0.000,1829E80D*71^ ~AEM|RES|DC|111208,084602,1906.37461,N,7251.10492,E,016,A,315,234.567,43,A0,A1CB,1000,40410,0.232,1829E80D*79^ ~AEM|RES|DC|111208,084702,1906.19931,N,7251.12062,E,017,A,315,234.567,43,80,A1CB,1000,40410,0.052,1829E80D*09^ ~AEM|RES|DC|111208,084802,1906.00211,N,7251.12252,E,025,A,315,234.567,43,80,A1CB,1000,40410,0.252,1829E80D*05^ ~AEM|RES|DC|111208,084902,1905.81121,N,7251.10002,E,009,A,315,234.567,43,A0,A1CB,1000,40410,0.055,1829E80D*79^ ~AEM|RES|DC COMPLETE*5D^

39. Voice Channel (HANDSET/SPEAKER) Settings (VC):

For voice call set Voice Channel ( HANDSET/SPEAKER). Default value is HANDSET. ~DeviceID|SET|VC|VC_value^

Query Packet: ~ DeviceID|GET|VC^ Device Response of query packet : ~DeviceID|RES|VC|VC_value*Chksum^

Fields Description VC_value HANDSET / SPEAKER

Example: To set VC as HANDSET: ~AEM|SET|VC|HANDSET^

To set VC as SPEAKER: ~AEM|SET|VC|SPEAKER^ 40. AUDIO GAIN Settings (AUDG):

To increase/decrease audio volume set AUDIO gain value ( 1 to 15). Default value is 12. ~DeviceID|SET|AUDG|AUDG_value^ Query Packet: ~ DeviceID|GET|AUDG^ Device response of query packet : ~DeviceID|RES|AUDG| AUDG_value*Chksum^

Fields Description AUDG_value Audio gain value ( 1 to 15)

Example: To set audio gain as 12, send following packet to device:

~AEM|SET|AUDG|12^

41. Time Zone (TMZ): GMT to local time conversion factor. e.g… for India Time Zone is +05:30. ~DeviceID|SET|TMZ|Time Zone value^

Query Packet: ~DeviceID|GET|TMZ^ Device response of query packet : ~DeviceID|RES|TMZ|Time Zone value*Chksum^

Example: Send following packet to configure Indian time zone. ~DeviceID|SET|TMZ|+05:30^

42. Message on Keys(MSG): This packet allows user to configure user defined messages on keys. Device having six MSG keys are- KEY5, KEY6, KEY7, KEY8, KEY9, KEY10 ~DeviceID|SET|KeyX|KeyMessage^

Field Description KeyX Key name for which message to be configured.

Six Valid key names are KEY5, KEY6, KEY7, KEY8, KEY9, KEY10 KeyMessage Message for key (Max. size of message is 35)

CONFIDENTIAL

Page 20: AVL-500 Ver5_00 Packet Protocol

Applied Electro-Magnetics Pvt. Ltd.

AVL-500 Message Specification Version 5.00 17

Default message on keys KEY5, KEY6, KEY7, KEY8, KEY9, KEY10 are:

Key Message

KEY5 DESTINATION REACHED KEY6 BREAKDOWN KEY7 UNLOADING COMPLETED KEY8 LOADING COMPLETED KEY9 ROAD BLOCKED KEY10 SOS/DISTRESS

e.g.. To configure message for KEY8 send the following packet to device: ~DeviceID|SET|KEY8|LOADING COMPLETED^

Query Packet: ~DeviceID|GET|KeyNoX^ Device response of query packet : ~DeviceID|RES|KeyNoX|KeyMessage*CheckSum^

e.g.. To query message of Key KEY8 send the following packet to device AEM:

~AEM|GET|KEY8^ Device response of query packet: ~AEM|RES|KEY8|LOADING COMPLETED*6B^

Whenever Message Keys ( KEY5, KEY6, KEY7, KEY8, KEY9, KEY10) pressed on device, device sends a Message to CCN/server in the following format: ~DeviceID|MS|Current POSITION DATA,KeyNoX,KeyMessage*CheckSum^

Note: To disable KeyPress event of a key, set empty message for that key. e.g.. To disable KeyPress event for KEY8 send the following packet to device: ~DeviceID|SET|KEY8|^ Now device will not generate any message when KEY8 pressed.

43. ALERTS Packets (ALRT):

Packets to Set threshold value for generating Low Internal/External Battery level (LIB, LEB) alerts: Internal Battery Threshold ( IBT ):

To set IBT Level: ~DID|SET|IBT|InternalBattLevel_Volts^ Query packet: ~DID|GET|IBT^ Response : ~DID|RES|IBT|InternalBattLevel_Volts*Chksum^ Default value for IBT is 0 (Disable).

External Battery Threshold ( EBT ): To set EBT Level: ~DID|SET|EBT|ExternalBattLevel_Volts^ Query packet: ~DID|GET|EBT^ Response : ~DID|RES|EBT|ExternalBattLevel_Volts*Chksum^

Default value for EBT is 0 (Disable).

Request Packets for Internal/External Battery Voltage Levels: To query IBV Level: ~DID|GET|IBV^ Response : ~DID|RES|IBV|IBVoltage*Chksum ^ To query EBV Level: ~DID|GET|EBV^ Response : ~DID|RES|EBV|EBVoltage*Chksum ^ Device generates LIB (Low Internal Battery Voltage) Alert whenever IBV goes below IBT level: ~DID|ALRT|POSITION_DATA,LIB,IBV_LevelVolts*Chksum^

~AEM|ALRT|200608,154525,2835.89135,N,7722.77390,E,062,A,182,242.509,43,E0,A0C8,0E00,40410,0.000,1829E80D,LIB,7.0*26^

Device generates LEB (Low External Battery Voltage)Alert whenever EBV goes below EBT level:

~DID|ALRT|POSITION_DATA,LEB,EBV_LevelVolts*Chksum^ ~AEM|ALRT|200608,154525,2835.89135,N,7722.77390,E,062,A,182,242.509,43,E0,A0C8,1000,40410,0.000,1329E80D,LEB,9.5*5E^ Device generates NEBTR (NO EXTRENAL BATTERY ) Alert whenever external battery removed:

~DID|ALRT|POSITION_DATA,NEBTR,DigitalInputs*Chksum^

Device generates GPSANT (GPS Antenna) alerts: ~DID|ALRT|POSITION_DATA,GPSANT,AnteenaStatus*Chksum^

CONFIDENTIAL

Page 21: AVL-500 Ver5_00 Packet Protocol

Applied Electro-Magnetics Pvt. Ltd.

AVL-500 Message Specification Version 5.00 18

GPS antenna status (00-OK,01-OPEN,10-SHORT,11-DONTKNOW ) comes in Input1 (Bit16 for SHORT, Bit15 for OPEN) of POSITION-DATA.

Example: ~DID|ALRT|POSITION_DATA,GPSANT,OPEN*Chksum^ ~DID|ALRT|POSITION_DATA,GPSANT,SHORT*Chksum^

44. Auxiliary Port (AUXP): Set Auxiliary port as RFID reader, Taximeter, Fuel sensor, Camera etc… a) Set AUXP as RFID reader.

~AEM|SET|AUXP|RFID^ for details of RFID see Document RFID_Packet_Protocol.pdf b) Set AUXP as FUEL Level Sensor

~AEM|SET|AUXP|FUELS^ for details of FUEL sensor see Document FUEL_Monitoring _Protocol.pdf

c) Set AUXP as Taximeter ~AEM|SET|AUXP|TAXIM^

for details of Taximeter sensor see Document TAXIMETER_Protocol.pdf

45. RFD Packet for RFID device: Device sends RFD packet to CCN/Server, Whenever RFID Tag is placed on RF sensor.

~DeviceID|RFD|POSITION DATA, 8-DigitRFID Code*Checksum^

Example: ~AEM|RFD|200507,101530,2836.93139,N,7722.62742,E,000,A,315,234.682,42,E0,A0CB,1000,40410,0.000,1829E80D,C4E1B379*46^

46. Storage Data Order (SDO) Non-GPRS LIFO/FIFO:

Packet to set order of Storage and Transmission of Non-GPRS data. Device stores up to 5000 messages if GPRS network is not available.

Set SDO as Last-In-First-Out(LIFO): ~DeviceID|SET|SDO|LIFO^ Packet to set SDO as First-In-First-Out(FIFO): ~DeviceID|SET|SDO|FIFO^

Query Packet: ~DeviceID|GET|SDO^ Device res. of query packet : ~DeviceID|RES|SDO|Lifo_Fifo*Chksum^ Default value of SDO is LIFO

47. CSQ Threshold (CSQT):

Configuration of CSQ threshold value to make GPRS connection and send data in GPRS mode. In GPRS mode (ONLINE mode) device checks CSQ level in every 120 seconds

Set CSQT as 11: ~DeviceID|SET|CSQT|11^

Query Packet: ~DeviceID|GET|CSQT^ Device res. of query packet: ~DeviceID|RES|CSQT|CSQT_value*Chksum^

Default value of CSQT is 11

Note: MSB 3 bits of Digital output byte in POSITION_DATA represent Current CSQ level.

CSQ Level MSB 3 bits (Digital output) 0 – 3 000 4 – 7 001 8 – 11 010 12 – 15 011 16 – 19 100 20 – 23 101 24 – 27 110 28 – 31 111

48. GPS Threshold (GPST): Configuration of GPS threshold value in meter per second. It allows the navigation algorithms to decrease the noise in the position output when the velocity is below a pre-defined ‘Threshold’. This reduces the position wander caused by environmental issues such as multi-path and improves position accuracy especially in stationary applications.

CONFIDENTIAL

Page 22: AVL-500 Ver5_00 Packet Protocol

Applied Electro-Magnetics Pvt. Ltd.

AVL-500 Message Specification Version 5.00 19

If the speed goes below the defined ‘Threshold’, the position is kept constant. Once the static hold (threshold ) mode has been entered, the position and velocity output will be kept constant, until there is evidence of movement. Such evidence can be velocity, acceleration, position displacement, etc.

set GPST as 1.50 m/s: ~DeviceID|SET|GPST|1.50^

Query Packet: ~DeviceID|GET|GPST^ Device res. of query packet: ~DeviceID|RES|GPST|GPST_value*Chksum^

Valid range is 0.00 to 2.55, Default value of GPST is 1.50 m/s, To disable GPS static hold (threshold) mode set its value 0.00 m/s.

49. Harsh Acceleration (HACLR): Configuration of HACLR value to detect Harsh Driving (Acceleration).

Set HACLR as 6: ~DeviceID|SET|HACLR|6^

Query Packet: ~DeviceID|GET|HACLR^ Device res. of query packet: ~DeviceID|RES|HACLR|HACLR_value*Chksum^ Default value of HACLR is 6, Range is 2 to 30 Example: Device sends following packet to server, whenever Harsh acceleration detected. ~AEM|HACLR|200608,154034,2836.94018,N,7722.63420,E,043,A,106,239.985,43,A0,A0C8,1000,40410,0.000,1829E80D,6,6.7*78^

50. Harsh De-Acceleration (HDCLR):

Configuration of HDCLR value to detect Harsh Driving (De-acceleration or Brakes).

Set HDCLR as 12: ~DeviceID|SET|HDCLR|12^

Query Packet: ~DeviceID|GET|HDCLR^ Device res. of query packet: ~DeviceID|RES|HDCLR|HDCLR_value*Chksum^ Default value of HDCLR is 12, Range is 2 to 30. Example: Device sends following packet to server, whenever Harsh De-acceleration detected. ~AEM|HDCLR|200608,154525,2835.89135,N,7722.77390,E,062,A,182,242.509,43,E0,A0C8,1000,40410,0.000,1829E80D,12,13.7*7E^

51. Sleep Mode (SLM):

This packet is used to Enable/Disable Sleep Mode setting of device. Packet to Enable SLM mode: ~DID|SET|SLM|1^ Packet to Disable SLM mode: ~DID|SET|SLM|0^

SLM Enabled device: Device checks the Ignition status. If IgnitionOFF detected, then device enters in Sleepmode (i.e.. Switch-OFF all peripherals like GSM, GPS etc..), Now Whenever IgnitionON detected then device exit form Sleepmode(i.e.. Switch-ON all peripherals GSM, GPS etc..)

52. Digital Output (DIGO):

This packet is used to ON/OFF Digital Output. To set DIGO: ~DeviceID|SET|DIGOx|ON_OFF^

Field Description DIGOx DIGO1 or DIGO2 or DIGO3 or DIGO4

Four Digital outputs, DIGO2 reserved for external buzzer. ON_OFF 1 or 0

Query Packet: ~DeviceID|GET|DIGO^

Example: To set Digital output3 as ON: ~AEM|SET|DIGO3|1^ To query Digital output status: ~AEM|GET|DIGO^ Device response of qry packet : ~AEM|RES|DIGO|04*3E^

Note: Read the detail description of Digital outputs from POSITION DATA.

53. Version information of AVL-500 (VER): Query Packet: ~DeviceID|GET|VER^ Device res. of qry packet : ~DeviceID|RES|VER|AVL-500 Version Info*Chksum^

CONFIDENTIAL

Page 23: AVL-500 Ver5_00 Packet Protocol

Applied Electro-Magnetics Pvt. Ltd.

AVL-500 Message Specification Version 5.00 20

54. Modem Version information (MVER):

Query Packet: ~DeviceID|GET|MVER^ Device res. of query packet : ~DeviceID|RES|MVER|Modem Version Information*Chksum^

55. Modem Reset (MDMRST):

To reset modem (GSM/GPRS) send following packet to device: ~DeviceID|SET|MDMRST|1^

56. International Mobile station Equipment Identity number (IMEI) of GSM module:

Query Packet: ~DeviceID|GET|IMEI^ Device res. of qry packet : ~DeviceID|RES|IMEI|IMEI_Number*Chksum^

57. International Mobile Subscriber Identity number (IMSI) of SIM-CARD:

Query Packet: ~DeviceID|GET|IMSI^ Device res. of qry packet : ~DeviceID|RES|IMSI|IMSI_Number*Chksum^

58. GPS Reset (GPSRST):

To reset GPS module send following packet to device: ~DeviceID|SET|GPSRST|1^

59. Hardware Reset (HRST):

To hard reset of device, send following packet to device: ~DeviceID|SET|HRST|1^

60. Software Reset (SRST):

To Soft reset of device, send following packet to device: ~DeviceID|SET|SRST^

61. Power OFF Device(PWROFF):

To Power OFF device in battery backup mode (No External Power), send following packet to device: ~DeviceID|SET|PWROFF^ Note: This packet works same as HRST, if external power is ON.

62. Debug command (DBG):

To enable debugging through RS232 port, send following packet to device: ~DeviceID|SET|DBG|1^ To disable debugging through RS232 port, send following packet to device: ~DeviceID|SET|DBG|0^ Default debugging is disabled.

63. Distance with Ignition (DWIGN):

If DWIGN is 1 then device calculates distance only when vehicle ignition is ON. ~DeviceID|SET|DWIGN|1^ Default value for DWIGN is 0.

64. SOS / NON-SOS Device (SOS):

Device works as SOS Device if SOS flag is 1 and it works as a NON-SOS device if SOS flag is 0. ~DeviceID|SET|SOS|0^ Query Packet: ~DeviceID|GET|SOS^ Device res. of query packet : ~DeviceID|RES|SOS|SOS_Value*Chksum^

Default value for SOS is 0.

65. SMS:

To enable SMS feature in GSM mode, send following packet to device: ~DeviceID|SET|SMS|1^ To disable SMS feature in GSM mode, send following packet to device: ~DeviceID|SET|SMS|0^ Default SMS is 1 (enable). Note: The number should be in ASL list, which is supposed to be sent SMS to the device. Read the detail description of Authorized Sender List (ASL)

CONFIDENTIAL

Page 24: AVL-500 Ver5_00 Packet Protocol

Applied Electro-Magnetics Pvt. Ltd.

AVL-500 Message Specification Version 5.00 21

66. Factory configuration (FCFG): To set factory configuration send following packet to device: ~DeviceID|SET|FCFG^ Device cleans current setting for all parameters and restore factory settings.

67. Error / Warning Message (EWM): Device sends error /warning messages to CCN/Server. ~DeviceID|EWM|E/W code|Error/Warning Description*Chksum^ Enable/disable EWM Status: Default status is 0 (Disable). ~DeviceID|SET|EWM /S|1^ ~DeviceID|GET|EWM /S^ ~DeviceID|RES|EWM /S|1^

Note: Following command works only in GSM mode of communication. 68. Modem AT Command (AT):

Query Packet: ~DeviceID|GET|AT|AT command^ Device res. of query packet : ~DeviceID|RES|AT|AT command Output*Chksum^ Example: ~DeviceID|GET|AT|AT +CREG? ^ ~DeviceID|RES|AT|+CREG: 24,99\r\nOKr\n^

Note: * Packets are used for GPRS mode of communication.

CONFIDENTIAL