On 2015-12-04 22:15, [email protected] wrote: > http://gambaswiki.org/bugtracker/edit?object=BUG.858&from=L21haW4- > > Comment #3 by PICCORO LENZ MCKAY: > > oh men what a problem, so its difficul to said what are in problem, or > the component itselft or the documentation refers! > > so then i must research to the gambas module implementation and > improve the wiki or see if tha tu said are valid! > > su said: > > FlowControl = SerialPort.Software means Software IXON + IXOFF + IXANY. > <<< setting to that does not work, work only if i put explicy the > integer 2 > > and that you said are not documented !
In the CSerialPort.c file at line 472 it states: // FlowControl : 1->CRTSCTS , 2-> XON/XOFF , 3-> XON/OFF plus CRTSCTS, 0 --> NONE So the constants for FlowControl are: SerialPort.None = 0 SerialPort.Hardware = 1 -> meaning CRTSCTS SerialPort.Software = 2 -> meaning XON/XOFF SerialPort.Both = 3 -> meaning XON/OFF plus CRTSCTS Maybe we just need to add this bit of information (what the constant means) to the docmentation, as it could make sense to developers working with serial ports. Would that help you as well? gbWilly ------------------------------------------------------------------------------ Go from Idea to Many App Stores Faster with Intel(R) XDK Give your users amazing mobile app experiences with Intel(R) XDK. Use one codebase in this all-in-one HTML5 development environment. Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs. http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140 _______________________________________________ Gambas-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gambas-user
