[Message Prev][Message
Next][Thread Prev][Thread Next][Message
Index][Thread Index]
RE: Re: Serial Bridge
- Subject: RE: Re: Serial Bridge
- From: "Ian Davidson" <ian@xxxxxxxxxxxxxxxx>
- Date: Mon, 24 Apr 2006 18:21:39 +0100
Hi Dan
Sorry for the delay in answering but I was out the country until
Yesterday.
Firstly, I was not wrapping the messages with the serial protocol which
would explain why any message I sent did not go anywhere. It is not a
problem and I can soon add this to the code.
I am still not entirely clear on this yet though! Is it only the serial
side which requires the wrapper? Does the bridge automatically add the
wrapper to Xap messages and then send them out to the serial side. If so
why did I not see any serial traffic? If not any device wanting to reach
a serial device would need to wrap it first and then non serial devices
would not get the message. Also does the bridge remove the serial
wrapper and then send it on in the standard manner?
As soon as I get chance I will try to experiment a little more although
that may be a few days away yet.
Sorry lots of questions and my apologies if I have missed the obvious,
first day back at work after a break and my brain is already feeling the
strain!
Ian D
-----Original Message-----
From: xap_automation@xxxxxxx
[mailto:xap_automation@xxxxxxx] On
Behalf Of danward79
Sent: 12 April 2006 15:16
To: Ian
Subject: [xap_automation] Re: Serial Bridge
Hi Ian,
I thought I would post an update. I found that I was doing something
wrong.
Firstly my msg's did not comply with the serial wrapper, for the
bridge. Kevin pointed me to it. See page 22 here.
http://www.xapautomation.org/content/xapspec.pdf
Secondly the other Kevin suggested that the hub may be filtering the
msg's befor the viewer saw them, so I set up the viewer on another
pc, so it was the hub, and allowed it to show all poorly formed
msg's. When the msg's showed, they did not always show under the
correct device so look in the tree root, and if you double click them
it tells you what is wrong with them. By doing this I "Debugged"
my
msgs.
Now all is working well.
I hope this helps if you have not sorted this already.
Dan
--- In xap_automation@xxxxxxx, "Ian Davidson" <ian@...>
wrote:
>
> Hi
>
> I'm trying to get Patrick's serial bridge to work. I have a hub
running
> and the viewer and they can see my Xap traffic. I have run the
bridge
> and it is seen in the viewer with a heartbeat every minute. I have
> specified com1 which it acquires correctly. I have com1 linked to
com3
> via a serial cross over cable with HyperTerminal running connected
to
> com3. (I have tested the com setup with two HyperTerminal windows
and
> all is ok). I was expecting to get my Xap traffic out of the com
port
> but no data is present. I also tried pasting a Xap packet into the
> HyperTerminal window but it did not show in the viewer although a
saw it
> go out of the port (TX light flicker). Do I need to do anything
else?
>
>
>
> Thanks
>
>
>
> Ian D
>
xAP_Automation Main Index |
xAP_Automation Thread Index |
xAP_Automation Home |
Archives Home
|