Example node for Yodiwo's Plegma API
Dependencies: EthernetInterface FXOS8700Q HTTPClient HTTPD MQTTS SDFileSystem YodiwoPlegma mbed-rpc mbed-rtos mbed wolfSSL
Diff: config.h
- Revision:
- 5:1ef168357347
- Parent:
- 3:11b767300d32
--- a/config.h Mon Sep 21 06:56:11 2015 +0000 +++ b/config.h Mon Sep 28 08:55:29 2015 +0000 @@ -9,22 +9,6 @@ #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; - int32_t mqttBrokerPort; - char *mqttBrokerCertFile; -} config_t; - - int read_config(Yodiwo_Tools_APIGenerator_CNodeYConfig_t *config, char *filename); int write_config(Yodiwo_Tools_APIGenerator_CNodeYConfig_t *config, char *filename); @@ -32,4 +16,5 @@ } #endif -#endif /* __CONFIG_H__ */ \ No newline at end of file +#endif /* __CONFIG_H__ */ +