Changes

1,043 bytes removed ,  21:49, 4 October 2019
Line 9: Line 9:  
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
! style="background: black; color: white;"| Codec 8  
+
! style="background: white; color: #0052A1"| Codec 8  
! style="background: black; color: white;"| Codec 8 extended
+
! style="background: white; color: #0052A1"| Codec 8 extended
 
UDP channel header
 
UDP channel header
! style="background: black; color: white;"| Codec 12  
+
! style="background: white; color: #0052A1"| Codec 12  
! style="background: black; color: white;"| Codec 13
+
! style="background: white; color: #0052A1"| Codec 13
! style="background: black; color: white;"| Codec 16
+
! style="background: white; color: #0052A1"| Codec 16
 
|-
 
|-
 
| 0x08 || 0x8E || 0x0C || 0x0D || 0x10
 
| 0x08 || 0x8E || 0x0C || 0x0D || 0x10
Line 26: Line 26:  
Below table represents AVL data packet structure.
 
Below table represents AVL data packet structure.
    +
'''Example'''
   −
{| class="wikitable"
+
Received data:
|-
  −
! style="background: black; color: white;"| 4 zeros 
  −
! style="background: black; color: white;"| Data field length
  −
! style="background: black; color: white;"| Codec ID
  −
! style="background: black; color: white;"| Number of Data 1
  −
! style="background: black; color: white;"| AVL Data
  −
! style="background: black; color: white;"| Number of Data 2
  −
! style="background: black; color: white;"| CRC-16
  −
|-
  −
| 4 bytes || 4 bytes || 1 byte || 1 byte || 30-147 bytes || 1 byte || 4 bytes
  −
|}
     −
Number of data – number of encoded data (number of records).
  −
Codec ID is constant 08.
     −
Data field length is the length of bytes [codec id, number of data 2].
  −
Number of data 1 should always be equal to number of data 2 byte.
  −
CRC-16 is 4 bytes, but first two are zeroes and last two are CRC-16 calculated for [codec id, number of data 2]
  −
Minimum AVL packet size is 45 bytes (all IO elements disabled).
  −
Maximum AVL packet size for one record is 783 bytes.
      +
<span style="background-color: #848484">00000000</span><span style="background-color: #A9BCF5">0000008c</span><span style="background-color: #04B45F">08</span><span style="background-color: #FF0000">01</span><span style="background-color: #9F81F7">0000013feb55ff74</span><span style="background-color: #D8D8D8">00</span><span style="background-color: #FFFF00">0f0ea850</span><span style="background-color: #FAAC58">209a6900</span><span style="background-color: #2EFE2E">0094</span><span style="background-color: #088A29">0000</span>120000<span style="background-color: #0040FF">00</span>
   −
*''AVL data''
+
<span style="background-color: #A9A9F5">1e</span><span style="background-color: #DF3A01">09</span>010002000300040016014703f0001504c800<span style="background-color: #DF3A01">0c</span>0900730a00460b00501300464306
   −
{| class="wikitable"
+
d7440000b5000bb60007422e9
|-
+
f180000cd0386ce0001<span style="background-color: #DF3A01">07</span>c700000000f10000601a4600
! style="background: black; color: white;"| Timestamp
  −
! style="background: black; color: white;"| Priority
  −
! style="background: black; color: white;"| GPS Element
  −
! style="background: black; color: white;"| IO element
  −
|-
  −
| 8 bytes || 1 byte || 15 bytes || 6-123
  −
|}
      +
0001344800000bb84900000bb84a00000bb84c00000000<span style="background-color: #DF3A01">02</span>4e0000000000000000cf00
   −
Timestamp – difference, in milliseconds, between the current time and midnight, January 1, 1970 UTC
+
00000000000000<span style="background-color: #FF0000">01</span><span style="background-color: #F5DA81">00003fca</span>
 
  −
*''Priority''
  −
 
      +
In total 152 Bytes 
 
