Class Serial
Defined in File serial.h
Inheritance Relationships
Base Type
public std::enable_shared_from_this< Serial >
Derived Types
public create::SerialQuery
(Class SerialQuery)public create::SerialStream
(Class SerialStream)
Class Documentation
-
class Serial : public std::enable_shared_from_this<Serial>
Subclassed by create::SerialQuery, create::SerialStream
Public Functions
-
~Serial()
-
bool connect(const std::string &port, const int &baud = 115200, std::function<void()> cb = 0)
-
void disconnect()
-
inline bool connected() const
-
bool send(const uint8_t *bytes, const uint32_t numBytes)
-
uint64_t getNumCorruptPackets() const
-
uint64_t getTotalPackets() const
-
~Serial()