Skip to content
Snippets Groups Projects
Commit 5b041f67 authored by Constantin Dresel's avatar Constantin Dresel
Browse files

Updated headers and lib for control center downstream to current versions.

By now codegeneration for downstream data transmisson from control center
to raspberry pi works.
parent f5d201fe
No related branches found
No related tags found
1 merge request!1Feature/control center
......@@ -89,7 +89,7 @@ void af3_cc_send_double(char* signal, GEN_TYPE_double value, uint64_t timestamp)
/** listener for received messages**/
void af3_cc_listen(void (*listener_handler) (receive_message_t));
/** Receive a message from control center. */
void af3_cc_receive(void *listener_handler);
void* af3_cc_receive(void *listener_handler);
/** Deactivates the control center connection. */
void af3_cc_deactivate();
......
......@@ -27,7 +27,8 @@ typedef struct receive_message_t{
/**
* \brief Initialize the downstream communication for control center.
* Currently just initializes a mutex.
* Currently just initializes a mutex and starts a thread listening for incoming
* messages.
*/
void af3_cc_donwstream_init(void);
......
......@@ -27,6 +27,9 @@ void protocol_control_center_create(protocol_control_center_configuration_t* con
/** Writes len bytes of the given text to the control center. */
void protocol_control_center_write(char* text, size_t len);
/** Reads at maximum len bytes from control center to the given buffer. */
void protocol_control_center_receive(char* text, size_t len);
/** Terminates the connection to the control center. */
void protocol_control_center_terminate();
......
No preview for this file type
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment