22 #if !defined(ZB_SERIAL_H)
25 #if defined(__cplusplus)
79 int zb_send(z_port port,
const uint8_t *command);
128 int zb_encode(uint8_t *destination, uint8_t device_number,
129 uint8_t command_number, int32_t data);
152 int zb_decode(int32_t *destination,
const uint8_t *reply);
210 #if defined(__cplusplus)
GeneratorWrapper< T > value(T &&value)
Defines a few things that all of the serial API has in common.
int zb_disconnect(z_port port)
int zb_send(z_port port, const uint8_t *command)
int zb_decode(int32_t *destination, const uint8_t *reply)
int zb_encode(uint8_t *destination, uint8_t device_number, uint8_t command_number, int32_t data)
void zb_set_verbose(int value)
int zb_receive(z_port port, uint8_t *destination)
int zb_drain(z_port port)
int zb_set_timeout(z_port port, int milliseconds)
int zb_connect(z_port *port, const char *port_name)