[En-Nut-Discussion] Re: RTS/CTS flow control

Thiago A. Corrêa thiago.correa at gmail.com
Wed Aug 16 17:28:48 CEST 2006


Hi Ole,

   thank you so much for replying.
   I was feeling like being blantly ignored by now, even the patches I sent
are sitting still in the task tracker :(

   So I take it that you agree that the status function has a typo there?
   Well, unfortunally that didn't fix my problem. Now I don't know what
could I be doing wrong or what could be wrong on ethernut code. So far I'm
still trying to figure things out.

   In my app, I use the following snipped to open and set it up for RTS/CTS:

serialPort = fopen( "uart0", "r+b" );
temp = USART_MF_RTSCONTROL | USART_MF_CTSSENSE;
_ioctl(_fileno(serialPort), UART_SETFLOWCONTROL, &temp);

   Is that the right way of doing it?
   I looked over btnut cvs but I couldn't find where you where using the
serial port with rts/cts, in which of the samples is it?

Friendly Regards,
    Thiago A. Correa

On 8/16/06, Ole Reinhardt <ole.reinhardt at kernelconcepts.de> wrote:
>
> Hi,
>
> > Isn't there anyone successfully using RTS/CTS with ethernut?
>
> Yes, I'm using it but never loocked that deep into the code. For me it
> seems to work quite ok. The BTNut projekt (http://btnode.ethz.ch) also
> uses RTS/CTS for a long time without any major problems.
>
> But your objection makes me perplex... any other suggestions?
>
> Best regards,
>
> Ole Reinhardt
>
> --
> kernel concepts    Tel: +49-271-771091-14
> Dreisbachstr. 24   Fax: +49-271-771091-19
> D-57250 Netphen    E+ : +49-177-7420433
> --
>
>
> _______________________________________________
> En-Nut-Discussion mailing list
> En-Nut-Discussion at egnite.de
> http://www.egnite.de/mailman/listinfo.cgi/en-nut-discussion
>



More information about the En-Nut-Discussion mailing list