Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: MbedFileServer_1768MiniDK2 RedWireBridge IssueDebug_gcc MiMicRemoteMCU-for-Mbed ... more
Diff: cpp/ModMiMicSetting.h
- Revision:
- 3:0a94993be1f6
- Child:
- 7:2b33a8d84eb3
diff -r b96c1e90d120 -r 0a94993be1f6 cpp/ModMiMicSetting.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/cpp/ModMiMicSetting.h Thu Apr 04 08:22:57 2013 +0000
@@ -0,0 +1,42 @@
+#pragma once
+////////////////////////////////////////////////////////////////////////////////
+// ModMiMicSetting.h
+////////////////////////////////////////////////////////////////////////////////
+
+#include "NyLPC_net.h"
+
+
+namespace MiMic
+{
+ class HttpdConnection;
+ /**
+ * This class is a module for Httpd.
+ * The class provides an REST-API to set and get the on-chip configuration MiMicHttpd.
+ */
+ class ModMiMicSetting
+ {
+ private:
+ char* _path;
+ public:
+ /**
+ * Constructor with parameter initialization.
+ */
+ ModMiMicSetting(const char* i_path);
+ /**
+ * Default constructor.
+ * Must be call {@link setParam} function after constructed.
+ */
+ ModMiMicSetting();
+ virtual ~ModMiMicSetting();
+ void setParam(const char* i_path);
+ /**
+ * This function processes a request.
+ * The function checks whether a connection has a target request.
+ * If necessary, it will transmit a response.
+ * @return
+ * TRUE if request was processed. otherwise FALSE.
+ */
+ bool execute(HttpdConnection& i_connection);
+ };
+
+}
\ No newline at end of file
MiMic Webservice library