Yodiwo / Mbed 2 deprecated YoPlegma

Dependencies:   EthernetInterface FXOS8700Q HTTPClient HTTPD MQTTS SDFileSystem YodiwoPlegma mbed-rpc mbed-rtos mbed wolfSSL

Revision:
2:b7489c070d1f
Child:
3:11b767300d32
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/config.h	Fri Sep 04 08:41:34 2015 +0000
@@ -0,0 +1,33 @@
+#ifndef __CONFIG_H__
+#define __CONFIG_H__
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#include <stdint.h>
+#include <stdlib.h>
+#include "yodiwo_helpers.h"
+
+typedef struct
+{
+    char    *uuid;
+    char    *name;
+    char    *nodeKey;
+    char    *nodeSecret;
+    char    *pairingServerUrl;
+    char    *ypchannelServer;
+    int32_t  ypchannelServerPort;
+    int32_t  webPort;
+    char    *mqttBrokerHostname;
+} config_t;
+
+
+int read_config(config_t *config, char *filename);
+int write_config(config_t *config, char *filename);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __CONFIG_H__ */
\ No newline at end of file