Fork of WebSocketClient by Samuel Mokrani

Revision:
8:c9da00db9d33
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/WebsocketCaptureMonitor.h	Fri Feb 24 20:06:49 2017 +0000
@@ -0,0 +1,34 @@
+#include "mbed.h"
+#include "rtos.h"
+#include "EventDetector.h"
+#include "Websocket.h"
+#include "EthernetInterface.h"
+#include "Settings.h"
+
+extern void WebsocketCaptureMonitor_Thread(void const *arg);
+
+class WebsocketCaptureMonitor
+{
+    public:
+        /**
+        * Thread to start Websocket Capture Monitor
+        *
+        */
+        static void WebsocketCaptureMonitor_Thread(void const *arg);
+        
+        /*
+        * Prepare message get from mailbox
+        *
+        * 
+        */
+        static void PrepareMessage(CaptureEvent* dados,char *strfinal, bool isWS);
+        
+        /*
+        * Send data
+        *
+        * 
+        */
+        
+        static void DoPost(TCPSocketConnection sock, char *host, CaptureEvent* dados);
+    
+};