I’m in progress of implementing the Teltonika protocol. Everything is fine, I’ve implemented all the codecs and all samples in the documentation (Teltonika_Data_Sending_Protocols page in the wiki) are fine except one: the NAck sample for Codec14.
I think the CRC at the end of this sample is not correct.
The sample data is the following: 00000000000000100E011100000008035209308145246801000032AC
We should calculate the CRC from the codec byte until the second command/response quantity, which is the following: 0E011100000008035209308145246801
My code and online tools, like CRCCalc return the following: 635E
The sample data contains 32AC.
CRC calculation for all other samples on this page is fine except this one, so I think the sample is wrong. Please advise.
It is a little irrelevant to my original question, but I’ve created a Teltonika packet parser which is able to process all codecs present on the Data Sending Protocols page. The page does not say anywhere that you should not implement Codec14 (or any other codec), furthermore it was extremely easy to implement it as it differs very little from Codec12. Of course I will send Codec12 packages to the device when I want something from them.
Anyway, my question still stands: Is the example on the Data Sending Protocols page wrong?
I need to check, and it is a bit hard to test because we don’t use CODEC14,
it was developed in the old devices that have been discontinued for a long time,
therefore, I asked the question, because there is no need to add the CODEC 14,
Could you please tell me if you got a response from the device when you sent this command" 00000000000000160E01050000000E0352093081452251676574766572010000D2C1"?