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: Serial bridge availability



------=_NextPart_000_01D7_01CA8F62.BEBB66C0
Content-Type: text/plain;
charset="US-ASCII"
Content-Transfer-Encoding: 7bit

Hi Patrick,

You hit the nail on the head.
I'm looking for a serial bridge to connect various AVR microcontrollers.

1. Do you have the PC based IP network to serial port application?
Would I be able to down load this from you?

2. On the Lantronix side, how did you set up this device? Did you somehow
pass all Ethernet xAP traffic to the RS232 side and also how did you send
it
from the RS232 back to the Ethernet? As in how did you tell the Lantronix
device that this is the start of a xAP message, buffer until I have sent
you
the full message and then transmit in a whole UDP packet.


Regards,

Neil Wrightson.


_____

From: xAP_developer@xxxxxxx [mailto:xAP_developer@xxxxxxx]
On Behalf Of Patrick Lidstone
Sent: Wednesday, 6 January 2010 10:20 PM
To: xAP_developer@xxxxxxx
Subject: Re: [xAP_developer] Serial bridge availability




I think the definition of serial bridge here is a serial based (RS232 or
RS485) device that participates in a 'conventional' UDP broadcast/ethernet
xAP network.

Typically this is achieved either using either a PC - and passing xAP
messages from the IP network to serial port and vice versa, or using an
embedded device such as the lantronix IP to serial converters. I have
implemented both at various points... it's useful for integrating really
low
end/low power devices such as temperature or movement sensors into the xAP
world whilst minimising the overall number of moving parts/improving
reliability over alternative approaches.

HTH
Patrick



2010/1/6 brett england <brett@dbzoo. <mailto:brett@xxxxxxx> com>




As in IP ->> Serial link ->> IP



Well I guess you could implement PPP on the serial link and the packet
would
just broadcast as per usual, if is on the same subnet.

Failing that writing a bridge wouldn't be too difficult.

What are you trying to do?

Brett



From: xAP_developer@ <mailto:xAP_developer@xxxxxxx>
yahoogroups.com
[mailto:xAP_developer@
<mailto:xAP_developer@xxxxxxx>
yahoogroups.com] On Behalf Of Neil Wrightson
Sent: 06 January 2010 10:51
To: xAP_developer@ <mailto:xAP_developer@xxxxxxx>
yahoogroups.com
Subject: [xAP_developer] Serial bridge availability





Hi All,



Does a serial bridge exist for xAP?



I.e.


Bridging


xAP is, so far is as practicable, network agnostic. Where two networks are
to be joined, so that xAP messages can be passed between then, a software
bridge is used. The bridge understands the implementation details of the
xAP
protocol on each physical network, and performs the necessary protocol
conversions to pass the message from one network to another.

In some cases, the bridge may provide a configuration interface to allow
traffic in one or both directions to be restricted.

A proposal has been made to permit messages to be flagged
"non-routable" in
the xAP-Header, and for bridges to never pass these messages. Currently
this
item is still open.

Messages passed over the bridge always have the xAP-header hop count
increased. A bridge may be configured to discard messages with hop-count
> n
to prevent looping/broadcast storms.



Regards,

Neil Wrightson.











------=_NextPart_000_01D7_01CA8F62.BEBB66C0
Content-Type: text/html; charset=US-ASCII
Content-Transfer-Encoding: 7bit





<head>

<style type="text/css">
<!--

/* start of attachment style */
.ygrp-photo-title{
clear: both;
font-size: smaller;
height: 15px;
overflow: hidden;
text-align: center;
width: 75px;
}
div.ygrp-photo{
background-position: center;
background-repeat: no-repeat;
background-color: white;
border: 1px solid black;
height: 62px;
width: 62px;
}

div.photo-title
a,
div.photo-title a:active,
div.photo-title a:hover,
div.photo-title a:visited {
text-decoration: none;
}

div.attach-table div.attach-row {
clear: both;
}