{| class="wikitable"
 
{| class="wikitable"
 +
| style="background: white; color: #0052A1"|
 +
4 zeros(4 bytes)
 +
| style="background: white; color: #0052A1"|
 +
| style="background: white; color: #0052A1"|
 +
| <span style="background-color: #848484">00000000</span> 4 zeroes, 4 bytes
 
|-
 
|-
 
+
| style="background: white; color: #0052A1"|
 +
Data field length(4 bytes)
 +
| style="background: white; color: #0052A1"|
 +
| style="background: white; color: #0052A1"|
 +
| <span style="background-color: #A9BCF5">0000008c</span> data length, 4 bytes
 
|-
 
|-
| style="background: black; color: white;"|0 || Low
+
| style="background: white; color: #0052A1"|
 +
Codec ID(1 byte)
 +
| style="background: white; color: #0052A1"|
 +
| style="background: white; color: #0052A1"|
 +
| <span style="background-color: #04B45F">08</span> – Codec ID
 
|-
 
|-
| style="background: black; color: white;"|1 || High
+
| style="background: white; color: #0052A1"|
 +
Number of Data 1(1 byte)
 +
| style="background: white; color: #0052A1"|
 +
| style="background: white; color: #0052A1"|
 +
| <span style="background-color: #FF0000">01</span>    Number of Data (1 record) 1’st record data
 
|-
 
|-
| style="background: black; color: white;"|2 || Panic
+
| rowspan="9" style="background: white; color: #0052A1"|AVL Data(30-147 bytes)
|}
+
| style="background: white; color: #0052A1"|Timestamp(8 bytes)
 +
| style="background: white; color: #0052A1"|
 +
| <span style="background-color: #9F81F7">010000013feb55ff74</span> – Timestamp in milliseconds (1374042849140)
 +
GMT: Wed, 17 Jul 2013 06:34:09 GMT
 +
|-
 +
| style="background: white; color: #0052A1"|Priority(1 byte)
 +
| style="background: white; color: #0052A1"|
 +
| <span style="background-color: #D8D8D8">00</span> – Priority
 +
|-
 +
| style="background: white; color: #0052A1" rowspan="6" | GPS Element(15 bytes)
 +
| style="background: white; color: #0052A1"|
 +
Longitude
 +
(4 bytes)
 +
| <span style="background-color: #FFFF00">0f0ea850</span>    – Longitude 252618832 = 25,2618832º N
 +
|-
 +
| style="background: white; color: #0052A1"|
 +
Latitude
 +
(4 bytes)
 +
| <span style="background-color: #FAAC58">209a6900</span>    – Latitude 546990336 = 54,6990336 º E
 +
|-
 +
| style="background: white; color: #0052A1"|
 +
Altitude
 +
(2 bytes)
 +
| <span style="background-color: #2EFE2E">0094</span>        – Altitude 148 meters
 +
|-
 +
| style="background: white; color: #0052A1"|
 +
Angle
 +
(2 bytes)
 +
| <span style="background-color: #088A29">0000</span>    – Angle 0
 +
|-
 +
| style="background: white; color: #0052A1"|
 +
Satellites
 +
(1 bytes)
 +
| <span style="background-color: #088A29">12</span>    – 18 Visible satellites
 +
|-
 +
| style="background: white; color: #0052A1"|
 +
Speed
 +
(2 bytes)
 +
| <span style="background-color: #088A29">0000</span>    – 0 km/h speed
 +
|-
 +
| style="background: white; color: #0052A1"|IO Element
 +
(6-123 bytes)
 +
| style="background: white; color: #0052A1"|
 +
| <span style="background-color: #0040FF">00</span> – IO element ID of Event generated (in this case when 00 – data generated not on event)
    +
<span style="background-color: #A9A9F5">1e</span> – 30 IO elements in record (total)
   −
*''GPS Element''
+
<span style="background-color: #DF3A01">09</span> – 9 IO elements, which length is 1 Byte
    +
0    – IO element ID = 01
   −
{| class="wikitable"
+
0    – IO element’s value = 0
|-
  −
! style="background: black; color: white;"| Longitude
  −
! style="background: black; color: white;"| Latitude
  −
! style="background: black; color: white;"| Altitude
  −
! style="background: black; color: white;"| Angle
  −
! style="background: black; color: white;"| Satellites
  −
! style="background: black; color: white;"| Speed
  −
|-
  −
| 4 bytes || 4 bytes || 2 bytes || 2 bytes || 1 bytes || 2 bytes
  −
|}
     −
X    Longitude
+
02    – IO element ID = 02
   −
Y   Latitude1
+
0   – IO element’s value = 0
   −
Altitude    In meters above sea level1
+
03    – IO element ID = 03
   −
Angle   In degrees, 0 is north, increasing clock-wise 1
+
0   – IO element’s value = 0
   −
Satellites     Number of visible satellites1
+
4     – IO element ID = 04
   −
Speed in km/h. 0x0000 if GPS data is invalid1
+
0    – IO element’s value = 0
   −
Longitude and latitude are integer values built from degrees, minutes, seconds and milliseconds by formula
+
16    – IO element ID = 22 (dec)
   −
[[Image:197.png]]
+
0    – IO element’s value = 1
   −
d -    Degrees
+
47    – IO element ID = 71 (dec)
   −
m -    Minutes
+
03    – IO element’s value = 3
   −
s -    Seconds
+
F0    – IO element ID = 240 (dec)
   −
ms -   Milliseconds
+
0   – IO element’s value = 0
   −
p -    Precision (10000000)
+
15    – IO element ID = 21 (dec)
   −
If longitude is in west or latitude in south, multiply result by –1. To determine if the coordinate is negative, convert it to binary format and check the very first bit. If it is 0, coordinate is positive, if it is 1, coordinate is negative.
+
04    – IO element’s value = 0
   −
Example:
+
C8    – IO element ID = 200 (dec)
  −
Received value: 20 9c ca 80
  −
Converted to BIN: 00100000 10011100 11001010 10000000 first bit is 0, which means coordinate is positive
  −
Converted to DEC: 547146368
  −
For more information see two‘s complement arithmetics.
      +
0    – IO element’s value = 0
   −
*''IO Element''
+
<span style="background-color: #DF3A01">0c</span>    – 12 IO elements, which value length is 2 Bytes
   −
{| class="wikitable"
+
09    – IO element ID = 9 (dec)
|-
     −
| style="background: black; color: white;"|Event IO ID || 1 byte
+
0073    – IO element’s value
|-
  −
| style="background: black; color: white;"|N of Total IO || 1 byte
  −
|-
  −
| style="background: black; color: white;"|N1 of One Byte IO || 1 byte
  −
|-
  −
| style="background: black; color: white;"|1’st  IO ID || 1 byte
  −
|-
  −
| style="background: black; color: white;"|1’st IO Value || 1 byte
  −
|-
  −
| ... ||
  −
|-
  −
| style="background: black; color: white;"|N1’th  IO ID || 1 byte
  −
|-
  −
| style="background: black; color: white;"|N1’th IO Value || 1 byte
  −
|-
  −
| style="background: black; color: white;"|N2 of Two Bytes || 1 byte
  −
|-
  −
| style="background: black; color: white;"|1’st  IO ID || 1 byte
  −
|-
  −
| style="background: black; color: white;"|1’st IO Value || 2 bytes
  −
|-
  −
| |... ||
  −
|-
  −
| style="background: black; color: white;"|N2’th  IO ID || 1 byte
  −
|-
  −
| style="background: black; color: white;"|N2’th IO Value || 2 bytes
  −
|-
  −
| style="background: black; color: white;"|N4 of Four Bytes || 1 byte
  −
|-
  −
| style="background: black; color: white;"|1’st  IO ID || 1 byte
  −
|-
  −
| style="background: black; color: white;"|1’st IO Value || 4 byte
  −
|-
  −
| |... ||
  −
|-
  −
| style="background: black; color: white;"|N4’th  IO ID || 1 byte
  −
|-
  −
| style="background: black; color: white;"|N4’th IO Value || 4 bytes
  −
|-
  −
| style="background: black; color: white;"|N8 of Eight Bytes || 1 byte
  −
|-
  −
| style="background: black; color: white;"|1’st  IO ID || 1 byte
  −
|-
  −
| style="background: black; color: white;"|1’st IO Value || 8 bytes
  −
|-
  −
| |... ||
  −
|-
  −
| style="background: black; color: white;"|N8’th  IO ID || 1 byte
  −
|-
  −
| style="background: black; color: white;"|N8’th IO Value || 8 bytes
  −
|}
  −
Event IO ID if data is acquired on event – this field defines which IO property has changed and generated an event. If data cause is not event – the value is 0.
     −
N    total number of properties coming with record (N=N1+N2+N4+N8)
+
0a    – IO element ID = 10 (dec)
   −
N1    number of properties, which length is 1 byte
+
0046    – IO element’s value
   −
N2    number of properties, which length is 2 bytes
+
0b    – IO element ID = 11 (dec)
   −
N4    number of properties, which length is 4 bytes
+
0050    – IO element’s value
   −
N8    number of properties, which length is 8 bytes
+
13    – IO element ID = 19 (dec)
    +
0046    – IO element’s value
   −
'''Example'''
+
43    – IO element ID = 67 (dec)
   −
Received data:
+
06d7    – IO element’s value
    +
1    – IO element ID = 68 (dec)
    +
0    – IO element’s value
   −
<span style="background-color: #848484">00000000</span><span style="background-color: #A9BCF5">0000008c</span><span style="background-color: #04B45F">08</span><span style="background-color: #FF0000">01</span><span style="background-color: #9F81F7">0000013feb55ff74</span><span style="background-color: #D8D8D8">00</span><span style="background-color: #FFFF00">0f0ea850</span><span style="background-color: #FAAC58">209a6900</span><span style="background-color: #2EFE2E">0094</span><span style="background-color: #088A29">0000</span>120000<span style="background-color: #0040FF">00</span>
+
B5    – IO element ID = 181 (dec)
   −
<span style="background-color: #A9A9F5">1e</span><span style="background-color: #DF3A01">09</span>010002000300040016014703f0001504c800<span style="background-color: #DF3A01">0c</span>0900730a00460b00501300464306
+
000b    – IO element’s value
   −
d7440000b5000bb60007422e9
+
B6    – IO element ID = 182 (dec)
f180000cd0386ce0001<span style="background-color: #DF3A01">07</span>c700000000f10000601a4600
     −
0001344800000bb84900000bb84a00000bb84c00000000<span style="background-color: #DF3A01">02</span>4e0000000000000000cf00
+
0007    – IO element’s value
   −
00000000000000<span style="background-color: #FF0000">01</span><span style="background-color: #F5DA81">00003fca</span>
+
42    – IO element ID = 66 (dec)
   −
In total 152 Bytes
+
2e9f    – IO element’s value
    +
2    – IO element ID = 24 (dec)
   −
<span style="background-color: #848484">00000000</span> 4 zeroes, 4 bytes
+
0    – IO element’s value
   −
<span style="background-color: #A9BCF5">0000008c</span> data length, 4 bytes
+
cd    – IO element ID = 205 (dec)
   −
<span style="background-color: #04B45F">08</span> Codec ID
+
3    IO element’s value
   −
<span style="background-color: #FF0000">01</span>    Number of Data (1 record) 1’st record data
+
CE    – IO element ID = 206 (dec)
    +
0    – IO element’s value
    +
<span style="background-color: #DF3A01">07</span> – 7 IO elements, which value length is 4 Bytes
   −
<span style="background-color: #9F81F7">010000013feb55ff74</span> – Timestamp in milliseconds (1374042849140)  
+
C7        – IO element ID = 199 (dec)
   −
GMT: Wed, 17 Jul 2013 06:34:09 GMT
+
0    – IO element’s value
   −
<span style="background-color: #D8D8D8">00</span> – Priority
+
f1        – IO element ID = 241 (dec)
   −
GPS Element
+
0000601a    – IO element’s value
   −
<span style="background-color: #FFFF00">0f0ea850</span>    Longitude 252618832 = 25,2618832º N
+
46        IO element ID = 70 (dec)
   −
<span style="background-color: #FAAC58">209a6900</span>   – Latitude 546990336 = 54,6990336 º E
+
00000134   – IO element’s value
   −
<span style="background-color: #2EFE2E">0094</span>         – Altitude 148 meters
+
48         – IO element ID = 72 (dec)
   −
<span style="background-color: #088A29">0000</span>   – Angle 0
+
00000bb8   – IO element’s value
   −
<span style="background-color: #088A29">12</span>   – 18 Visible satellites
+
4   – IO element ID = 73 (dec)
   −
<span style="background-color: #088A29">0000</span>   – 0 km/h speed
+
00000bb8   – IO element’s value
   −
IO Element
+
4a        – IO element ID = 74 (dec)
   −
<span style="background-color: #0040FF">00</span> – IO element ID of Event generated (in this case when 00 – data generated not on event)
+
00000bb8    – IO element’s value
   −
<span style="background-color: #A9A9F5">1e</span> 30 IO elements in record (total)
+
4c        – IO element ID = 76 (dec)
   −
<span style="background-color: #DF3A01">09</span> 9 IO elements, which length is 1 Byte
+
1    – IO element’s value
   −
0    – IO element ID = 01
+
<span style="background-color: #DF3A01">02</span> 2 IO elements, which value length is 8 Bytes
   −
0    – IO element’s value = 0
+
4e            – IO element ID = 78 (dec)
   −
02    – IO element ID = 02
+
0    – IO element’s value
   −
0    – IO element’s value = 0
+
cf            – IO element ID = 207 (dec)
   −
03    – IO element ID = 03
+
0    – IO element’s value
 +
|-
 +
| style="background: white; color: #0052A1"|Number of Data 2(1 byte)
 +
| style="background: white; color: #0052A1"|
 +
| style="background: white; color: #0052A1"|
 +
| <span style="background-color: #FF0000">01</span>    – Number of Data (1 record)
 +
|-
 +
| style="background: white; color: #0052A1"|CRC-16(4 bytes)
 +
| style="background: white; color: #0052A1"|
 +
| style="background: white; color: #0052A1"|
 +
| <span style="background-color: #F5DA81">00003fca</span>    - CRC-16, 4 Bytes (first 2 are always zeros)
 +
|}
 +
