[Message Prev][Message
Next][Thread Prev][Thread Next][Message
Index][Thread Index]
Re: Re: Serial bridge availability
--------------060206040002030300080406
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Brett,
Looks interesting.
A few things you may have considered for implementation:
Using a FIFO buffer on messages from the PC/E-net side to serial as
there can be more messages than the RS232 can cope with when a 'big'
device updates its status (like n Netiom's). Add some inteliigence to
drop messages if queued for too long (though I'm sure this would be
considered as bad form!).
Keep a list of the serial attached devices and don't send targetted
messages to non existent devices. This of course assumes the serial
isn't 1:1 but multidrop (RS485).
Lehane
dbzoo_com wrote:
>
>
> Neil,
>
> As the community doesn't seem to have a solid working bridge I thought
> I write one as part of my home automation project.
>
> http://www.dbzoo.com/livebox/xap_bridge
> <http://www.dbzoo.com/livebox/xap_bridge>
>
> This code is BETA and your welcome to try it out, please let me know
> how you get on, I've only done very limited testing, so you may run
> into bugs that I have yet to find myself.
>
> Brett
>
>
--------------060206040002030300080406
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** -->
Brett,<br>
Looks interesting.<br>
<br>
A few things you may have considered for implementation:<br>
<br>
Using a FIFO buffer on messages from the PC/E-net side to serial as
there can be more messages than the RS232 can cope with when a 'big'
device updates its status (like n Netiom's). Add some inteliigence to
drop messages if queued for too long (though I'm sure this would be
considered as bad form!).<br>
Keep a list of the serial attached devices and don't send targetted
messages to non existent devices. This of course assumes the serial
isn't 1:1 but multidrop (RS485).<br>
<br>
Lehane<br>
<br>
<br>
dbzoo_com wrote:
<blockquote cite="mid:hjfgq0+c9m3@xxxxxxx"
type="cite"><span
style="display: none;"> </span>
<div id="ygrp-text">
<p>Neil,<br>
<br>
As the community doesn't seem to have a solid working bridge I thought
I write one as part of my home automation project.<br>
<br>
<a moz-do-not-send="true"
href="http://www.dbzoo.com/livebox/xap_bridge">http://www.dbzoo.<wbr>com/livebox/<wbr>xap_bridge</a><br>
<br>
This code is BETA and your welcome to try it out, please let me know
how you get on, I've only done very limited testing, so you may run
into bugs that I have yet to find myself.<br>
<br>
Brett<br>
<br>
</p>
</div>
<!-- end group email --></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=2072/stime=1264274544"
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=X3oDMTJmMmxidWsxBF9TAzk3NDc2NTkwBGdycElkAzk2Mjk0NzYEZ3Jwc3BJZAMxNzA1MDA3NzA5BHNlYwNmdHIEc2xrA3N0bmdzBHN0aW1lAzEyNjQyNzQ1NDQ-">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=X3oDMTJkdGpiYzdoBF9TAzk3NDc2NTkwBGdycElkAzk2Mjk0NzYEZ3Jwc3BJZAMxNzA1MDA3NzA5BHNlYwNmdHIEc2xrA2hwZgRzdGltZQMxMjY0Mjc0NTQ0">
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>
--------------060206040002030300080406--
xAP_Development Main Index |
xAP_Development Thread Index |
xAP_Development Home |
Archives Home
|