C# 클래스 ArdupilotMega.ArduinoSTK

상속: SerialPort
파일 보기 프로젝트 열기: jdrones/jD_IOBoard_Configurator 1 사용 예제들

공개 메소드들

메소드 설명
Close ( ) : bool
Open ( ) : void
connectAP ( ) : bool

Used to start initial connecting after serialport.open

download ( short length ) : byte[]

Downloads the eeprom with the given length - set Address first

downloadflash ( short length ) : byte[]
keepalive ( ) : bool

Used to keep alive the connection

setaddress ( int address ) : bool

Sets the eeprom start read or write address

sync ( ) : bool

Syncs after a private command has been sent

upload ( byte data, short startfrom, short length, short startaddress ) : bool

Upload data at preset address

uploadflash ( byte data, int startfrom, int length, int startaddress ) : bool

메소드 상세

Close() 공개 메소드

public Close ( ) : bool
리턴 bool

Open() 공개 메소드

public Open ( ) : void
리턴 void

connectAP() 공개 메소드

Used to start initial connecting after serialport.open
public connectAP ( ) : bool
리턴 bool

download() 공개 메소드

Downloads the eeprom with the given length - set Address first
public download ( short length ) : byte[]
length short eeprom length
리턴 byte[]

downloadflash() 공개 메소드

public downloadflash ( short length ) : byte[]
length short
리턴 byte[]

keepalive() 공개 메소드

Used to keep alive the connection
public keepalive ( ) : bool
리턴 bool

setaddress() 공개 메소드

Sets the eeprom start read or write address
public setaddress ( int address ) : bool
address int address, must be eaven number
리턴 bool

sync() 공개 메소드

Syncs after a private command has been sent
public sync ( ) : bool
리턴 bool

upload() 공개 메소드

Upload data at preset address
public upload ( byte data, short startfrom, short length, short startaddress ) : bool
data byte array to read from
startfrom short start array index
length short length to send
startaddress short sets eeprom start programing address
리턴 bool

uploadflash() 공개 메소드

public uploadflash ( byte data, int startfrom, int length, int startaddress ) : bool
data byte
startfrom int
length int
startaddress int
리턴 bool