C# Class MissionPlanner.Utilities.ubx_m8p

Inheritance: ICorrections
Mostra file Open project: ArduPilot/MissionPlanner

Public Properties

Property Type Description
buffer byte[]

Public Methods

Method Description
Read ( byte data ) : int
SetupM8P ( ICommsSerial port, MissionPlanner.Utilities.PointLatLngAlt basepos, int surveyindur, double surveyinacc ) : void
generate ( byte cl, byte subclass, byte payload ) : byte[]
poll_msg ( ICommsSerial port, byte clas, byte subclass ) : void
turnon_off ( ICommsSerial port, byte clas, byte subclass, byte every_xsamples ) : void

Private Methods

Method Description
ubx_checksum ( byte packet, int size, int offset = 2 ) : byte[]

Method Details

Read() public method

public Read ( byte data ) : int
data byte
return int

SetupM8P() public method

public SetupM8P ( ICommsSerial port, MissionPlanner.Utilities.PointLatLngAlt basepos, int surveyindur, double surveyinacc ) : void
port ICommsSerial
basepos MissionPlanner.Utilities.PointLatLngAlt
surveyindur int
surveyinacc double
return void

generate() public static method

public static generate ( byte cl, byte subclass, byte payload ) : byte[]
cl byte
subclass byte
payload byte
return byte[]

poll_msg() public method

public poll_msg ( ICommsSerial port, byte clas, byte subclass ) : void
port ICommsSerial
clas byte
subclass byte
return void

turnon_off() public method

public turnon_off ( ICommsSerial port, byte clas, byte subclass, byte every_xsamples ) : void
port ICommsSerial
clas byte
subclass byte
every_xsamples byte
return void

Property Details

buffer public_oe property

public byte[] buffer
return byte[]