Number of data – number of encoded data (number of records).
 +
Codec ID is constant 08.
   −
0    – IO element’s value = 0
+
Data field length is the length of bytes [codec id, number of data 2].
 +
Number of data 1 should always be equal to number of data 2 byte.
 +
CRC-16 is 4 bytes, but first two are zeroes and last two are CRC-16 calculated for [codec id, number of data 2]
 +
Minimum AVL packet size is 45 bytes (all IO elements disabled).
 +
Maximum AVL packet size for one record is 783 bytes.
   −
4    – IO element ID = 04
     −
0    IO element’s value = 0
+
Timestamp difference, in milliseconds, between the current time and midnight, January 1, 1970 UTC
   −
16    – IO element ID = 22 (dec)
+
*''Priority''
   −
0    – IO element’s value = 1
+
Priority level (AVL packet priority) can be:
 +
*Low Priority
 +
**Module makes an additional record with an indication that the event was caused by an I/O element change (depending on Operands configuration).
 +
*High Priority
 +
**Module makes an additional record with High priority flag and sends event packet immediately to the server using GPRS.
 +
*Panic Priority
 +
**This priority triggers same actions as High priority, but if GPRS fails, it sends an AVL packet using SMS data if SMS data sending is enabled and the number is provided in SMS/Call Settings.
   −
