12 #if !defined(ZA_SERIAL_H)
15 #if defined(__cplusplus)
75 int za_connect(z_port *port,
const char *port_name);
96 int za_send(z_port port,
const char *command,
size_t sMaxSz);
127 int za_receive(z_port port,
char *destination,
int length);
201 #if defined(__cplusplus)
GeneratorWrapper< T > value(T &&value)
int za_connect(z_port *port, const char *port_name)
int za_setbaud(z_port port, int baud)
void za_set_verbose(int value)
int za_receive(z_port port, char *destination, int length)
int za_decode(struct za_reply *destination, const char *reply, size_t sMaxSz)
int za_send(z_port port, const char *command, size_t sMaxSz)
int za_drain(z_port port)
int za_disconnect(z_port port)
Defines a few things that all of the serial API has in common.