Download Now
Forums

    Reference Codebot.IO.SerialPort.pas

    Part of the Codebot package

    The Codebot.IO.SerialPort unit gives you TSerialPort, which reads and writes a serial port on Linux and Windows. TSerialPortOptions holds the line settings of the port, and EnumSerialPorts lists the serial ports on the computer.

    Items 46 items

    NameKindLine
    Baud115200constant33
    Baud1200constant26
    Baud19200constant30
    Baud230400constant34
    Baud2400constant27
    Baud300constant25
    Baud38400constant31
    Baud4800constant28
    Baud57600constant32
    Baud9600constant29
    Bits5constant37
    Bits6constant38
    Bits7constant39
    Bits8constant40
    EnumSerialPortsprocedure118
    TFlowControlset48
    TParityenum44
    prNoneenum value44
    prOddenum value44
    prEvenenum value44
    TSerialPortclass79
    Closeprocedure98
    Createconstructor90
    Destroydestructor92
    Openfunction94, 96
    Readfunction100
    ReadBinaryfunction102
    Writeprocedure104
    WriteBinaryprocedure106
    XOffprocedure110
    XOnprocedure108
    Deviceproperty114
    Openedproperty112
    TSerialPortOptionsrecord52
    Baudfield55
    DataBitsfield57
    FlowControlfield63
    Minfield65
    Parityfield59
    StopBitsfield61
    Timeoutfield67
    Createfunction69, 71
    ToStringfunction74
    TStopBitsenum46
    sbOneenum value46
    sbTwoenum value46