Corrupt CTX35 output with ctx-perl
Posted: Sat Jan 16, 2010 4:02 pm
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?
./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?