summaryrefslogtreecommitdiff
path: root/fw/app/src/settings.h
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2025-04-15 22:12:54 +0200
committerxengineering <me@xengineering.eu>2025-04-16 18:03:40 +0200
commitf4faa103108356bcf53fb7c8829e95f012b21a4a (patch)
treef0f8e40c0a66090fd027ac31bf5ce213aaf97b63 /fw/app/src/settings.h
parentd25c8e08ce6a977977e38365ace9af16acf09195 (diff)
downloadiot-contact-f4faa103108356bcf53fb7c8829e95f012b21a4a.tar
iot-contact-f4faa103108356bcf53fb7c8829e95f012b21a4a.tar.zst
iot-contact-f4faa103108356bcf53fb7c8829e95f012b21a4a.zip
fw: app: http: Add working GET /settings.json
Diffstat (limited to 'fw/app/src/settings.h')
-rw-r--r--fw/app/src/settings.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/fw/app/src/settings.h b/fw/app/src/settings.h
new file mode 100644
index 0000000..a5cf2ac
--- /dev/null
+++ b/fw/app/src/settings.h
@@ -0,0 +1,11 @@
+/*
+ * This Source Code Form is subject to the terms of the Mozilla Public License,
+ * v. 2.0. If a copy of the MPL was not distributed with this file, You can
+ * obtain one at https://mozilla.org/MPL/2.0/.
+ */
+
+
+#include <stddef.h>
+
+
+int settings_to_json(void *buffer, size_t data);