C# Class MissionPlanner.Radio.XModem

Mostra file Open project: ArduPilot/MissionPlanner Class Usage Examples

Public Methods

Method Description
CRC_calc ( byte data, int size ) : UInt16
SendBlock ( FileStream fs, ICommsSerial Serial, int bNumber ) : void
Upload ( string firmwarebin, ICommsSerial comPort ) : void

Method Details

CRC_calc() public static method

public static CRC_calc ( byte data, int size ) : UInt16
data byte
size int
return System.UInt16

SendBlock() public static method

public static SendBlock ( FileStream fs, ICommsSerial Serial, int bNumber ) : void
fs System.IO.FileStream
Serial ICommsSerial
bNumber int
return void

Upload() public static method

public static Upload ( string firmwarebin, ICommsSerial comPort ) : void
firmwarebin string
comPort ICommsSerial
return void