Whats the correct format for custom commands?

RyD 5 years ago

Hello Guys

I was trying to send custom commands for wialon protocol but i get this response

Custom Command: #M#TPASS: 11111;getstatus;

Response:

Illegal hexadecimal character # at index 0 - DecoderException (... < DataConverter:29 < BaseProtocol:99 < ActiveDevice:48 < ...)

Sometimes the custom command says command send but the message doesnt get to the hardware ( checking the device on terminal)

What will be the correct format?

Thanks in advance

Anton Tananaev5 years ago

Looks like it expects HEX format.

RyD 5 years ago

Right now using the last version but It wasn't asking HEX on a previous version.

How would will be in hex ??

Anton Tananaev5 years ago

Looks like it shouldn't for Wialon, so probably wrong protocol.

RyD 5 years ago
Anton Tananaev5 years ago

I guess you would have to debug the code to figure out why it doesn't work.