<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to support-requests</title><link>https://sourceforge.net/p/lnphost/support-requests/</link><description>Recent changes to support-requests</description><atom:link href="https://sourceforge.net/p/lnphost/support-requests/feed.rss" rel="self"/><language>en</language><lastBuildDate>Tue, 18 Jul 2006 03:33:47 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/lnphost/support-requests/feed.rss" rel="self" type="application/rss+xml"/><item><title>function lnp_addressing_send</title><link>https://sourceforge.net/p/lnphost/support-requests/2/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hello here!&lt;/p&gt;
&lt;p&gt;I am having some trouble with the function&lt;br /&gt;
lnp_addressing_send...&lt;/p&gt;
&lt;p&gt;I must be doing something wrong: When I am using it,&lt;br /&gt;
the time it is taking is almost strange: some times it&lt;br /&gt;
will be very short and some times very long...&lt;br /&gt;
and sometime no message is sent. I try to understand&lt;br /&gt;
the problem but I can't...&lt;/p&gt;
&lt;p&gt;I'm using a winXP and usb tower. BrickOS and lnphost&lt;br /&gt;
are running with cygwin. &lt;/p&gt;
&lt;p&gt;Sometimes, it is working well and sometime the function&lt;br /&gt;
is blocking the program...&lt;/p&gt;
&lt;p&gt;If some one can help me, it will be nice.&lt;br /&gt;
Thanks, &lt;br /&gt;
julien.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Julien Malherbe</dc:creator><pubDate>Tue, 18 Jul 2006 03:33:47 -0000</pubDate><guid>https://sourceforge.netb52fb98edea18c704076cb752fcbf724b0d2cb79</guid></item><item><title>sending integrity message from usb tower</title><link>https://sourceforge.net/p/lnphost/support-requests/1/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi, I'm trying to send a message from the usb tower to&lt;br /&gt;
the RCX. Here is the code&lt;/p&gt;
&lt;p&gt;int main(int argc, char *argv[]) {&lt;br /&gt;
struct lnptower tower;&lt;br /&gt;
char *device = "/dev/usb/legousbtower0";&lt;br /&gt;
unsigned flags=0;&lt;br /&gt;
unsigned char data = 1;&lt;/p&gt;
&lt;p&gt;if (lnp_open(&amp;amp;tower,device,flags)) {&lt;br /&gt;
fprintf(stderr,"Failed to connect to tower\n");&lt;br /&gt;
exit(EXIT_FAILURE);&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;while(1){&lt;br /&gt;
//lnp_addressing_send(&amp;amp;tower, &amp;amp;data, 1, 0, 0);&lt;br /&gt;
lnp_integrity_send(&amp;amp;tower, &amp;amp;data, 1);&lt;br /&gt;
sleep(1);&lt;br /&gt;
printf("1\n");&lt;br /&gt;
}&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;Unfortunately, it seems that the loop is executed only&lt;br /&gt;
once. Is there a blocking mechanism?&lt;/p&gt;
&lt;p&gt;Does the RCX need to answer something to unblock the tower?&lt;/p&gt;
&lt;p&gt;Thanks for your help!!&lt;/p&gt;
&lt;p&gt;Yann Sagon&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Fri, 31 Mar 2006 14:57:53 -0000</pubDate><guid>https://sourceforge.netdb8b5d70507bd5734422ab562ed4344c10009ec2</guid></item></channel></rss>