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
192 views
in Vehicle tracking by
I am trying to send an ASCII string from a PC with the Hercules software through the FM6300's RS485 port in COM TCP LINK Mode. Supposedly the FM6300 encodes the ASCII with CODEC12 and transmits it to the targeted server. However, no ASCII appears on the server even after decoding the message. Unintelligible hexadecimal values appear. How is the encoding that the FM6300 does?

1 Answer

0 votes
by anonymous
Hello.

Could You please provide an example of message You sent?

Thank You.

Best Regards
by
Viewing this link:
In the example from Teltonika,  test text will be sent: Hello, lets test TCP link mode. In Codec.12 format it looks: 00000000000000260C01050000001e48656c6c6f2c206c657473207465737420544350206c696e6b206d6f64650100001aef
 
If I send from the Hercules software running on a PC that message as HEX through the RS485 port of the FM6300 configured as COM TCPLINK MODE, no ASCII characters appear on the server receiving the message.
In the server appears
000000000000003A0C010600000032FEFFFFFFFFFFFFB3E7FDF5FFFFFFC36F35272721A7BF27351719BF17351917BF57795FBF272D2329BF25213735FDFFFFCB21010000279F
There are no ASCII characters there
And if I send this only ASCII text: HELLO   HOLA
On the server appears the following: 00000000000000170C01060000000FBED59D9D85FDFBFB7B859DF595EBFF010000C296
With codec 12 decoding, we get: BED59D9D85FDFBFB7B859DF595EBFF which is not ASCII.
 
Please explain what encoding the FM6300 applies and how it must be decoded to obtain the ASCII characters sent.