Home AMX User Forum AMX General Discussion

Telnet Malformed Send String

Hi Guys,

I have been trying to control a device over telnet and both Java and Netlinx are giving me the same result... I keep getting a phantom “$1B[Jc” from the device, have any of you seen this?

Variations (when sending a string) include;

Line 279 (19:05:01):: String: 4$1B[J0$1B[Jc$1B[Ja$1B[Jm$1B[Je$1B[Jr$1B[Ja$1B[J$07$1B[Jp$1B[Jr$1B[Je$1B[Js$1B[Je$1B[Jt$1B[J$07$1B[Jr$1B[Je$1B[Jc$1B[Ja$1B[Jl$1B[Jl$1B[J$07$1B[J2$1B[J
Line 291 (19:05:30):: String: $07$1B[J
Line 303 (19:05:51):: String: 4$1B[J0$1B[Jc$1B[Ja$1B[Jm$1B[Je$1B[Jr$1B[Ja$1B[J$07$1B[Jp$1B[Jr$1B[Je$1B[Js$1B[Je$1B[Jt$1B[J$07$1B[Jr$1B[Je$1B[Jc$1B[Ja$1B[Jl$1B[Jl$1B[J$07$1B[J1$1B[J

It’s like my string is malformed on the way... the initial login has absolutely no problems whatsoever and if I send the command within 500ms of connecting it works (cannot send multiple commands mind you).

Thanks,

Cameron

Comments

  • All good, the device is actually accepting the command turns out.

    I am starting to think this may be the telnet session "reprinting" the header, doesn't matter as it all works!

    Thanks,

    Cameron
Sign In or Register to comment.