I started to create some perl scripts to control my Xanura modules, but I keep getting crappy output from my CTX35. I use xpl-perl (xpl-ctx35). Below an example of the output:
./xpl-ctx35 /dev/ttyS0 -v -B 19200
Listening on 192.168.20.232:36893
Sending on 192.168.20.255
Received: $<2800HM��$<2���HM��$<2���HM��$<28��HM��$<2���HM��$<2���HM��$<����HM��$<28��HM��$<2���HM�#
Checksum is: $<2800HM��$<2���HM��$<2���HM��$<28��HM��$<2���HM��$<2���HM��$<����HM��$<28��HM��$<2���HM�#
Illegal hexadecimal digit 'M' ignored at ./xpl-ctx35 line 269.
Received: $<�����4B#
Checksum is: $<�����4B#
Received: $<28��!4B�$<28�0!4B�$<2800!4��$<280�HM��$<280�HM��$<2���HM��$<2���HM��$<2���HM��$<28�HM��$<2��HM��$<2���HM��$<280�HM�#
Checksum is: $<28��!4B�$<28�0!4B�$<2800!4��$<280�HM��$<280�HM��$<2���HM��$<2���HM��$<2���HM��$<28�HM��$<2��HM��$<2���HM��$<280�HM�#
Illegal hexadecimal digit 'M' ignored at ./xpl-ctx35 line 269.
Any ideas how to solve this?
Corrupt CTX35 output with ctx-perl
Re: Corrupt CTX35 output with ctx-perl
Do you have the bitrate settings correct ?
Re: Corrupt CTX35 output with ctx-perl
I both tried 9600 and 19200, same result
Re: Corrupt CTX35 output with ctx-perl
On 19200 I see both RX and TX LEDs blinking and I see a (crappy) response in my terminal window. If I switch to 9600 I only see the RX LED blinking and don't get a response at all
Re: Corrupt CTX35 output with ctx-perl
And when you use HyperTerminal ? What response do you get then ?
Re: Corrupt CTX35 output with ctx-perl
No HyperTerm on Linux....bbartels wrote: ./xpl-ctx35 /dev/ttyS0 -v -B 19200
Re: Corrupt CTX35 output with ctx-perl
Tried that ofcourse, no output at all. Also tried the test software from xanura to test the CTX35 and it responses on a Windows host. With the test software all works as it should be, so the CTX35 is ok.