Property | Type | Description | |
---|---|---|---|
GetDefaultPortName | string | ||
OnDataReceived | void | ||
OnDataReceived | void | ||
OnErrorReceived | void | ||
Read | int | ||
read_byte | int |
Method | Description | |
---|---|---|
CheckOpen ( ) : void | ||
Close ( ) : void | ||
DiscardInBuffer ( ) : void | ||
DiscardOutBuffer ( ) : void | ||
GetPortNames ( ) : string[] | ||
Open ( ) : void | ||
Read ( byte buffer, int offset, int count ) : int | ||
ReadByte ( ) : int | ||
ReadChar ( ) : int | ||
ReadExisting ( ) : string | ||
ReadLine ( ) : string | ||
ReadTo ( string value ) : string | ||
SerialPort ( ) : System | ||
SerialPort ( IContainer container ) : System | ||
SerialPort ( string portName ) : System | ||
SerialPort ( string portName, int baudRate ) : System | ||
SerialPort ( string portName, int baudRate, Parity parity ) : System | ||
SerialPort ( string portName, int baudRate, Parity parity, int dataBits ) : System | ||
SerialPort ( string portName, int baudRate, Parity parity, int dataBits, StopBits stopBits ) : System | ||
Write ( byte buffer, int offset, int count ) : void | ||
Write ( char buffer, int offset, int count ) : void | ||
Write ( string str ) : void | ||
WriteLine ( string str ) : void |
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Method | Description | |
---|---|---|
GetDefaultPortName ( ) : string | ||
OnDataReceived ( System.IO.Ports.SerialDataReceivedEventArgs args ) : void | ||
OnDataReceived ( System.IO.Ports.SerialPinChangedEventArgs args ) : void | ||
OnErrorReceived ( System.IO.Ports.SerialErrorReceivedEventArgs args ) : void | ||
Read ( char buffer, int offset, int count ) : int | ||
read_byte ( ) : int |
public Read ( byte buffer, int offset, int count ) : int | ||
buffer | byte | |
offset | int | |
count | int | |
return | int |
public SerialPort ( IContainer container ) : System | ||
container | IContainer | |
return | System |
public SerialPort ( string portName ) : System | ||
portName | string | |
return | System |
public SerialPort ( string portName, int baudRate ) : System | ||
portName | string | |
baudRate | int | |
return | System |
public SerialPort ( string portName, int baudRate, Parity parity ) : System | ||
portName | string | |
baudRate | int | |
parity | Parity | |
return | System |
public SerialPort ( string portName, int baudRate, Parity parity, int dataBits ) : System | ||
portName | string | |
baudRate | int | |
parity | Parity | |
dataBits | int | |
return | System |
public SerialPort ( string portName, int baudRate, Parity parity, int dataBits, StopBits stopBits ) : System | ||
portName | string | |
baudRate | int | |
parity | Parity | |
dataBits | int | |
stopBits | StopBits | |
return | System |
public Write ( byte buffer, int offset, int count ) : void | ||
buffer | byte | |
offset | int | |
count | int | |
return | void |
public Write ( char buffer, int offset, int count ) : void | ||
buffer | char | |
offset | int | |
count | int | |
return | void |