INTRODUCTION Overview Download and Install Documentation Publications REPOSITORY Libraries DEVELOPER Dev Guide Dashboard PEOPLE Contributors Users Project Download Mailing lists
|
gbxsmartbatteryacfr::OceanServerReader Class Reference
Detailed DescriptionClass to read data from the oceanserver battery system: (1) connects to the serial port (2) reads from the serial port and parses data Constructor & Destructor Documentation◆ OceanServerReader()
Connects to the serial port (e.g. /dev/ttyS0) and checks whether we are connected to an OceanServer system. Throws a HardwareReadingException if any of the above goes wrong. References reset(). Member Function Documentation◆ read()
Reads an OceanServerSystem record May throw HardwareReadingExceptions and ParsingExceptions References gbxsmartbatteryacfr::OceanServerParser::atBeginningOfRecord(), gbxutilacfr::Tracer::debug(), and gbxsmartbatteryacfr::OceanServerParser::parse(). ◆ reset()
Resets the reader:
References gbxutilacfr::Tracer::debug(), gbxserialacfr::Serial::flush(), gbxserialacfr::Serial::readLine(), and gbxserialacfr::Serial::write(). Referenced by OceanServerReader(). The documentation for this class was generated from the following files:
|