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.
+2 votes
2,761 views
in Vehicle tracking by anonymous

Hello,

I created a small server to communication with my FMB001,

I try to send commands using GPRS (TCP protocol), but I didn't find any example which explains how to send commands with Codec 8.

With Codec 12 Wiki there is getinfo command example : https://wiki.teltonika.lt/view/Codec_12

But Codec 8 there isn't any example to send command : https://wiki.teltonika.lt/view/Codec_8

So I try by myself to build my Packet following FMB001 Protocols V08 Manual.

Packet Structure :

2. Steps :

I received correctly and periodically IMEI.

- I sent ACK.

- I received correctly Data Array.

- I sent Data Array ACK (with number of data).

- Link still correctly opened so I sent my "getio" command.

- But strangely I still get the same previous data (Data Array), so I don't receive "getio" command answer.

Any idea please ?

2. I want to know if my command in hexa is correct please :

getio commande : 00000000 00000008 08 01 676574696F 01 00003FCA

Thank you for your help :)

by anonymous

Hello,

I upgraded my device firmeware to ver: 03.25.05_00.

Now, I send correctly commands in Codec12 and I receive correctly answsers in Codec12.

But the Data Array still send with : x08 code (Codec 8) :

Any idea please ?

Thank you.

by
Hi, could you share your codec server? to test my devices? Thanks

1 Answer

+1 vote
by anonymous

Hello,

Thank you for inquiry.

Codec8 protocol is using only for data sending, not for SMS/GPRS commands. With Codec8 is sending AVL ID and value like I/O parameters (see below).

To send SMS/GPRS commands, you will need to use our main protocol Codec12. As note, this protocol is always using TCP sending protocol. For FMB001, SMS/GPRS commands you will find in our Teltonika WIKI page: https://wiki.teltonika.lt/view/FMB_SMS/GPRS_Commands

More information about Codec12 (description and command/response structure) you will find here: https://wiki.teltonika.lt/view/Codec_12

Let us know if something was unclear or you will have more questions.

Best wishes,

Teltonika Support

by
Hello,

Thank you, but you did't answer my questions.

- I don't have problem with my I/O parameters.

- I Asked you about Codec 8 and your answer is about Codec 12.

- You answer with the same link about Codec 12 (I already wrote the same link on my post).

Your answer is completely off topic, don't pollute this community forum with this kind of answers please.

Regards.
by anonymous

Thank you for response.

Answer to the first question: Codec8 protocol is only using for AVL data sending, not SMS/GPRS commands. To send commands to FMB001 device is only using Codec12, Codec13 and Codec14 (from 03.25.04.Rev.00 firmware version). The differences between them you will see in the table below.

All you need is choose which one Codec of mentioned three you will use to send SMS/GPRS commands.

More information about Codec13: https://wiki.teltonika.lt/view/Codec_13

More information about Codec14: https://wiki.teltonika.lt/view/Codec14

Answer to the second question: as we see, you are using Codec8 protocol structure, which is not using for SMS/GPRS command. How we mentioned before, please use Codec12, Codec13 or Codec14 protocols, correct Codec IDs and structures of them to send commands to device.

Best wishes,

Teltonika Support

by anonymous

Thank you,

Your second answer is very clear :)

I did't know that. So with Codec8 we can't send commands.

So I should upgrade firmeware in order to use Codec12 or 14.

I'll try this and I come back if I encounter a blocking problems.

Thank you again.

by

Hello,

I upgraded my device firmeware to ver: 03.25.05_00.

Now, I send correctly commands in Codec12 and I receive correctly answsers in Codec12.

But the Data Array still send with : x08 code (Codec 8) :

Any idea please ?

Thank you.

by anonymous
Hello,

Thank you for your response.

First response with Codec ID 0x08 was sent from device with information about I/O parameters. This type response you will always get when device will try to send AVL data by Data Acquisition settings in Teltonika Configurator. That is the reason why you get response with Codec ID 0x08. With other responses everything is alright.

Hope this information was helpful.

Best regards,

Teltonika Support