The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024


[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: Thu, 27 Apr 2006 17:26:22 +0100

Thanks Dan,

Can anyone else answer the questions?

Thanks

Ian D


-----Original Message-----
From: xap_automation@xxxxxxx
[mailto:xap_automation@xxxxxxx] On
Behalf Of danward79
Sent: 24 April 2006 18:46
To: Ian
Subject: [xap_automation] Re: Serial Bridge

Hi Ian,

I am probably not the best person to ask about this, but I'll try
anyway!...

> 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 far as I understand it the serial side only needs to have the
wrapper added.  As you say if you added the wrapper code to the non
serial side the msgs would not be visable to other devices on the
network.  Based on this I would say the serial bridge must add what it
needs, I could be wrong thou.

Hopefully one of the other guys will correct me if I am wrong.

Dan

> 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
> >
>
>
>
>
>
>
>
> Yahoo! Groups Links
>









xAP_Automation Main Index | xAP_Automation Thread Index | xAP_Automation Home | Archives Home

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.