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.
Fork of WebSocketClient by
WebsocketCaptureMonitor.h
- Committer:
- mauricioaschmitz
- Date:
- 2017-02-24
- Revision:
- 8:c9da00db9d33
File content as of revision 8:c9da00db9d33:
#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); };