• Scripting API
Search Results for

    Show / Hide Table of Contents
    • Global
      • UDPClient
      • UDPConnection
      • UDPServer
      • UDPServer.StringEvent
    • JelleVer.ConnectionTools
      • SerialConnection
      • StringEvent

    Class SerialConnection

    Inheritance
    Object
    SerialConnection
    Namespace: JelleVer.ConnectionTools
    Assembly: cs.temp.dll.dll
    Syntax
    public class SerialConnection : MonoBehaviour

    Fields

    activateAtStart

    Declaration
    public bool activateAtStart
    Field Value
    Type Description
    Boolean

    baudeRate

    Declaration
    public int baudeRate
    Field Value
    Type Description
    Int32

    IOPort

    Declaration
    public string IOPort
    Field Value
    Type Description
    String

    logValue

    Declaration
    public bool logValue
    Field Value
    Type Description
    Boolean

    readTimeout

    Declaration
    public int readTimeout
    Field Value
    Type Description
    Int32

    sp

    Declaration
    public SerialPort sp
    Field Value
    Type Description
    SerialPort

    Properties

    recievedValue

    Declaration
    public string recievedValue { get; }
    Property Value
    Type Description
    String

    Methods

    ActivateSP()

    Activates the serial port with the set value in the object

    Declaration
    public void ActivateSP()

    SendBytes(Byte[])

    Sends a message to the activate serial port

    Declaration
    public void SendBytes(byte[] value)
    Parameters
    Type Name Description
    Byte[] value

    the value to send

    In This Article
    Back to top Jelle Vermandere