div.attach-table div.attach-row div {
float: left;
/* margin: 2px;*/
}

p {
clear: both;
padding: 15px 0 3px 0;
overflow: hidden;
}

div.ygrp-file {
width: 30px;
valign: middle;
}
div.attach-table div.attach-row div div a {
text-decoration: none;
}

div.attach-table div.attach-row div div span {
font-weight: normal;
}

div.ygrp-file-title {
font-weight: bold;
}
/* end of attachment style */
-->
</style>
</head>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=us-ascii"
http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML
8.00.6001.18854"></HEAD>
<BODY style="BACKGROUND-COLOR: #fff">


<!-- **begin egp html banner** -->

<br><br>

<!-- **end egp html banner** -->



<DIV dir=ltr align=left><FONT color=#0000ff size=2
face=Arial><SPAN
class=389392119-06012010>Hi
Patrick,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2
face=Arial><SPAN
class=389392119-06012010></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2
face=Arial><SPAN
class=389392119-06012010>You hit the nail on the
head.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2
face=Arial><SPAN
class=389392119-06012010>I'm looking for a serial bridge to connect
various AVR
microcontrollers.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2
face=Arial><SPAN
class=389392119-06012010></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2
face=Arial><SPAN
class=389392119-06012010>1. Do you have the PC based IP network to
serial port
application?</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2
face=Arial><SPAN
class=389392119-06012010>&nbsp;&nbsp;&nbsp; Would I be able
to down load this
from you?</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2
face=Arial><SPAN
class=389392119-06012010></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2
face=Arial><SPAN
class=389392119-06012010>2. On the Lantronix side, how did you set up
this
device? Did you somehow pass all Ethernet xAP traffic to the RS232 side and
also
how did you send it from the RS232 back to the Ethernet? As in how did you
tell
the Lantronix device that this is the start of a xAP message, buffer
until&nbsp;I have sent you the full message and then transmit in a
whole UDP
packet.</SPAN></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV class=Section1>
<P><SPAN style="FONT-FAMILY: Arial; FONT-SIZE:
10pt">Regards,</SPAN> </P>
<P><B><SPAN style="FONT-SIZE: 13.5pt">Neil
Wrightson.</SPAN></B> <BR></P></DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #0000ff 2px solid; PADDING-LEFT: 5px; MARGIN-LEFT:
5px; MARGIN-RIGHT: 0px">
<DIV dir=ltr lang=en-us class=OutlookMessageHeader align=left>
<HR tabIndex=-1>
<FONT size=2 face=Tahoma><B>From:</B>
xAP_developer@xxxxxxx
[mailto:xAP_developer@xxxxxxx]
<B>On Behalf Of </B>Patrick
Lidstone<BR><B>Sent:</B> Wednesday, 6 January 2010 10:20
PM<BR><B>To:</B>
xAP_developer@xxxxxxx<BR><B>Subject:</B> Re:
[xAP_developer] Serial
bridge availability<BR></FONT><BR></DIV>
<DIV></DIV><SPAN style="DISPLAY:
none">&nbsp;</SPAN>
<DIV id=ygrp-text>
<P>I think the definition of serial bridge here is a serial based
(RS232 or
RS485) device that participates in a 'conventional' UDP broadcast/ethernet
xAP
network.<BR><BR>Typically this is achieved either using either
a PC - and
passing xAP messages from the IP network to serial port and vice versa, or
using an embedded device such as the lantronix IP to serial converters. I
have
implemented both at various points... it's useful for integrating really
low
end/low power devices such as temperature or movement sensors into the xAP
world whilst minimising the overall number of moving parts/improving
reliability over alternative
approaches.<BR><BR>HTH<BR>Patrick<BR><BR>
<DIV class=gmail_quote>2010/1/6 brett england <SPAN
dir=ltr>&lt;<A
href="mailto:brett@xxxxxxx";>brett@dbzoo.<WBR>com</A>&gt;</SPAN><BR>
<BLOCKQUOTE style="BORDER-LEFT: rgb(204,204,204) 1px solid"
class=gmail_quote><DIV lang=EN-GB vlink="#1E66AE"
link="#1E66AE"
bgcolor="white"><BR><BR>
<DIV>
<P class=MsoNormal><SPAN style="COLOR: rgb(31,73,125);
FONT-SIZE: 11pt">As
in IP -&gt;&gt; Serial link -&gt;&gt; IP
</SPAN></P>
<P class=MsoNormal><SPAN
style="COLOR: rgb(31,73,125); FONT-SIZE:
11pt"></SPAN>&nbsp;</P>
<P class=MsoNormal><SPAN style="COLOR: rgb(31,73,125);
FONT-SIZE: 11pt">Well
I guess you could implement PPP on the serial link and the packet would
just
broadcast as per usual, if is on the same subnet.</SPAN></P>
<P class=MsoNormal><SPAN
style="COLOR: rgb(31,73,125); FONT-SIZE: 11pt">Failing that
writing a bridge
wouldn't be too difficult.</SPAN></P>
<P class=MsoNormal><SPAN style="COLOR: rgb(31,73,125);
FONT-SIZE: 11pt">What
are you trying to do?</SPAN></P>
<P class=MsoNormal><SPAN
style="COLOR: rgb(31,73,125); FONT-SIZE:
11pt">Brett</SPAN></P>
<P class=MsoNormal><SPAN
style="COLOR: rgb(31,73,125); FONT-SIZE:
11pt"></SPAN>&nbsp;</P>
<DIV>
<DIV
style="BORDER-BOTTOM: medium none; BORDER-LEFT: medium none;
BORDER-TOP: 1pt solid; BORDER-RIGHT: medium none">
<P class=MsoNormal><B><SPAN style="FONT-SIZE:
10pt"
lang=EN-US>From:</SPAN></B><SPAN style="FONT-SIZE:
10pt" lang=EN-US> <A
href="mailto:xAP_developer@xxxxxxx";
target=_blank>xAP_developer@<WBR>yahoogroups.<WBR>com</A>
[mailto:<A
href="mailto:xAP_developer@xxxxxxx";
target=_blank>xAP_developer@<WBR>yahoogroups.<WBR>com</A>]
<B>On Behalf Of
</B>Neil Wrightson<BR><B>Sent:</B> 06 January 2010
10:51<BR><B>To:</B> <A
href="mailto:xAP_developer@xxxxxxx";
target=_blank>xAP_developer@<WBR>yahoogroups.<WBR>com</A><BR><B>Subject:</B>
[xAP_developer] Serial bridge
availability</SPAN></P></DIV></DIV>
<DIV>
<DIV></DIV>
<DIV class=h5>
<P class=MsoNormal>&nbsp;</P>
<P class=MsoNormal> </P>
<DIV>
<DIV>
<DIV>
<DIV>
<P class=MsoNormal><SPAN style="FONT-SIZE: 10pt">Hi
All,</SPAN></P></DIV>
<DIV>
<P class=MsoNormal>&nbsp;</P></DIV>
<DIV>
<P class=MsoNormal><SPAN style="FONT-SIZE: 10pt">Does
a serial&nbsp;bridge
exist for xAP?</SPAN></P></DIV>
<DIV>
<P class=MsoNormal>&nbsp;</P></DIV>
<DIV>
<P class=MsoNormal><SPAN style="FONT-SIZE:
10pt">I.e.</SPAN></P></DIV>
<DIV>
<H2><SPAN>Bridging</SPAN></H2>
<P><SPAN style="FONT-SIZE: 10pt">xAP is, so far is as
practicable, network
agnostic. Where two networks are to be joined, so that xAP messages can be
passed between then, a software bridge is used. The bridge understands the
implementation details of the xAP protocol on each physical network, and
performs the necessary protocol conversions to pass the message from one
network to another. </SPAN></P>
<P><SPAN style="FONT-SIZE: 10pt">In some cases, the
bridge may provide a
configuration interface to allow traffic in one or both directions to be
restricted. </SPAN></P>
<P><SPAN style="FONT-SIZE: 10pt">A proposal has been
made to permit messages
to be flagged "non-routable" in the xAP-Header, and for bridges
to never
pass these messages. Currently this item is still open.
</SPAN></P>
<P><SPAN style="FONT-SIZE: 10pt">Messages passed over
the bridge always have
the xAP-header hop count increased. A bridge may be configured to discard
messages with hop-count &gt; n to prevent looping/broadcast storms.
</SPAN></P></DIV>
<DIV>
<P class=MsoNormal>&nbsp;</P></DIV>
<DIV>
<P class=MsoNormal><SPAN style="FONT-SIZE:
10pt">Regards,</SPAN> </P></DIV>
<DIV>
<P><B><SPAN style="FONT-SIZE: 13.5pt">Neil
Wrightson.</SPAN></B>
</P></DIV></DIV>
<DIV>
<P class=MsoNormal><SPAN
style="COLOR:
white"></SPAN></P></DIV></DIV><BR><BR>
<DIV style="COLOR: white"
width="1"></DIV></DIV></DIV></DIV></DIV></DIV></BLOCKQUOTE></DIV><BR>
<P></P></DIV><!-- end group email -->



