C# Class MissionPlanner.Comms.CommsNTRIP

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

Public Properties

Property Type Description
alt double
client System.Net.Sockets.TcpClient
lat double
lng double

Public Methods

Method Description
Close ( ) : void
CommsNTRIP ( ) : System
DiscardInBuffer ( ) : void
Dispose ( ) : void
Open ( ) : void
Read ( byte readto, int offset, int length ) : int
ReadByte ( ) : int
ReadChar ( ) : int
ReadExisting ( ) : string
ReadLine ( ) : string
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
GetChecksum ( string sentence ) : string
TcpKeepAlive ( bool On_Off, uint KeepaLiveTime, uint KeepaLiveInterval ) : byte[]
VerifyConnected ( ) : void
doConnect ( ) : void

Method Details

Close() public method

public Close ( ) : void
return void

CommsNTRIP() public method

public CommsNTRIP ( ) : System
return System

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

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

alt public_oe property

public double alt
return double

client public_oe property

public TcpClient,System.Net.Sockets client
return System.Net.Sockets.TcpClient

lat public_oe property

public double lat
return double

lng public_oe property

public double lng
return double