All Implemented Interfaces:
Describable, Identity, Lifecycle, Extension, IO<Serial,SerialConfig,SerialProvider>, IODataReader, IODataWriter, Serial, AutoCloseable, Readable

public class RpiSerial extends SerialBase implements Serial

RpiSerial class.

Version:
$Id: $Id
Author:
Robert Savage (http://www.savagehomeautomation.com)
  • Constructor Details

  • Method Details

    • write

      public int write(byte b)
      Specified by:
      write in interface IODataWriter
    • write

      public int write(byte[] data, int offset, int length)
      Specified by:
      write in interface IODataWriter
    • read

      public int read()
      Specified by:
      read in interface IODataReader
    • read

      public int read(byte[] buffer, int offset, int length)
      Specified by:
      read in interface IODataReader
    • available

      public int available()
      Specified by:
      available in interface Serial