C# Class MissionPlanner.Utilities.Firmware

Datei anzeigen Open project: ArduPilot/MissionPlanner Class Usage Examples

Public Properties

Property Type Description
niceNames string>>.List

Public Methods

Method Description
Firmware ( ) : log4net

Load firmware history from file

LoadSoftwares ( ) : List
SaveSoftwares ( List list ) : void
UploadArduino ( string comport, string filename, BoardDetect board ) : bool
UploadFlash ( string comport, string filename, BoardDetect board ) : bool

Upload firmware

UploadPX4 ( string filename, BoardDetect board ) : bool

upload to px4 standalone

UploadParrot ( string filename, BoardDetect board ) : bool

upload to Parrot boards

UploadVRBRAIN ( string filename, BoardDetect board ) : bool

upload to vrbrain standalone

getFWList ( string firmwareurl = "" ) : List

Load xml from internet based on firmwareurl, and return softwarelist

getUrl ( string hash, string filename ) : string
update ( string comport, software temp, string historyhash ) : bool

Do full update - get firmware from internet

Private Methods

Method Description
getAPMVersion ( object tempin ) : void

Get fw version from firmeware.diydrones.com

isParrotWifiConnected ( string ssid ) : bool
pingParrotVehicle ( Ping ping ) : PingReply
readIntelHEXv2 ( StreamReader sr ) : byte[]

Read intel hex file

up_LogEvent ( string message, int level ) : void
up_ProgressEvent ( double completed ) : void
updateProgress ( int percent, string status ) : void

Method Details

Firmware() public method

Load firmware history from file
public Firmware ( ) : log4net
return log4net

LoadSoftwares() public static method

public static LoadSoftwares ( ) : List
return List

SaveSoftwares() public static method

public static SaveSoftwares ( List list ) : void
list List
return void

UploadArduino() public method

public UploadArduino ( string comport, string filename, BoardDetect board ) : bool
comport string
filename string
board BoardDetect
return bool

UploadFlash() public method

Upload firmware
public UploadFlash ( string comport, string filename, BoardDetect board ) : bool
comport string
filename string
board BoardDetect
return bool

UploadPX4() public method

upload to px4 standalone
public UploadPX4 ( string filename, BoardDetect board ) : bool
filename string
board BoardDetect
return bool

UploadParrot() public method

upload to Parrot boards
public UploadParrot ( string filename, BoardDetect board ) : bool
filename string
board BoardDetect
return bool

UploadVRBRAIN() public method

upload to vrbrain standalone
public UploadVRBRAIN ( string filename, BoardDetect board ) : bool
filename string
board BoardDetect
return bool

getFWList() public method

Load xml from internet based on firmwareurl, and return softwarelist
public getFWList ( string firmwareurl = "" ) : List
firmwareurl string
return List

getUrl() public method

public getUrl ( string hash, string filename ) : string
hash string
filename string
return string

update() public method

Do full update - get firmware from internet
public update ( string comport, software temp, string historyhash ) : bool
comport string
temp software
historyhash string
return bool

Property Details

niceNames public_oe property

public List> niceNames
return string>>.List