10#define SERIAL_PACKER_H
13#include <HardwareSerial.h>
41 const uint8_t start_byte;
52 void send_byte (
const uint8_t data);
71 bool send (
const uint8_t *
const tx_buf,
const uint8_t tx_buf_len);
Definition HardwareSerial.h:99
bool send(const uint8_t *const tx_buf, const uint8_t tx_buf_len)
Creates and sends a packet.
HardwareSerial & get_uart()
Gets the UART object to send the packets to.
Serial_packer(HardwareSerial &init_uart, const uint8_t init_start_byte)
Creates a packer.