Corrupt CTX35 output with ctx-perl

Forum about Xanura, Eaton Holec and Marmitek and other brand X10 and A10 devices.
Post Reply
bbartels
Starting Member
Starting Member
Posts: 5
Joined: Sun Aug 23, 2009 2:54 pm
Location: Netherlands

Corrupt CTX35 output with ctx-perl

Post by bbartels »

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?
Lempens
Member
Member
Posts: 265
Joined: Wed Dec 12, 2007 1:24 am
Location: Netherlands

Re: Corrupt CTX35 output with ctx-perl

Post by Lempens »

Do you have the bitrate settings correct ?
bbartels
Starting Member
Starting Member
Posts: 5
Joined: Sun Aug 23, 2009 2:54 pm
Location: Netherlands

Re: Corrupt CTX35 output with ctx-perl

Post by bbartels »

I both tried 9600 and 19200, same result
bbartels
Starting Member
Starting Member
Posts: 5
Joined: Sun Aug 23, 2009 2:54 pm
Location: Netherlands

Re: Corrupt CTX35 output with ctx-perl

Post by bbartels »

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
Lempens
Member
Member
Posts: 265
Joined: Wed Dec 12, 2007 1:24 am
Location: Netherlands

Re: Corrupt CTX35 output with ctx-perl

Post by Lempens »

And when you use HyperTerminal ? What response do you get then ?
bbartels
Starting Member
Starting Member
Posts: 5
Joined: Sun Aug 23, 2009 2:54 pm
Location: Netherlands

Re: Corrupt CTX35 output with ctx-perl

Post by bbartels »

bbartels wrote: ./xpl-ctx35 /dev/ttyS0 -v -B 19200
No HyperTerm on Linux....
User avatar
Rene
Global Moderator
Global Moderator
Posts: 1689
Joined: Wed Oct 08, 2008 3:54 pm
Location: Netherlands

Re: Corrupt CTX35 output with ctx-perl

Post by Rene »

Use minicom instead.
Rene.
bbartels
Starting Member
Starting Member
Posts: 5
Joined: Sun Aug 23, 2009 2:54 pm
Location: Netherlands

Re: Corrupt CTX35 output with ctx-perl

Post by bbartels »

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.
Post Reply

Return to “X10, A10 Xanura Marmitek Forum”