FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

4167 questions

4739 answers

3460 comments

0 members

We are migrating to our new platform at https://community.teltonika.lt. Moving forward, you can continue discussions on this new platform. This current platform will be temporarily maintained for reference purposes.
0 votes
212 views
in Vehicle tracking by anonymous

Below is a record data send by my FMC640 device.

03D8CAFE0122000F383630323634303535353134323532081000000180B6C10240005B29FB16EF935D3100000000000000EF0C0616004702F0001503C800EF0006432784440033B50000B600004225F6180000000000000180B6C0FED1005B29FB16EF935D3100000000000000F00C0616004702F0001503C800EF01064327AD440033B50000B600004227DA180000000000000180B6BFAF27005B29FB16EF935D3100000000000000EF0C0616044700F0011500C800EF0106432744440000B50000B60000422F43180000000000000180B6BFAF04005B29FB16EF935D3100000000000000F00C0616044700F0011500C800EF0106432744440000B50000B60000422F43180000000000000180B6BEF4D0005B29FB16EF935D3100280000090000000C0616014703F0011503C800EF0106432754440000B50010B6000D422F0B180000000000000180B6BA60E4005B29FB16EF935D3100310000070000000C0616014703F0011503C800EF010643278E440000B50012B60011422F3C180000000000000180B6B5CCF4005B29FB16EF935D3100320000090000000C0616014703F0011503C800EF010643285A440032B50010B6000D422EFF180000000000000180B6B13905005B29FB16EF935D3100330000060000000C0616014703F0011503C800EF0106432830440032B50014B60011422F19180000000000000180B6ACA519005B29FB16EF935D3100340000080000000C0616014703F0011504C800EF01064327D3440033B50011B6000D422EE6180000000000000180B6A81129005B29FB16EF935D3100410000070000000C0616014703F0011503C800EF0106432774440033B50012B60011422EF8180000000000000180B6A47035005B29FB16EF935D3100000000000000EF0C0616014702F0011504C800EF010643265C440000B50018B60016422ED3180000000000000180B6A46DC8005B29FB16EF935D3100000000000000F00C0616014702F0011504C800EF000643261F440000B50018B60016420965180000000000000180B6A38A32005B29FB16EF935D3100000000000000EF0C0616004702F0001504C800EF0006432685440000B50016B60014422F2A180000000000000180B6A386C3005B29FB16EF935D3100000000000000F00C0616004702F0001504C800EF0106432680440000B50016B60014422F43180000000000000180B6A37EE4005B29FB16EF935D3100430057040000000C0616014703F0011504C800EF0106432685440000B50016B60014422F30180000000000000180B6A37B3A005B29FB16EF935D3100430057040000EF0C0616014703F0011504C800EF010643267D440000B50016B60014422F1B180000000010

