|
BASIS 2 Driver 0.1.0
API reference
|
Request and Reply: the only things the driver puts on and takes off the wire, and the timing formulas that size every wait.
More...
#include <array>#include <cstddef>#include <cstdint>#include <span>#include "alicat_basis2_types.hpp"Go to the source code of this file.
Classes | |
| struct | alicat_basis2::Reply |
| A reply as received: one ASCII line without its CR, or one Modbus frame (raw bytes as chars). More... | |
| class | alicat_basis2::Request |
| One validated request. Only the factories of the grammar headers make one that can be sent. More... | |
Namespaces | |
| namespace | alicat_basis2 |
The ALICAT_BASIS2 driver: everything it declares lives here; internals in detail. | |
Variables | |
| constexpr std::size_t | alicat_basis2::kMaxRequest = 48 |
| Longest request the driver builds, in bytes. | |
Request and Reply: the only things the driver puts on and takes off the wire, and the timing formulas that size every wait.
A Request can be made only by the factories of alicat_basis2_ascii.hpp and alicat_basis2_modbus.hpp, which validate every argument; its constructor from data is private. There is no way to send raw text.