Свойство | Тип | Описание | |
---|---|---|---|
EnableDebugInfos | bool | ||
NotifyData | bool | ||
NotifyLines | bool | ||
NotifyValues | bool | ||
RememberLines | int | ||
SkipFirstLine | bool | ||
ValuesSeparator | char |
Метод | Описание | |
---|---|---|
ClearReceivedBytes ( ) : void |
Clears the received bytes. Warning: This prevents line detection and notification. To be used when no \n is expected to avoid keeping unnecessary big amount of data in memory You should normally not call this function if \n are expected.
|
|
GetLastLine ( bool keepLines = false ) : string | ||
GetLines ( bool keepLines = false ) : List |
||
OnApplicationQuit ( ) : void | ||
OnDisable ( ) : void | ||
OnEnable ( ) : void | ||
OnGUI ( ) : void | ||
OnValidate ( ) : void | ||
ReadSerialLoop ( ) : IEnumerator | ||
ReadSerialLoopWin ( ) : IEnumerator | ||
SimulateDataReceptionLn ( float data ) : void |
Act as if the serial port has received data followed by a new line.
|
|
SimulateDataReceptionLn ( string data ) : void |
Act as if the serial port has received data followed by a new line.
|
|
Start ( ) : void | ||
Update ( ) : void | ||
Write ( string message ) : void |
Send data to the serial port.
|
|
WriteLn ( string message = "" ) : void |
Send data to the serial port and append a new line character (\n)
|
|
checkOpen ( int portSpeed = 9600 ) : bool |
Verify if the serial port is opened and opens it if necessary
|
Метод | Описание | |
---|---|---|
receivedData ( string data ) : void |
Метод | Описание | |
---|---|---|
GetPortName ( ) : string |
public GetLastLine ( bool keepLines = false ) : string | ||
keepLines | bool | |
Результат | string |
public GetLines ( bool keepLines = false ) : List |
||
keepLines | bool | |
Результат | List |
public ReadSerialLoopWin ( ) : IEnumerator | ||
Результат | IEnumerator |
public SimulateDataReceptionLn ( float data ) : void | ||
data | float | |
Результат | void |
public SimulateDataReceptionLn ( string data ) : void | ||
data | string | |
Результат | void |
public static Write ( string message ) : void | ||
message | string | |
Результат | void |
public static WriteLn ( string message = "" ) : void | ||
message | string | |
Результат | void |
public static checkOpen ( int portSpeed = 9600 ) : bool | ||
portSpeed | int | Port speed. |
Результат | bool |
protected receivedData ( string data ) : void | ||
data | string | |
Результат | void |