C# 클래스 ESP8266DebugPackage.SerialPortStream

상속: Stream, IDisposable
파일 보기 프로젝트 열기: sysprogs/BSPTools 1 사용 예제들

공개 메소드들

메소드 설명
Close ( ) : void
EscapeFunction ( CommFunction func ) : void
Flush ( ) : void
Purge ( ) : void
Read ( byte buffer, int offset, int count ) : int
Seek ( long offset, SeekOrigin origin ) : long
SerialPortStream ( string portName, int baudRate, System flowControl ) : System
SetLength ( long value ) : void
SetTimeouts ( UInt32 readIntervalTimeout, UInt32 readTotalTimeoutMultiplier, UInt32 readTotalTimeoutConstant, UInt32 writeTotalTimeoutMultiplier, UInt32 writeTotalTimeoutConstant ) : void
Write ( byte buffer, int offset, int count ) : void

비공개 메소드들

메소드 설명
ApplyAdvancedSettings ( int baudRate, System flowControl ) : void
CloseHandle ( IntPtr hObject ) : bool
CreateFile ( [ filename, [ access, [ share, IntPtr securityAttributes, [ creationDisposition, [ flagsAndAttributes, IntPtr templateFile ) : SafeFileHandle
DoWrite ( byte buffer, int offset, int count ) : int
EscapeCommFunction ( SafeFileHandle hFile, CommFunction dwFunc ) : bool
GetCommState ( SafeFileHandle hFile, DCB &lpDCB ) : bool
GetOverlappedResult ( SafeHandle hFile, [ lpOverlapped, int &lpNumberOfBytesTransferred, bool bWait ) : bool
PurgeComm ( SafeFileHandle hFile, uint dwFlags ) : bool
ReadFile ( SafeHandle hFile, IntPtr buf, int nNumberOfBytesToRead, int &lpNumberOfBytesRead, IntPtr lpOverlapped ) : bool
SetCommState ( SafeFileHandle hFile, DCB &lpDCB ) : bool
SetCommTimeouts ( SafeHandle hFile, COMMTIMEOUTS &lpCommTimeouts ) : bool
WriteFile ( SafeHandle hFile, IntPtr buf, int nNumberOfBytesToRead, int &lpNumberOfBytesRead, IntPtr lpOverlapped ) : bool

메소드 상세

Close() 공개 메소드

public Close ( ) : void
리턴 void

EscapeFunction() 공개 메소드

public EscapeFunction ( CommFunction func ) : void
func CommFunction
리턴 void

Flush() 공개 메소드

public Flush ( ) : void
리턴 void

Purge() 공개 메소드

public Purge ( ) : void
리턴 void

Read() 공개 메소드

public Read ( byte buffer, int offset, int count ) : int
buffer byte
offset int
count int
리턴 int

Seek() 공개 메소드

public Seek ( long offset, SeekOrigin origin ) : long
offset long
origin SeekOrigin
리턴 long

SerialPortStream() 공개 메소드

public SerialPortStream ( string portName, int baudRate, System flowControl ) : System
portName string
baudRate int
flowControl System
리턴 System

SetLength() 공개 메소드

public SetLength ( long value ) : void
value long
리턴 void

SetTimeouts() 공개 메소드

public SetTimeouts ( UInt32 readIntervalTimeout, UInt32 readTotalTimeoutMultiplier, UInt32 readTotalTimeoutConstant, UInt32 writeTotalTimeoutMultiplier, UInt32 writeTotalTimeoutConstant ) : void
readIntervalTimeout System.UInt32
readTotalTimeoutMultiplier System.UInt32
readTotalTimeoutConstant System.UInt32
writeTotalTimeoutMultiplier System.UInt32
writeTotalTimeoutConstant System.UInt32
리턴 void

Write() 공개 메소드

public Write ( byte buffer, int offset, int count ) : void
buffer byte
offset int
count int
리턴 void