47a48
> #include <vector>
94a96,105
> *
> * Data sent to the device is buffered one byte at a time. Each
> * time a byte is added, this function is called and passed the
> * current buffer. It should return true if it has consumed the
> * data and the buffer can be cleared, or false if more data is
> * needed to process the current command.
> *
> * @param data Pending input data (at least one byte)
> * @return false if more data is needed to process the current
> * command, true otherwise.
96c107
< virtual void recv(uint8_t data) = 0;
---
> virtual bool recv(const std::vector<uint8_t> &data) = 0;
130a142,144
> /** Host -> device buffer */
> std::vector<uint8_t> inBuffer;
>