Property | Type | Description | |
---|---|---|---|
EnableDebugInfos | bool | ||
NotifyData | bool | ||
NotifyLines | bool | ||
NotifyValues | bool | ||
RememberLines | int | ||
SkipFirstLine | bool | ||
ValuesSeparator | char |
Method | Description | |
---|---|---|
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
|
Method | Description | |
---|---|---|
receivedData ( string data ) : void |
Method | Description | |
---|---|---|
GetPortName ( ) : string |
public GetLastLine ( bool keepLines = false ) : string | ||
keepLines | bool | |
return | string |
public GetLines ( bool keepLines = false ) : List |
||
keepLines | bool | |
return | List |
public SimulateDataReceptionLn ( float data ) : void | ||
data | float | |
return | void |
public SimulateDataReceptionLn ( string data ) : void | ||
data | string | |
return | void |
public static Write ( string message ) : void | ||
message | string | |
return | void |
public static WriteLn ( string message = "" ) : void | ||
message | string | |
return | void |
public static checkOpen ( int portSpeed = 9600 ) : bool | ||
portSpeed | int | Port speed. |
return | bool |
protected receivedData ( string data ) : void | ||
data | string | |
return | void |