DEKI/ENGINE docs
manual api reference
Deki 0.40.1
Modular C++ engine with a visual editor, for 2D and 3D
Loading...
Searching...
No Matches
SerialPorts.h File Reference

Namespaces

namespace  DekiEditor

Functions

std::vector< std::string > DekiEditor::EnumerateSerialPorts ()
 Serial ports on the machine, sorted (COM1 before COM10 on Windows).
bool DekiEditor::SerialExchange (const std::string &port, const std::string &request, const std::function< bool(const std::string &)> &isDone, int timeoutMs, std::string &received, std::string &error)
 Opens port, sends request and collects what comes back until isDone(received) or timeoutMs passes.