Ask a question

311 questions

370 answers

289 comments

5494 members

Ask a question
0 votes
46 views
in Smart Autonomous Solutions by

Hello,

I have a TFT100 Codec 8 Extended with CANBUS that I implemented.

The device works fine and I can read the data from the TFT100.

I'd like to send data to the device to toggle a CAN Commands using Sockets instead of using SMS commands.

How can I do that? Because I see on the SMS/GPRS Commands page that I need a Codec 12.

For now, I'm just answering 0x01 to the TFT100 when it sends me a data. Can I just ping it with "getinfo" as UTF8 for example to retrieve informations on the device?

Thank you for your time.

1 Answer

0 votes
by

Hello!

To send GPRS commands, you need to use conversion to codec 12 according to description.

Description of the codec can be found here: https://wiki.teltonika-mobility.com/view/Teltonika_data_sending/receiving_protocols#Codec_12

You can also contact your manager  or helpdesk with a request for a program that will help with the conversion of SMS commands into codec 12 commands.

Example: Sending getinfo SMS command via GPRS Codec12

Server request in hexadecimal stream: 000000000000000F0C010500000007676574696E666F0100004312

Example: Sending getio SMS command via GPRS Codec12

Server request in hexadecimal stream: 000000000000000D0C010500000005676574696F01000000CB

Regards, Valery

Best answer
by
I tried to send examples commands to my Codec 8 Extended TFT100 but it does not answer.

Do you agree that I can send GPRS Codec12 messages to a Codec8 Extended device?

Also, do you have a program / software on Windows that parse messages? I'd like to test if I parse the messages correctly.
by

Hello

I tried to send examples commands to my Codec 8 Extended TFT100 but it does not answer.

Try to use the next commands:

getinfo  - 00000000000000110C010500000009676574696E666F0D0A010000DA7E
   getio -  000000000000000F0C010500000007676574696F0D0A0100003349

Do you agree that I can send GPRS Codec12 messages to a Codec8 Extended device?

Protocols Codec 8 Extended and  Codec 12 for different purposes:

Codec8 - transmission of information about location, sensor values, IO elements and other things.

    Codec8 – a main FM device protocol that is used for sending data to server.

    Codec 12 - interaction with the server via GPRS commands.

      Codec12 is original and main Teltonika protocol for device-server communication over GPRS messages. Codec12 GPRS commands can be used for sending configuration, debug, digital outputs control commands or other (special purpose command on special firmware versions).

      Also, do you have a program / software on Windows that parse messages? I'd like to test if I parse the messages correctly. 

      Yes, we have a special program for it. You should make query for your sales manager or helpdesk system.

       Regards, Valery