47    – IO element ID = 71 (dec)
     −
03    – IO element’s value = 3
     −
F0    – IO element ID = 240 (dec)
+
*''GPS Element''
   −
0   – IO element’s value = 0
+
X   Longitude
   −
15    – IO element ID = 21 (dec)
+
Y    Latitude1
   −
04    – IO element’s value = 0
+
Altitude    In meters above sea level1
   −
C8    – IO element ID = 200 (dec)
+
Angle    In degrees, 0 is north, increasing clock-wise 1
   −
0    – IO element’s value = 0
+
Satellites    Number of visible satellites1
   −
<span style="background-color: #DF3A01">0c</span>    – 12 IO elements, which value length is 2 Bytes
+
Speed in km/h. 0x0000 if GPS data is invalid1
   −
09    – IO element ID = 9 (dec)
+
Longitude and latitude are integer values built from degrees, minutes, seconds and milliseconds by formula
   −
0073    – IO element’s value
+
[[Image:197.png]]
   −
0a    – IO element ID = 10 (dec)
+
d -    Degrees
   −
0046    – IO element’s value
+
m -    Minutes
   −
0b    – IO element ID = 11 (dec)
+
s -    Seconds
   −
0050    – IO element’s value
+
ms -    Milliseconds
   −
13    – IO element ID = 19 (dec)
+
p -    Precision (10000000)
   −
0046    – IO element’s value
+
If longitude is in west or latitude in south, multiply result by –1. To determine if the coordinate is negative, convert it to binary format and check the very first bit. If it is 0, coordinate is positive, if it is 1, coordinate is negative.
   −
43    – IO element ID = 67 (dec)
+
Example:
 
+
06d7    – IO element’s value
+
Received value: 20 9c ca 80
 
+
Converted to BIN: 00100000 10011100 11001010 10000000 first bit is 0, which means coordinate is positive
1    – IO element ID = 68 (dec)
+
Converted to DEC: 547146368
 
+
For more information see two‘s complement arithmetics.
0    – IO element’s value
  −
 
  −
B5    – IO element ID = 181 (dec)
  −
 
  −
000b    – IO element’s value
  −
 
  −
B6    – IO element ID = 182 (dec)
  −
 
  −
0007    – IO element’s value
  −
 
  −
42    – IO element ID = 66 (dec)
  −
 
  −
2e9f    – IO element’s value
  −
 
  −
2    – IO element ID = 24 (dec)
  −
 
  −
0    – IO element’s value
  −
 
  −
cd    – IO element ID = 205 (dec)
  −
 
  −
3    – IO element’s value
  −
 
  −
CE    – IO element ID = 206 (dec)
  −
 
  −
0    – IO element’s value
  −
 
  −
<span style="background-color: #DF3A01">07</span> – 7 IO elements, which value length is 4 Bytes
  −
 
  −
C7        – IO element ID = 199 (dec)
  −
 
  −
0   – IO element’s value
  −
 
  −
f1        – IO element ID = 241 (dec)
  −
 
  −
0000601a    – IO element’s value
  −
 
  −
46        – IO element ID = 70 (dec)
  −
 
  −
00000134    – IO element’s value
  −
 
  −
48        – IO element ID = 72 (dec)
  −
 
  −
00000bb8    – IO element’s value
  −
 
  −
