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



--------------020102080104020201060707
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

It's not me for Lantronix,  although I would be most interested in that
code if anyone has done this,  as I have bucket loads of the MSS100
devices here .  I do have the SDK for them.   These would make great xAP
device servers either as a xAP bridge or a xAP to RS232 <xyz
protocol>
control device.

I do have xAP code for the Tibbo serial devices but not as a xAP bridge
- although that would be trivial to adapt.

P,   I'm sure we can temporarily host your files on the xAP Automation
site - or that James can pop them on mi4 for you, as I know house moves
take a long time to recover from.   8 years on I still have a whole room
full of unopened Pickford boxes.  The strange thing is we're not really
missing anything....

K

On 16/01/2010 14:56, Patrick Lidstone wrote:
>
>
> Yes, for PC (win/linux -- and osx in theory but not tested in
> practice), and for rabbit microcontroller.
> I guess the next question will be where can you download them from -
> unfortunately that is contingent on me bringing my server back on line
> following a house move.
> I think someone (Kevin? Edward?) may have done something with
> lantronix too.
> Patrick
>
> 2010/1/16 Neil Wrightson <neilw@xxxxxxx <mailto:neilw@xxxxxxx>>
>
>
>
>     So a serial bridge does not exist then?
>
>     Regards,
>
>     *Neil Wrightson.*
>
>
>        
------------------------------------------------------------------------
>         *From:* xAP_developer@xxxxxxx
>         <mailto:xAP_developer@xxxxxxx>
>         [mailto:xAP_developer@xxxxxxx
>         <mailto:xAP_developer@xxxxxxx>]
*On Behalf Of *Neil
>         Wrightson
>         *Sent:* Thursday, 7 January 2010 6:29 AM
>
>         *To:* xAP_developer@xxxxxxx
>         <mailto:xAP_developer@xxxxxxx>
>         *Subject:* RE: [xAP_developer] Serial bridge availability
>
>         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>
>             [mailto:xAP_developer@xxxxxxx
>             <mailto:xAP_developer@xxxxxxx>]
*On Behalf Of
>             *Patrick Lidstone
>             *Sent:* Wednesday, 6 January 2010 10:20 PM
>             *To:* xAP_developer@xxxxxxx
>             <mailto: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@xxxxxxx
>             <mailto:brett@xxxxxxx>>
>
>
>
>                 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@xxxxxxx
>                 <mailto:xAP_developer@xxxxxxx>
>                 [mailto:xAP_developer@xxxxxxx
>                 <mailto:xAP_developer@xxxxxxx>]
*On Behalf Of
>                 *Neil Wrightson
>                 *Sent:* 06 January 2010 10:51
>                 *To:* xAP_developer@xxxxxxx
>                 <mailto:xAP_developer@xxxxxxx>
>                 *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.*
>
>
>
>
>
>
>
>
>
>
>


--------------020102080104020201060707
Content-Type: text/html; charset=ISO-8859-1
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.01
Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">


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

<br><br>

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



It's not me for Lantronix,&nbsp; although I would be most interested in
that
code if anyone has done this,&nbsp; as I have bucket loads of the
MSS100
devices here .&nbsp; I do have the SDK for them.&nbsp;&nbsp;
These would make great
xAP device servers either as a xAP bridge or a xAP to RS232 &lt;xyz
protocol&gt;&nbsp; control device.&nbsp; <br>
<br>
I do have xAP code for the Tibbo serial devices but not as a xAP bridge
- although that would be trivial to adapt.<br>
<br>
P,&nbsp;&nbsp; I'm sure we can temporarily host your files on the
xAP Automation
site - or that James can pop them on mi4 for you, as I know house moves
take a long time to recover from. &nbsp; 8 years on I still have a
whole
room full of unopened Pickford boxes.&nbsp; The strange thing is we're
not
really missing anything....<br>
<br>
&nbsp;&nbsp; K<br>
<br>
On 16/01/2010 14:56, Patrick Lidstone wrote:
<blockquote
cite="mid:aaa3396b1001160656j240819ebq792ed18828466def@xxxxxxx"
type="cite">
<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>
<style type="text/css">
<!--
#ygrp-mkp {
border: 1px solid #d8d8d8;
font-family: Arial;
margin: 10px 0;
padding: 0 10px;
}