<!-- **begin egp html banner** -->

<br>



<br>

<!-- **end egp html banner** -->


<div width="1" style="color: white; clear:
both;"/>__._,_.___</div>

<!-- Start Recommendations -->
<!-- End Recommendations -->



<!-- **begin egp html banner** -->

<img src="http://geo.yahoo.com/serv?s=97476590/grpId=9629476/grpspId=1705007709/msgId=2066/stime=1262806174";
width="1" height="1"> <br>

<!-- **end egp html banner** -->


<!-- **begin egp html banner** -->

<br>
<div style="font-family: verdana; font-size: 77%; border-top: 1px
solid #666; padding: 5px 0;" >
Your email settings: Individual EmailTraditional <br>
<a href="http://groups.yahoo.com/group/xAP_developer/join;_ylc=X3oDMTJmNzZ2M3JmBF9TAzk3NDc2NTkwBGdycElkAzk2Mjk0NzYEZ3Jwc3BJZAMxNzA1MDA3NzA5BHNlYwNmdHIEc2xrA3N0bmdzBHN0aW1lAzEyNjI4MDYxNzQ-";>Change
settings via the Web</a> (Yahoo! ID required) <br>
Change settings via email: <a href="mailto:xAP_developer-digest@xxxxxxx?subject=Email
Delivery: Digest">Switch delivery to Daily Digest</a>  <a
href = "mailto:xAP_developer-fullfeatured@xxxxxxx?subject=Change
Delivery Format: Fully Featured">Switch to Fully Featured</a>
<br>
<a href="http://groups.yahoo.com/group/xAP_developer;_ylc=X3oDMTJkcWJuanZxBF9TAzk3NDc2NTkwBGdycElkAzk2Mjk0NzYEZ3Jwc3BJZAMxNzA1MDA3NzA5BHNlYwNmdHIEc2xrA2hwZgRzdGltZQMxMjYyODA2MTc0";>
Visit Your Group
</a>
<a href="http://docs.yahoo.com/info/terms/";>
Yahoo! Groups Terms of Use
</a>
<a href="mailto:xAP_developer-unsubscribe@xxxxxxx?subject=Unsubscribe";>
Unsubscribe
</a>
<br>
</div>
<br>

<!-- **end egp html banner** -->


<div style="color: white; clear:
both;"/>__,_._,___</div>
</BODY></HTML>

------=_NextPart_000_01D7_01CA8F62.BEBB66C0--


xAP_Development Main Index | xAP_Development Thread Index | xAP_Development 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.