protegemed, aquisição via A/D simples utilizando interrupção do timer

Dependencies:   EthernetInterface NTPClient mbed-rtos mbed

Fork of ptgm_semDMA by Marcelo Rebonatto

Revision:
0:fac116e94d44
diff -r 000000000000 -r fac116e94d44 Headers/Http_post.h
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Headers/Http_post.h	Tue Jan 05 11:47:35 2016 +0000
@@ -0,0 +1,32 @@
+/*
+ * Http_post.h
+ *
+ *  Created on: 
+ *      Author: 
+ */
+#ifndef HTTP_POST_H
+#define HTTP_POST_H
+
+#include <mbed.h>
+#include <rtos.h>
+
+#include "EthernetInterface.h"    
+
+#include "Settings.h"
+#include "EventDetector.h"
+
+extern void HttpPost_Thread(void const *arg);
+extern Semaphore tranca;
+
+class HttpPost
+{  
+protected:
+
+public:
+
+    static void HttpPost_Thread(void const *arg);
+    static void DoPost(TCPSocketConnection sock, char *host, CaptureEvent* dados);
+    static void PreparePost(CaptureEvent* dados,char *strfinal);
+};
+
+#endif //#ifndef HTTP_POST_H
\ No newline at end of file