#ygrp-mkp hr {
border: 1px solid #d8d8d8;
}

#ygrp-mkp #hd {
color: #628c2a;
font-size: 85%;
font-weight: 700;
line-height: 122%;
margin: 10px 0;
}

#ygrp-mkp #ads {
margin-bottom: 10px;
}

#ygrp-mkp .ad {
padding: 0 0;
}

#ygrp-mkp .ad a {
color: #0000ff;
text-decoration: none;
}
-->
</style>
Yes, for PC (win/linux -- and osx in theory but not tested in
practice), and for rabbit microcontroller.<br>
I guess the next question will be where can you download them from -
unfortunately that is contingent on me bringing my server back on line
following a house move.<br>
I think someone (Kevin? Edward?) may have done something with lantronix
too.<br>
Patrick<br>
<br>
<div class="gmail_quote">2010/1/16 Neil Wrightson <span
dir="ltr">&lt;<a
moz-do-not-send="true" href="mailto:neilw@xxxxxxx";>neilw@xxxxxxx</a>&gt;</span><br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt
0.8ex; padding-left: 1ex;">
<div style="background-color: rgb(255, 255, 255);">
<br>
<br>
<div dir="ltr" align="left"><font
color="#0000ff" face="Arial"
size="2"><span>So a serial bridge does not exist
then?</span></font></div>
<div>&nbsp;</div>
<div>
<p><span style="font-family: Arial; font-size:
10pt;">Regards,</span>
</p>
<p><b><span style="font-size: 13.5pt;">Neil
Wrightson.</span></b> </p>
</div>
<br>
<blockquote
style="border-left: 2px solid rgb(0, 0, 255); padding-left: 5px;
margin-left: 5px; margin-right: 0px;">
<div dir="ltr" align="left"
lang="en-us">
<hr> <font face="Tahoma"
size="2"><b>From:</b> <a
moz-do-not-send="true" href="mailto:xAP_developer@xxxxxxx";
target="_blank">xAP_developer@xxxxxxx</a> [mailto:<a
moz-do-not-send="true" href="mailto:xAP_developer@xxxxxxx";
target="_blank">xAP_developer@xxxxxxx</a>] <b>On
Behalf Of </b>Neil
Wrightson<br>
<b>Sent:</b> Thursday, 7 January 2010 6:29 AM
<div class="im"><br>
<b>To:</b> <a moz-do-not-send="true"
href="mailto:xAP_developer@xxxxxxx";
target="_blank">xAP_developer@xxxxxxx</a><br>
</div>
<b>Subject:</b> RE: [xAP_developer] Serial bridge
availability<br>
</font><br>
</div>
<div>
<div class="h5"> <span>&nbsp;</span>
<div>
<p> </p>
<div dir="ltr" align="left"><font
color="#0000ff" face="Arial"
size="2"><span>Hi
Patrick,</span></font></div>
<div dir="ltr" align="left"><font
color="#0000ff" face="Arial"
size="2"><span></span></font>&nbsp;</div>
<div dir="ltr" align="left"><font
color="#0000ff" face="Arial"
size="2"><span>You hit the nail on the
head.</span></font></div>
<div dir="ltr" align="left"><font
color="#0000ff" face="Arial"
size="2"><span>I'm looking for a serial bridge to
connect various AVR
microcontrollers.</span></font></div>
<div dir="ltr" align="left"><font
color="#0000ff" face="Arial"
size="2"><span></span></font>&nbsp;</div>
<div dir="ltr" align="left"><font
color="#0000ff" face="Arial"
size="2"><span>1. Do you have the PC based IP network to
serial port
application?</span></font></div>
<div dir="ltr" align="left"><font
color="#0000ff" face="Arial"
size="2"><span>&nbsp;&nbsp;&nbsp; Would I be
able to down load this from you?</span></font></div>
<div dir="ltr" align="left"><font
color="#0000ff" face="Arial"
size="2"><span></span></font>&nbsp;</div>
<div dir="ltr" align="left"><font
color="#0000ff" face="Arial"
size="2"><span>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>
<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: 2px solid rgb(0, 0, 255);">
<div dir="ltr" align="left"
lang="en-us">
<hr> <font face="Tahoma"
size="2"><b>From:</b> <a
moz-do-not-send="true" href="mailto:xAP_developer@xxxxxxx";
target="_blank">xAP_developer@xxxxxxx</a> [mailto:<a
moz-do-not-send="true" href="mailto:xAP_developer@xxxxxxx";
target="_blank">xAP_developer@xxxxxxx</a>] <b>On
Behalf Of </b>Patrick
Lidstone<br>
<b>Sent:</b> Wednesday, 6 January 2010 10:20 PM<br>
<b>To:</b> <a moz-do-not-send="true"
href="mailto:xAP_developer@xxxxxxx";
target="_blank">xAP_developer@xxxxxxx</a><br>
<b>Subject:</b> Re: [xAP_developer] Serial bridge
availability<br>
</font><br>
</div>
<span>&nbsp;</span>
<div>
<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>
</p>
<div class="gmail_quote">2010/1/6 brett england <span
dir="ltr">&lt;<a
moz-do-not-send="true" href="mailto:brett@xxxxxxx";
target="_blank">brett@xxxxxxx</a>&gt;</span><br>
<blockquote style="border-left: 1px solid rgb(204, 204, 204);"
class="gmail_quote">
<div bgcolor="white" link="#1E66AE"
vlink="#1E66AE"
lang="EN-GB"><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-style: solid none none; border-color:
-moz-use-text-color; border-width: 1pt medium medium;">
<p class="MsoNormal"><b><span
style="font-size: 10pt;"
lang="EN-US">From:</span></b><span
style="font-size: 10pt;"
lang="EN-US"> <a moz-do-not-send="true"
href="mailto:xAP_developer@xxxxxxx";
target="_blank">xAP_developer@xxxxxxx</a>
[mailto:<a moz-do-not-send="true"
href="mailto:xAP_developer@xxxxxxx";
target="_blank">xAP_developer@xxxxxxx</a>]
<b>On Behalf Of </b>Neil Wrightson<br>
<b>Sent:</b> 06 January 2010 10:51<br>
<b>To:</b> <a moz-do-not-send="true"
href="mailto:xAP_developer@xxxxxxx";
target="_blank">xAP_developer@xxxxxxx</a><br>
<b>Subject:</b> [xAP_developer] Serial bridge
availability</span></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal">&nbsp;</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>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</blockquote>
</div>
<br>
<br>
</div>
</div>
</blockquote>
</div>
<br>

<div width="1" style="color: white; clear:
both;"></div>
</blockquote>
</div>
</blockquote>
<br>




<!-- **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=2069/stime=1263658584";
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=X3oDMTJmajk2OG41BF9TAzk3NDc2NTkwBGdycElkAzk2Mjk0NzYEZ3Jwc3BJZAMxNzA1MDA3NzA5BHNlYwNmdHIEc2xrA3N0bmdzBHN0aW1lAzEyNjM2NTg1ODQ-";>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=X3oDMTJkODI4ZHJxBF9TAzk3NDc2NTkwBGdycElkAzk2Mjk0NzYEZ3Jwc3BJZAMxNzA1MDA3NzA5BHNlYwNmdHIEc2xrA2hwZgRzdGltZQMxMjYzNjU4NTg0";>
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>

--------------020102080104020201060707--


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.