Hmmmm better I think,   Its *sometimes* getting data, but not all the time.   
Will be working on it this weekend, too early to say who's problem it may be 
right now, but if you want to take another look around for anything else that 
may affect either flow control (RTSCTS) or parity (Even) cause those are the 
differences for this particular device.
 
Once I get data flowing it seems to be okay; but some connections see no data 
at all, others see data for less than a minute before it stops, others flow 
fine....  
 
Like I said, I'll be digging into it over the weekend....
 
Thanks again!
boB

________________________________

From: Bob Gage [mailto:[email protected]]
Sent: Fri 10/9/2009 3:36 PM
To: [email protected]
Subject: RE: RTS/CTS Serial flow control



Thanks for the quick turn around!!!      

I've updated & rebuilt my mina package, set my project to look for M7-SNAPSHOT, 
rebuilt my app, and am about to test....   :-)

Crossing fingers .....  NOW   :-)
boB



________________________________

From: Julien Vermillard [mailto:[email protected]]
Sent: Fri 10/9/2009 11:55 AM
To: [email protected]
Subject: Re: RTS/CTS Serial flow control



Le Fri, 9 Oct 2009 10:30:11 -0500,
"Bob Gage" <[email protected]> a écrit :

> Its in as DIRMINA-740.
>
> If you could pass a patch on to me, I'd be glad to try it out!   I'm
> already using a modified M6 with a previous fix, so throwing another
> patch in is not a problem.  :-) Thanks again!!
> boB
>

Fix commited
Here the patch :

http://svn.apache.org/viewvc/mina/trunk/transport-serial/src/main/java/org/apache/mina/transport/serial/SerialAddress.java?p2=%2Fmina%2Ftrunk%2Ftransport-serial%2Fsrc%2Fmain%2Fjava%2Forg%2Fapache%2Fmina%2Ftransport%2Fserial%2FSerialAddress.java&p1=%2Fmina%2Ftrunk%2Ftransport-serial%2Fsrc%2Fmain%2Fjava%2Forg%2Fapache%2Fmina%2Ftransport%2Fserial%2FSerialAddress.java&r1=823596&r2=823595&pathrev=823596&view=patch


Try to use : FlowControl.RTSCTS_IN_OUT


> ________________________________
>
> From: Julien Vermillard [mailto:[email protected]]
> Sent: Fri 10/9/2009 11:13 AM
> To: [email protected]
> Subject: Re: RTS/CTS Serial flow control
>
>
>
> Le Fri, 9 Oct 2009 17:09:05 +0200,
> Julien Vermillard <[email protected]> a écrit :
>
> > Le Fri, 9 Oct 2009 09:46:10 -0500,
> > "Bob Gage" <[email protected]> a écrit :
> >
> > > Is serial hardware flow control properly working in Mina 2.0??
> > >
> > > I have an application that communicates with a variety of similar
> > > serial devices using the same collection of generic objects over
> > > Mina.   These are working very well for the most part -- however,
> > > one specific device requires hardware flow control, and that
> > > device has yet to produce a single byte of input data. My
> > > application is replacing an old C++ application.   That
> > > application has been used to confirm the operation of the serial
> > > hardware and external device. IOW, I can switch to the old C++
> > > application and the device is there; switch back to the
> > > Mina-based Java app and it's silent again.
> > >
> > > Is there anything my code (as user of the Mina libraries) needs to
> > > do to support flow control other than using the
> > > FlowControl.RTSCTS_OUT parameter in the SerialAddress constructor?
> > >
> > > Thanks in advance!!
> > > boB Gage
> > >
> > Hi bob,
> >
> > I personally never tried mina serial transport with flow control
> > (perhaps someone did ?). I'm going to take a look at the code for
> > see if everything is ok.
> >
> > Julien
>
> Look like I totally misunderstood rxtx API, it's using bit mask and
> mina serial transport use enumeration..
>
> Can you create a JIRA issue ? I'll try to fix it.
>
>
> Thanks for the report,
> Julien
>
>




Reply via email to