diff --git a/groundStation/src/frontend/frontend_common.c b/groundStation/src/frontend/frontend_common.c new file mode 100644 index 0000000000000000000000000000000000000000..fb343ebf89629b6147d24927dc817bc584703c17 --- /dev/null +++ b/groundStation/src/frontend/frontend_common.c @@ -0,0 +1 @@ +#include < diff --git a/groundStation/src/frontend/frontend_common.h b/groundStation/src/frontend/frontend_common.h new file mode 100644 index 0000000000000000000000000000000000000000..c02804243422551d068a16d310186ba3a69ad177 --- /dev/null +++ b/groundStation/src/frontend/frontend_common.h @@ -0,0 +1,17 @@ +#ifndef FRONTEND_COMMON_H +#define FRONTEND_COMMON_H + +struct backend_conn; + +/* Start connection to quad */ +struct backend_conn * ucart_backendConnect(); + +/* Stop connection to quad */ +void ucart_backendDisconnect(struct backend_conn * conn); + +/* Get a string from the backend. NOTE: free() the string when + * you are done with it. + */ +char * backendGetline(struct backend_conn * conn); + +#endif