4    – IO element ID = 73 (dec)
  −
 
  −
00000bb8    – IO element’s value
  −
 
  −
4a        – IO element ID = 74 (dec)
  −
 
  −
00000bb8    – IO element’s value
  −
 
  −
4c        – IO element ID = 76 (dec)
  −
 
  −
1    – IO element’s value
  −
 
  −
<span style="background-color: #DF3A01">02</span> – 2 IO elements, which value length is 8 Bytes
  −
 
  −
4e            – IO element ID = 78 (dec)
  −
 
  −
0    – IO element’s value
  −
 
  −
cf            – IO element ID = 207 (dec)
  −
 
  −
0    – IO element’s value
  −
 
  −
<span style="background-color: #FF0000">01</span>    – Number of Data (1 record)
     −
<span style="background-color: #F5DA81">00003fca</span>    - CRC-16, 4 Bytes (first 2 are always zeros)
      
 
Line 419: Line 347:  
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
! style="background: black; color: white;"|AVL data packet header !! style="background: black; color: white;"|AVL data array !! style="background: black; color: white;"| CRC
+
! style="background: white; color: #0052A1"|AVL data packet header !! style="background: white; color: #0052A1"|AVL data array !! style="background: white; color: #0052A1"| CRC
 
|-
 
|-
 
| Four zero bytes,
 
| Four zero bytes,
Line 446: Line 374:  
{| class="wikitable "
 
{| class="wikitable "
 
|-
 
|-
! colspan="4" align="center" style="background: black; color: white;"|UDP datagram  
+
! colspan="4" align="center" style="background: white; color: #0052A1"|UDP datagram  
 
|-
 
|-
 
| rowspan="4"| UDP channel packet x N
 
| rowspan="4"| UDP channel packet x N
Line 461: Line 389:  
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
! colspan="2" align="center" style="background: black; color: white;"|Not usable byte
+
! colspan="2" align="center" style="background: white; color: #0052A1"|Not usable byte
    
|-
 
|-
Line 471: Line 399:  
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
! colspan="3" align="center" style="background: black; color: white;"|Acknowledgment packet
+
! colspan="3" align="center" style="background: white; color: #0052A1"|Acknowledgment packet
 
|-
 
|-
 
| Packet length || 2 bytes || 0x0003  
 
| Packet length || 2 bytes || 0x0003  
Line 487: Line 415:  
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
! colspan="3" align="center" style="background: black; color: white;"|AVL data encapsulated in UDP channel packet
+
! colspan="3" align="center" style="background: white; color: #0052A1"|AVL data encapsulated in UDP channel packet
 
|-
 
|-
 
| AVL packet id (1 byte) || Module IMEI || AVL data array
 
| AVL packet id (1 byte) || Module IMEI || AVL data array
Line 499: Line 427:  
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
! colspan="3" align="center" style="background: black; color: white;"|Server response to AVL data packet
+
! colspan="3" align="center" style="background: white; color: #0052A1"|Server response to AVL data packet
 
|-
 
|-
 
| AVL packet id (1 byte) ||Number of accepted AVL elements (1 byte)
 
| AVL packet id (1 byte) ||Number of accepted AVL elements (1 byte)
Line 522: Line 450:  
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
! style="background: black; color: white;"|UDP channel header !!style="background: black; color: white;"| AVL packet header !!style="background: black; color: white;"| AVL data array
+
! style="background: white; color: #0052A1"|UDP channel header !!style="background: white; color: #0052A1"| AVL packet header !!style="background: white; color: #0052A1"| AVL data array
 
|-
 
|-
 
| Len – 253,  
 
| Len – 253,  
Line 544: Line 472:  
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
!style="background: black; color: white;"| UDP channel header !!style="background: black; color: white;"| AVL packet acknowledgment  
+
!style="background: white; color: #0052A1"| UDP channel header !!style="background: white; color: #0052A1"| AVL packet acknowledgment  
 
|-
 
|-
 
| Len – 5,
 
| Len – 5,
Line 569: Line 497:  
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
! style="background: black; color: white;"| !!style="background: black; color: white;"| Codec 8 !!style="background: black; color: white;"| Codec 8 Extended
+
! style="background: white; color: #0052A1"| !!style="background: white; color: #0052A1"| Codec 8 !!style="background: white; color: #0052A1"| Codec 8 Extended
 
|-
 
|-
 
| Codec ID || 0x08 || 0x8E
 
| Codec ID || 0x08 || 0x8E
Line 598: Line 526:  
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
! style="background: black; color: white;"|4 zeros !! style="background: black; color: white;"|Data field length !! style="background: black; color: white;"|Codec ID !! style="background: black; color: white;"|Number of
+
! style="background: white; color: #0052A1"|4 zeros !! style="background: white; color: #0052A1"|Data field length !! style="background: white; color: #0052A1"|Codec ID !! style="background: white; color: #0052A1"|Number of
 
Data 1
 
Data 1
  !! style="background: black; color: white;"|AVL Data !! style="background: black; color: white;"|Number of
+
  !! style="background: white; color: #0052A1"|AVL Data !! style="background: white; color: #0052A1"|Number of
 
Data 2
 
Data 2
  !! style="background: black; color: white;"|CRC-16
+
  !! style="background: white; color: #0052A1"|CRC-16
 
|-
 
|-
 
| 4 Bytes || 4 Bytes || 1 Byte || 1 Byte || 38-768
 
| 4 Bytes || 4 Bytes || 1 Byte || 1 Byte || 38-768
Line 625: Line 553:  
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
!style="background: black; color: white;"| Timestamp !!style="background: black; color: white;"| Timestamp Priority !!style="background: black; color: white;"| GPS Element !!style="background: black; color: white;"| IO Element
+
!style="background: white; color: #0052A1"| Timestamp !!style="background: white; color: #0052A1"| Timestamp Priority !!style="background: white; color: #0052A1"| GPS Element !!style="background: white; color: #0052A1"| IO Element
 
|-
 
|-
 
| 8 Bytes || 1 Byte || 15 Bytes || 14 - 744
 
| 8 Bytes || 1 Byte || 15 Bytes || 14 - 744
Line 635: Line 563:  
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
| style="background: black; color: white;"| 0 || Low
+
| style="background: white; color: #0052A1"| 0 || Low
 
|-
 
|-
| style="background: black; color: white;"| 1 || High
+
| style="background: white; color: #0052A1"| 1 || High
 
|-
 
|-
| style="background: black; color: white;"| 2 || Panic
+
| style="background: white; color: #0052A1"| 2 || Panic
 
|}
 
|}
 
