aboutsummaryrefslogtreecommitdiff
path: root/main/sock.h
diff options
context:
space:
mode:
Diffstat (limited to 'main/sock.h')
-rw-r--r--main/sock.h15
1 files changed, 12 insertions, 3 deletions
diff --git a/main/sock.h b/main/sock.h
index 38fca01..a151973 100644
--- a/main/sock.h
+++ b/main/sock.h
@@ -1,8 +1,17 @@
#pragma once
-#include <stdint.h>
-#include <stddef.h>
+/**
+ * \ingroup main_tasks
+ * \{
+ */
-//! start listening for TCP socket requests
+/**
+ * \brief Listen for TCP socket messages
+ *
+ * This task starts a TCP server that listens for messages using \ref i2ctcp,
+ * and sends any received I2C messages (also using \ref i2ctcp).
+ */
void serve_task();
+/// \}
+