Teltonika Data Parser is used to parse records sent to server using protocol TCP or UDP.
Records received with read records function are not saved in accordance with TCP or UDP, they begin with IMEI length (000F) and IMEI (next 15 bytes), then you have timestamp (8 bytes), priority (1byte), gps element, IO elements. So it is 000F + IMEI + AVL Data. AVL Data is a part of AVL Data Packet as described here:
Try to remove 000F and IMEI part and put at the beginning:
00000000 - preample
4 bytes - data field length, if you put higher value then real value it may work with parser (for example 00FF)
1 byte - codec id, if you use codec 8: 08, codec 8 extended: 8E
1 byte - Number of data 1 - a number which defines how many records is in the packet.
then your records
1 byte - number of data 2 - must be the same as “Number of Data 1
4 bytes - CRC16 check - for parser could be any because it only parses data, CRC is checked on the server
Please let me know if it work