From dc8703206e3f0f69605c56d0e1127f7e17f3476a Mon Sep 17 00:00:00 2001 From: Jan Sucan Date: Tue, 4 Jun 2019 14:34:27 +0200 Subject: Initial commit --- testing/yup-comm/protocol/data.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 testing/yup-comm/protocol/data.h (limited to 'testing/yup-comm/protocol/data.h') diff --git a/testing/yup-comm/protocol/data.h b/testing/yup-comm/protocol/data.h new file mode 100644 index 0000000..a0b29db --- /dev/null +++ b/testing/yup-comm/protocol/data.h @@ -0,0 +1,16 @@ +/* Author: Jan Sucan */ + +#ifndef DATA_H_ +#define DATA_H_ + +#include +#include +#include + +#include "return_codes.h" + +yup_retcode_t data_receive(uint8_t * const buf, size_t bufsize, size_t * const bytes_read); +yup_retcode_t data_send (const uint8_t * const buf, size_t bufsize); + +#endif /* DATA_H_ */ + -- cgit v1.2.3