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
538 views
in Vehicle tracking by anonymous

Hi! Could you help me please.

I am using php-socket programing to communicate with device that is happen successfully.

Now I have to send setdigout 1 60 command to my device.

Command(code12c) : 00 00 00 00 00 00 00 16 0C 01 05 00 00 00 0E 73 65 74 64 69 67 6f 75 74 20 31 2C 36 30 01 00 00 B3 3E

So my problem is that  I don't know how to send this command by using Socket or anything else.

I sent this command using socket but nothing happened..

So please tell me how should send this command (by using socket or anything else)

1 Answer

0 votes
by anonymous

Hello,

Thank you for yor query.

Command setdigout 1 60 Ascii to hex:

00000000000000180C0105000000107365746469676F757420312C36300D0A0100005430

You can send this using hercules.exe, there is a guide how to capture the log: https://wiki.teltonika.lt/view/How_to_capture_remote_log_from_FM_device%3F

You can easily check HEX box, and paste codec 12 command in hex then press send. you should get the answer from the device. Also make sure that you are using latest firmware. 

Codec12 description: https://wiki.teltonika.lt/view/Codec#Codec_12

Best Regards,

Teltonika Support.