<small>Table 5. Priority element values</small>
 
<small>Table 5. Priority element values</small>
Line 648: Line 576:  
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
!style="background: black; color: white;"| Longitude !!style="background: black; color: white;"| Latitude !!style="background: black; color: white;"| Altitude !!style="background: black; color: white;"| Angle !!style="background: black; color: white;"| Satellites !!style="background: black; color: white;"| Speed
+
!style="background: white; color: #0052A1"| Longitude !!style="background: white; color: #0052A1"| Latitude !!style="background: white; color: #0052A1"| Altitude !!style="background: white; color: #0052A1"| Angle !!style="background: white; color: #0052A1"| Satellites !!style="background: white; color: #0052A1"| Speed
 
|-
 
|-
 
| 4 Bytes || 4 Bytes || 2 Bytes || 2 Bytes || 1 Byte || 2 Bytes
 
| 4 Bytes || 4 Bytes || 2 Bytes || 2 Bytes || 1 Byte || 2 Bytes
Line 659: Line 587:  
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
|style="background: black; color: white;"| Event IO ID || 2 bytes
+
|style="background: white; color: #0052A1"| Event IO ID || 2 bytes
 
|-
 
|-
|style="background: black; color: white;"| N of Total IO || 2 bytes
+
|style="background: white; color: #0052A1"| N of Total IO || 2 bytes
 
|-
 
|-
|style="background: black; color: white;"| N1 of One Byte IO || 2 bytes
+
|style="background: white; color: #0052A1"| N1 of One Byte IO || 2 bytes
 
|-
 
|-
|style="background: black; color: white;"| 1'st IO ID || 2 bytes
+
|style="background: white; color: #0052A1"| 1'st IO ID || 2 bytes
 
|-
 
|-
|style="background: black; color: white;"| 1'st IO Value || 1 bytes
+
|style="background: white; color: #0052A1"| 1'st IO Value || 1 bytes
 
|-
 
|-
 
|  ||  
 
|  ||  
 
|-
 
|-
|style="background: black; color: white;"| N1'th IO ID || 2 bytes
+
|style="background: white; color: #0052A1"| N1'th IO ID || 2 bytes
 
|-
 
|-
|style="background: black; color: white;"| N1'st IO Value || 1 bytes
+
|style="background: white; color: #0052A1"| N1'st IO Value || 1 bytes
 
|-
 
|-
|style="background: black; color: white;"| N2 of Two Byte IO || 2 bytes
+
|style="background: white; color: #0052A1"| N2 of Two Byte IO || 2 bytes
 
|-
 
|-
|style="background: black; color: white;"| 1'st IO ID || 2 bytes
+
|style="background: white; color: #0052A1"| 1'st IO ID || 2 bytes
 
|-
 
|-
|style="background: black; color: white;"| 1'st IO Value || 2 bytes
+
|style="background: white; color: #0052A1"| 1'st IO Value || 2 bytes
 
|-
 
|-
 
|  ||  
 
|  ||  
 
|-
 
|-
|style="background: black; color: white;"| N2'th IO ID || 2 bytes
+
|style="background: white; color: #0052A1"| N2'th IO ID || 2 bytes
 
|-
 
|-
|style="background: black; color: white;"| N2'st IO Value || 2 bytes
+
|style="background: white; color: #0052A1"| N2'st IO Value || 2 bytes
 
|-
 
|-
|style="background: black; color: white;"| N4 of Four Byte IO || 2 bytes
+
|style="background: white; color: #0052A1"| N4 of Four Byte IO || 2 bytes
 
|-
 
|-
|style="background: black; color: white;"| 1'st IO ID || 2 bytes
+
|style="background: white; color: #0052A1"| 1'st IO ID || 2 bytes
 
|-
 
|-
|style="background: black; color: white;"| 1'st IO Value || 4 bytes
+
|style="background: white; color: #0052A1"| 1'st IO Value || 4 bytes
 
|-
 
|-
 
|  ||  
 
|  ||  
 
|-
 
|-
|style="background: black; color: white;"| N4'th IO ID || 2 bytes
+
|style="background: white; color: #0052A1"| N4'th IO ID || 2 bytes
 
|-
 
|-
|style="background: black; color: white;"| N4'st IO Value || 4 bytes
+
|style="background: white; color: #0052A1"| N4'st IO Value || 4 bytes
 
|-
 
|-
|style="background: black; color: white;"| N2 of Eight Byte IO || 2 bytes
+
|style="background: white; color: #0052A1"| N2 of Eight Byte IO || 2 bytes
 
|-
 
|-
|style="background: black; color: white;"| 1'st IO ID || 2 bytes
+
|style="background: white; color: #0052A1"| 1'st IO ID || 2 bytes
 
|-
 
|-
|style="background: black; color: white;"| 1'st IO Value || 8 bytes
+
|style="background: white; color: #0052A1"| 1'st IO Value || 8 bytes
 
