aboutsummaryrefslogtreecommitdiff
path: root/main/sock.h
diff options
context:
space:
mode:
authorThomasintAnker <thomasintanker1@gmail.com>2024-06-24 14:59:56 +0200
committerThomasintAnker <thomasintanker1@gmail.com>2024-06-24 14:59:56 +0200
commita0c664908b9112306c5858ccb106d1a0e5555df7 (patch)
tree8ca77d1210d1683a97f4da131c6ffac8123d4375 /main/sock.h
parent381149dd7a1f4d5f48dd5ac07186c73371ff3c04 (diff)
parentec7f5e970ed03acb33eb5dc3b67f3d52af52e6dc (diff)
merge main into wip/mc
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();
+/// \}
+