C# Class MissionPlanner.Comms.TcpSerial

Inheritance: CommsBase, ICommsSerial, IDisposable
Exibir arquivo Open project: ArduPilot/MissionPlanner Class Usage Examples

Public Properties

Property Type Description
client TcpClient

Public Methods

Method Description
Close ( ) : void
DiscardInBuffer ( ) : void
Dispose ( ) : void
Open ( ) : void
Read ( byte readto, int offset, int length ) : int
ReadByte ( ) : int
ReadChar ( ) : int
ReadExisting ( ) : string
ReadLine ( ) : string
TcpSerial ( ) : System
Write ( byte write, int offset, int length ) : void
Write ( string line ) : void
WriteLine ( string line ) : void
toggleDTR ( ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
VerifyConnected ( ) : void

Method Details

Close() public method

public Close ( ) : void
return void

DiscardInBuffer() public method

public DiscardInBuffer ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

Open() public method

public Open ( ) : void
return void

Read() public method

public Read ( byte readto, int offset, int length ) : int
readto byte
offset int
length int
return int

ReadByte() public method

public ReadByte ( ) : int
return int

ReadChar() public method

public ReadChar ( ) : int
return int

ReadExisting() public method

public ReadExisting ( ) : string
return string

ReadLine() public method

public ReadLine ( ) : string
return string

TcpSerial() public method

public TcpSerial ( ) : System
return System

Write() public method

public Write ( byte write, int offset, int length ) : void
write byte
offset int
length int
return void

Write() public method

public Write ( string line ) : void
line string
return void

WriteLine() public method

public WriteLine ( string line ) : void
line string
return void

toggleDTR() public method

public toggleDTR ( ) : void
return void

Property Details

client public_oe property

public TcpClient client
return TcpClient