|-
 
|-
 
|  ||  
 
|  ||  
 
|-
 
|-
|style="background: black; color: white;"| N8'th IO ID || 2 bytes
+
|style="background: white; color: #0052A1"| N8'th IO ID || 2 bytes
 
|-
 
|-
|style="background: black; color: white;"| N8'st IO Value || 8 bytes
+
|style="background: white; color: #0052A1"| N8'st IO Value || 8 bytes
 
|-
 
|-
|style="background: black; color: white;"| NX of X Byte IO || 2 bytes
+
|style="background: white; color: #0052A1"| NX of X Byte IO || 2 bytes
 
|-
 
|-
|style="background: black; color: white;"| 1'st IO ID || 2 bytes
+
|style="background: white; color: #0052A1"| 1'st IO ID || 2 bytes
 
|-
 
|-
|style="background: black; color: white;"| 1'st IO Length || 2 bytes
+
|style="background: white; color: #0052A1"| 1'st IO Length || 2 bytes
 
|-
 
|-
|style="background: black; color: white;"| 1'st IO Value || defined by length
+
|style="background: white; color: #0052A1"| 1'st IO Value || defined by length
 
|-
 
|-
 
| ||  
 
| ||  
 
|-
 
|-
|style="background: black; color: white;"| NX'st IO ID || 2 bytes
+
|style="background: white; color: #0052A1"| NX'st IO ID || 2 bytes
 
|-
 
|-
|style="background: black; color: white;"| NX'st IO Length || 2 bytes
+
|style="background: white; color: #0052A1"| NX'st IO Length || 2 bytes
 
|-
 
|-
|style="background: black; color: white;"| NX'st IO Value  || defined by length
+
|style="background: white; color: #0052A1"| NX'st IO Value  || defined by length
 
|}
 
|}
 
<small>Table 7. IO element structure</small>
 
<small>Table 7. IO element structure</small>
Line 761: Line 689:  
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
!style="background: black; color: white;"| AVL data packet header !!style="background: black; color: white;"| AVL data array !!style="background: black; color: white;"| CRC
+
!style="background: white; color: #0052A1"| AVL data packet header !!style="background: white; color: #0052A1"| AVL data array !!style="background: white; color: #0052A1"| CRC
 
|-
 
|-
 
| Four zero bytes,
 
| Four zero bytes,
Line 871: Line 799:  
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
!style="background: black; color: white;"| UDP channel header !!style="background: black; color: white;"| AVL packet header !!style="background: black; color: white;"| AVL data array
+
!style="background: white; color: #0052A1"| UDP channel header !!style="background: white; color: #0052A1"| AVL packet header !!style="background: white; color: #0052A1"| AVL data array
 
|-
 
|-
 
| Len – 253,
 
| Len – 253,
Line 892: Line 820:  
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
!style="background: black; color: white;"| UDP channel header!!style="background: black; color: white;"| AVL packet acknowledgment  
+
!style="background: white; color: #0052A1"| UDP channel header!!style="background: white; color: #0052A1"| AVL packet acknowledgment  
 
|-
 
|-
 
| Len – 5,
 
| Len – 5,
Line 956: Line 884:  
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
!style="background: black; color: white;"| Device !!style="background: black; color: white;"| SMS over GPRS !!style="background: black; color: white;"| SMS over GPRS via UDP !!style="background: black; color: white;"| Special Codec12 GPRS commands
+
!style="background: white; color: #0052A1"| Device !!style="background: white; color: #0052A1"| SMS over GPRS !!style="background: white; color: #0052A1"| SMS over GPRS via UDP !!style="background: white; color: #0052A1"| Special Codec12 GPRS commands
 
|-
 
|-
 
| FM11YX || Available since base firmware 01.11.XX || Since base firmware
 
| FM11YX || Available since base firmware 01.11.XX || Since base firmware
Line 1,294: Line 1,222:  
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
!style="background: black; color: white;"| Device !!style="background: black; color: white;"| Availability
+
!style="background: white; color: #0052A1"| Device !!style="background: white; color: #0052A1"| Availability
 
|-
 
|-
 
| FM11YX || Available since base firmware 01.18.XX
 
| FM11YX || Available since base firmware 01.18.XX
Line 1,343: Line 1,271:  
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
! 0x00000000 !! Data size !! 0x0D !!style="background: yellow; color: red;"| 0x01 !!style="background: black; color: red;"| 0x06 !! Command size !! Timestamp !! Payload !!style="background: yellow; color: red;"| 0x01 !! CRC
+
! 0x00000000 !! Data size !! 0x0D !!style="background: yellow; color: red;"| 0x01 !!style="background: #0052A1; color: red;"| 0x06 !! Command size !! Timestamp !! Payload !!style="background: yellow; color: red;"| 0x01 !! CRC
 
|-
 
|-
 
| 4 bytes || 4 bytes || 1 byte || 1 byte || 1 byte || 4 bytes || 4 bytes || X bytes || 1 byte || 1 byte
 
| 4 bytes || 4 bytes || 1 byte || 1 byte || 1 byte || 4 bytes || 4 bytes || X bytes || 1 byte || 1 byte
Line 1,350: Line 1,278:  
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
!style="background: black; color: red;"| 0x06||Message type filed - 0x06 = packet FM -> Server
+
!style="background: #0052A1; color: red;"| 0x06||Message type filed - 0x06 = packet FM -> Server
 
|}
 
|}
   Line 1,614: Line 1,542:  
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
!style="background: black; color: white;"| Value !!style="background: black; color: white;"| Record created  
+
!style="background: white; color: #0052A1"| Value !!style="background: white; color: #0052A1"| Record created  
 
|-
 
|-
 
| 0 || On exit
 