According to the Wiki document "Codec8 protocol sending over UDP" (https://wiki.teltonika-gps.com/view/Codec), the data is sorted as:

header: {:packet_len=>"03D8", :packet_id=>"CAFE", :not_usable_byte=>"01", :avl_packet_id=>"D0", :imei_len=>"000F", :imei=>"383630323634303535353134323532", :codec_id=>"08", :number_data1=>"11"} 

data[0]: {:timestamp=>"00000180BB016382", :priority=>"00", :longitude=>"5B29ED2A", :latitude=>"EF935C0D", :altitude=>"0000", :angle=>"0000", :satellites=>"00", :speed=>"0000", :event_io_id=>"00", :n_total_id=>"0C", :n1_one_byte_io=>"06", :first_io_id=>"16", :first_io_value=>"00", :second_io_id=>"47", :second_io_value=>"01", :n2_two_byte_id=>"F0", :n2_first_io_id=>"00", :n2_first_io_value=>"1502", :n4_four_bytes_io=>"C8", :n8_eight_bytes_io=>"00"}
data[1]: {:timestamp=>"EF000643273A4400", :priority=>"00", :longitude=>"B50012B6", :latitude=>"0010422F", :altitude=>"2B18", :angle=>"0000", :satellites=>"00", :speed=>"0000", :event_io_id=>"00", :n_total_id=>"01", :n1_one_byte_io=>"80", :first_io_id=>"BA", :first_io_value=>"CA", :second_io_id=>"74", :second_io_value=>"5E", :n2_two_byte_id=>"00", :n2_first_io_id=>"5B", :n2_first_io_value=>"29ED", :n4_four_bytes_io=>"2A", :n8_eight_bytes_io=>"EF"}
data[2]: {:timestamp=>"935C0D003000000B", :priority=>"00", :longitude=>"00000C06", :latitude=>"16004703", :altitude=>"F000", :angle=>"1503", :satellites=>"C8", :speed=>"00EF", :event_io_id=>"00", :n_total_id=>"06", :n1_one_byte_io=>"43", :first_io_id=>"26", :first_io_value=>"A2", :second_io_id=>"44", :second_io_value=>"00", :n2_two_byte_id=>"00", :n2_first_io_id=>"B5", :n2_first_io_value=>"000C", :n4_four_bytes_io=>"B6", :n8_eight_bytes_io=>"00"}
data[3]: {:timestamp=>"08422F4118000000", :priority=>"00", :longitude=>"00000180", :latitude=>"BA938536", :altitude=>"005B", :angle=>"29ED", :satellites=>"2A", :speed=>"EF93", :event_io_id=>"5C", :n_total_id=>"0D", :n1_one_byte_io=>"00", :first_io_id=>"27", :first_io_value=>"00", :second_io_id=>"00", :second_io_value=>"09", :n2_two_byte_id=>"00", :n2_first_io_id=>"00", :n2_first_io_value=>"000C", :n4_four_bytes_io=>"06", :n8_eight_bytes_io=>"16"}
data[4]: {:timestamp=>"004703F0001503C8", :priority=>"00", :longitude=>"EF000643", :latitude=>"27054400", :altitude=>"00B5", :angle=>"000C", :satellites=>"B6", :speed=>"0008", :event_io_id=>"42", :n_total_id=>"2F", :n1_one_byte_io=>"19", :first_io_id=>"18", :first_io_value=>"00", :second_io_id=>"00", :second_io_value=>"00", :n2_two_byte_id=>"00", :n2_first_io_id=>"00", :n2_first_io_value=>"0001", :n4_four_bytes_io=>"80", :n8_eight_bytes_io=>"BA"}
data[5]: {:timestamp=>"5C960E005B29ED2A", :priority=>"EF", :longitude=>"935C0D00", :latitude=>"3200000B", :altitude=>"0000", :angle=>"000C", :satellites=>"06", :speed=>"1600", :event_io_id=>"47", :n_total_id=>"03", :n1_one_byte_io=>"F0", :first_io_id=>"00", :first_io_value=>"15", :second_io_id=>"04", :second_io_value=>"C8", :n2_two_byte_id=>"00", :n2_first_io_id=>"EF", :n2_first_io_value=>"0006", :n4_four_bytes_io=>"43", :n8_eight_bytes_io=>"28"}
data[6]: {:timestamp=>"A4440033B5000BB6", :priority=>"00", :longitude=>"08422EEC", :latitude=>"18000000", :altitude=>"0000", :angle=>"0001", :satellites=>"80", :speed=>"BA1F", :event_io_id=>"83", :n_total_id=>"71", :n1_one_byte_io=>"00", :first_io_id=>"5B", :first_io_value=>"29", :second_io_id=>"ED", :second_io_value=>"2A", :n2_two_byte_id=>"EF", :n2_first_io_id=>"93", :n2_first_io_value=>"5C0D", :n4_four_bytes_io=>"00", :n8_eight_bytes_io=>"00"}
data[7]: {:timestamp=>"0000000000000804", :priority=>"16", :longitude=>"00F000C8", :latitude=>"01EF0004", :altitude=>"4326", :angle=>"B744", :satellites=>"00", :speed=>"0042", :event_io_id=>"2F", :n_total_id=>"73", :n1_one_byte_io=>"18", :first_io_id=>"00", :first_io_value=>"00", :second_io_id=>"00", :second_io_value=>"00", :n2_two_byte_id=>"00", :n2_first_io_id=>"00", :n2_first_io_value=>"0180", :n4_four_bytes_io=>"B9", :n8_eight_bytes_io=>"E8"}
data[8]: {:timestamp=>"9182005B29ED2AEF", :priority=>"93", :longitude=>"5C0D0000", :latitude=>"00000000", :altitude=>"0000", :angle=>"0804", :satellites=>"16", :speed=>"00F0", :event_io_id=>"00", :n_total_id=>"C8", :n1_one_byte_io=>"01", :first_io_id=>"EF", :first_io_value=>"00", :second_io_id=>"04", :second_io_value=>"43", :n2_two_byte_id=>"26", :n2_first_io_id=>"8B", :n2_first_io_value=>"4400", :n4_four_bytes_io=>"00", :n8_eight_bytes_io=>"42"}
data[9]: {:timestamp=>"2F30180000000000", :priority=>"00", :longitude=>"0180B9B1", :latitude=>"9F93005B", :altitude=>"29ED", :angle=>"2AEF", :satellites=>"93", :speed=>"5C0D", :event_io_id=>"00", :n_total_id=>"00", :n1_one_byte_io=>"00", :first_io_id=>"00", :first_io_value=>"00", :second_io_id=>"00", :second_io_value=>"00", :n2_two_byte_id=>"00", :n2_first_io_id=>"08", :n2_first_io_value=>"0416", :n4_four_bytes_io=>"00", :n8_eight_bytes_io=>"F0"}
data[10]: {:timestamp=>"00C801EF00044326", :priority=>"90", :longitude=>"44000042", :latitude=>"2EED1800", :altitude=>"0000", :angle=>"0000", :satellites=>"00", :speed=>"0180", :event_io_id=>"B9", :n_total_id=>"7A", :n1_one_byte_io=>"B1", :first_io_id=>"1B", :first_io_value=>"00", :second_io_id=>"5B", :second_io_value=>"29", :n2_two_byte_id=>"ED", :n2_first_io_id=>"2A", :n2_first_io_value=>"EF93", :n4_four_bytes_io=>"5C", :n8_eight_bytes_io=>"0D"}
data[11]: {:timestamp=>"0000000000000000", :priority=>"0C", :longitude=>"06160047", :latitude=>"03F00015", :altitude=>"03C8", :angle=>"01EF", :satellites=>"00", :speed=>"0643", :event_io_id=>"26", :n_total_id=>"72", :n1_one_byte_io=>"44", :first_io_id=>"00", :first_io_value=>"00", :second_io_id=>"B5", :second_io_value=>"00", :n2_two_byte_id=>"00", :n2_first_io_id=>"B6", :n2_first_io_value=>"0000", :n4_four_bytes_io=>"42", :n8_eight_bytes_io=>"2F"}
data[12]: {:timestamp=>"3118000000000000", :priority=>"01", :longitude=>"80B943C3", :latitude=>"85005B29", :altitude=>"ED2A", :angle=>"EF93", :satellites=>"5C", :speed=>"0D00", :event_io_id=>"00", :n_total_id=>"00", :n1_one_byte_io=>"00", :first_io_id=>"00", :first_io_value=>"00", :second_io_id=>"00", :second_io_value=>"00", :n2_two_byte_id=>"0C", :n2_first_io_id=>"06", :n2_first_io_value=>"1600", :n4_four_bytes_io=>"47", :n8_eight_bytes_io=>"03"}
data[13]: {:timestamp=>"F0001503C801EF00", :priority=>"06", :longitude=>"43268144", :latitude=>"0000B500", :altitude=>"00B6", :angle=>"0000", :satellites=>"42", :speed=>"2EDA", :event_io_id=>"18", :n_total_id=>"00", :n1_one_byte_io=>"00", :first_io_id=>"00", :first_io_value=>"00", :second_io_id=>"00", :second_io_value=>"00", :n2_two_byte_id=>"01", :n2_first_io_id=>"80", :n2_first_io_value=>"B90C", :n4_four_bytes_io=>"D4", :n8_eight_bytes_io=>"0F"}
data[14]: {:timestamp=>"005B29ED2AEF935C", :priority=>"0D", :longitude=>"00000000", :latitude=>"00000000", :altitude=>"0C06", :angle=>"1600", :satellites=>"47", :speed=>"03F0", :event_io_id=>"00", :n_total_id=>"15", :n1_one_byte_io=>"04", :first_io_id=>"C8", :first_io_value=>"01", :second_io_id=>"EF", :second_io_value=>"00", :n2_two_byte_id=>"06", :n2_first_io_id=>"43", :n2_first_io_value=>"2681", :n4_four_bytes_io=>"44", :n8_eight_bytes_io=>"00"}
data[15]: {:timestamp=>"00B50000B6000042", :priority=>"2F", :longitude=>"26180000", :latitude=>"00000000", :altitude=>"0180", :angle=>"B8D5", :satellites=>"E7", :speed=>"7800", :event_io_id=>"5B", :n_total_id=>"29", :n1_one_byte_io=>"ED", :first_io_id=>"2A", :first_io_value=>"EF", :second_io_id=>"93", :second_io_value=>"5C", :n2_two_byte_id=>"0D", :n2_first_io_id=>"00", :n2_first_io_value=>"0000", :n4_four_bytes_io=>"00", :n8_eight_bytes_io=>"00"}
data[16]: {:timestamp=>"0000000C06160047", :priority=>"03", :longitude=>"F0001504", :latitude=>"C801EF00", :altitude=>"0643", :angle=>"2677", :satellites=>"44", :speed=>"0000", :event_io_id=>"B5", :n_total_id=>"00", :n1_one_byte_io=>"00", :first_io_id=>"B6", :first_io_value=>"00", :second_io_id=>"00", :second_io_value=>"42", :n2_two_byte_id=>"2F", :n2_first_io_id=>"30", :n2_first_io_value=>"1800", :n4_four_bytes_io=>"00", :n8_eight_bytes_io=>"00"}
footer: {:number_data2=>"00", :crc_16=>"00000180"}

Except for the header and first data (data [0], other elements of data array and the footer are not reasonable results.

by anonymous
Close this question.

1 Answer

0 votes
by anonymous
I would like to close this question
Best answer