Commit Graph
9 Commits
Author SHA1 Message Date
Miguel de Icaza c8088c1d5e Second part of fix for bug #81967
2007-08-12  Lukasz Byczynski <[email protected]>

	* SerialPortStream.cs: added timeout handling on write

	* WinSerialStream.cs: fixed setting handshake flags 

svn path=/trunk/mcs/; revision=83922
2007-08-12 16:18:32 +00:00
Sebastien Pouliot 067ac624b1 2007-05-01 Sebastien Pouliot <[email protected]>
* WinSerialStream.cs: Fix build due to NativeOverlapped being updated
	to 2.0 definition (int to IntPtr).


svn path=/trunk/mcs/; revision=76535
2007-05-01 17:25:38 +00:00
Paolo Molaro c5bdf444a2 Wed Apr 11 15:40:55 CEST 2007 Paolo Molaro <[email protected]>
* WinSerialStream.cs: fixed logic for signal value check (bug #81342).


svn path=/trunk/mcs/; revision=75610
2007-04-11 13:43:24 +00:00
Andrew Skiba 9193ddbb24 TARGET_JVM
svn path=/trunk/mcs/; revision=66027
2006-09-28 13:32:30 +00:00
Miguel de Icaza 18159ff054 2006-08-13 Miguel de Icaza <[email protected]>
* SerialPortStream.cs (BytesToRead, BytesToWrite): Implement. 

	* SerialPort.cs (ReadByte): Go directly to the stream, no need to
	call the wrapper code.

	(ReadChar): implement.

	(ReadLine): implement.
	
	Add DefaultValueAttributes to various methods.

	* SerialPortStream.cs, WinSerialStream.cs: Use the same checking
	we use elsewhere for parameters.


svn path=/trunk/mcs/; revision=63688
2006-08-13 22:13:18 +00:00
Carlos Alberto Cortez 98fe6e1118 2005-05-12 Carlos Alberto Cortez <[email protected]>
* ISerialStream.cs: Add support for break state.
	* SerialPort.cs: Likewise.
	* WinSerialStream.cs: Add support for break state and
	some other bits (BytesToRead, BytesToWrite, DsrHolding,
	CDHolding, CtsHolding, DiscardIn, DiscardOut).
	* SerialPortStream.cs: Add a SetBreak function to
	implement the updated ISerialStream interface (not implemented
	by now).


svn path=/trunk/mcs/; revision=60663
2006-05-12 20:18:55 +00:00
Carlos Alberto Cortez fc71db5a36 * SerialPort.cs:
* WinSerialStream.cs: Actually plug the Win serial stream
	in the SerialPort and use it if we are on Windows (use std
	stream otherwise).

2005-05-08  Carlos Alberto Cortez <[email protected]>


svn path=/trunk/mcs/; revision=60402
2006-05-08 13:44:25 +00:00
Carlos Alberto Cortez f637bb3807 2005-05-08 Carlos Alberto Cortez <[email protected]>
* WinSerialStream.cs: Implement some bits needed for
	the backend thing.


svn path=/trunk/mcs/; revision=60400
2006-05-08 12:49:28 +00:00
Carlos Alberto Cortez 6dcd3635ec 2006-04-20 Carlos Alberto Cortez <[email protected]>
* WinSerialPort.cs: Inital import of the backend stream
	for Windows support.
	

svn path=/trunk/mcs/; revision=59729
2006-04-21 06:47:26 +00:00