| 0 || On exit
Line 1,785: Line 1,713:  
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
!style="background: black; color: white;"| Codec type !!style="background: black; color: white;"| AVL data packet header !!style="background: black; color: white;"| AVL data array !!style="background: black; color: white;"| CRC
+
!style="background: white; color: #0052A1"| Codec type !!style="background: white; color: #0052A1"| AVL data packet header !!style="background: white; color: #0052A1"| AVL data array !!style="background: white; color: #0052A1"| CRC
 
|-
 
|-
 
|  || Four zero bytes,
 
|  || Four zero bytes,
Line 1,815: Line 1,743:  
{| class="wikitable "
 
{| class="wikitable "
 
|-
 
|-
! colspan="4" align="center" style="background: black; color: white;"|UDP datagram  
+
! colspan="4" align="center" style="background: white; color: #0052A1"|UDP datagram  
 
|-
 
|-
 
| rowspan="4"| UDP channel packet x N
 
| rowspan="4"| UDP channel packet x N
Line 1,830: Line 1,758:  
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
! colspan="3" align="center" style="background: black; color: white;"|Not usable byte
+
! colspan="3" align="center" style="background: white; color: #0052A1"|Not usable byte
 
|-
 
|-
 
| 1 ||Data packet requiring acknowledgment
 
| 1 ||Data packet requiring acknowledgment
Line 1,841: Line 1,769:  
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
! colspan="3" align="center" style="background: black; color: white;"|Acknowledgment packet
+
! colspan="3" align="center" style="background: white; color: #0052A1"|Acknowledgment packet
 
|-
 
|-
 
| Packet length || 2 bytes || 0x0003  
 
| Packet length || 2 bytes || 0x0003  
Line 1,857: Line 1,785:  
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
! colspan="3" align="center" style="background: black; color: white;"|AVL data encapsulated in UDP channel packet
+
! colspan="3" align="center" style="background: white; color: #0052A1"|AVL data encapsulated in UDP channel packet
 
|-
 
|-
 
| AVL packet id (1 byte) || Module IMEI || AVL data array
 
| AVL packet id (1 byte) || Module IMEI || AVL data array
Line 1,871: Line 1,799:  
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
! colspan="3" align="center" style="background: black; color: white;"|Server response to AVL data packet
+
! colspan="3" align="center" style="background: white; color: #0052A1"|Server response to AVL data packet
 
|-
 
|-
 
| AVL packet id (1 byte) ||Number of accepted AVL elements (1 byte)
 
| AVL packet id (1 byte) ||Number of accepted AVL elements (1 byte)
Line 1,894: Line 1,822:  
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
! style="background: black; color: white;"|UDP channel header !!style="background: black; color: white;"| AVL packet header !!style="background: black; color: white;"| AVL data array
+
! style="background: white; color: #0052A1"|UDP channel header !!style="background: white; color: #0052A1"| AVL packet header !!style="background: white; color: #0052A1"| AVL data array
 
|-
 
|-
 
| Len – 253,  
 
| Len – 253,  
Line 1,915: Line 1,843:  
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
!style="background: black; color: white;"| UDP channel header !!style="background: black; color: white;"| AVL packet acknowledgment  
+
!style="background: white; color: #0052A1"| UDP channel header !!style="background: white; color: #0052A1"| AVL packet acknowledgment  
 
|-
 
|-
 
| Len – 5,
 
| Len – 5,
Line 1,972: Line 1,900:  
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
! colspan="3" align="center" style="background: black; color: white;"|SM data (TP-UD)
+
! colspan="3" align="center" style="background: white; color: #0052A1"|SM data (TP-UD)
 
|-
 
|-
 
| AVL data array ||IMEI: 8 bytes
 
| AVL data array ||IMEI: 8 bytes
Line 1,997: Line 1,925:  
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
!style="background: black; color: white;"| Byte 1 !!style="background: black; color: white;"| Byte 2 !!style="background: black; color: white;"| Byte 3 !!style="background: black; color: white;"| Bytes 4-…
+
!style="background: white; color: #0052A1"| Byte 1 !!style="background: white; color: #0052A1"| Byte 2 !!style="background: white; color: #0052A1"| Byte 3 !!style="background: white; color: #0052A1"| Bytes 4-…
 
|-
 
|-
 
| Bits 0-7 || Bits 8-15 || Bits 16-24 || Bits 25-…
 
| Bits 0-7 || Bits 8-15 || Bits 16-24 || Bits 25-…
Line 2,009: Line 1,937:  
{| class="wikitable "
 
{| class="wikitable "
 
|-
 
|-
! colspan="4" align="center" style="background: black; color: white;"|SMS Data Structure  
+
! colspan="4" align="center" style="background: white; color: #0052A1"|SMS Data Structure  
 
|-
 
|-
 
| || 8 || Codec ID || Codec ID = 4  
 
| || 8 || Codec ID || Codec ID = 4  
Line 2,024: Line 1,952:  
{| class="wikitable "
 
{| class="wikitable "
 
|-
 
|-
! colspan="4" align="center" style="background: black; color: white;"|SMS Data Structure  
+
! colspan="4" align="center" style="background: white; color: #0052A1"|SMS Data Structure  
 
|-
 
|-
 
|ElementCount * ||  || GPSDataElement || GPS data elements.  
 
|ElementCount * ||  || GPSDataElement || GPS data elements.  
Line 2,039: Line 1,967:  
{| class="wikitable "
 
{| class="wikitable "
 
|-
 
|-
! colspan="5" align="center" style="background: black; color: white;"|GPS Data Element  
+
! colspan="5" align="center" style="background: white; color: #0052A1"|GPS Data Element  
 
|-
 
|-
 
| ||  || Size (bits) || Field || Description  
 
| ||  || Size (bits) || Field || Description  

Navigation menu