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
00001 #include "mbed.h" 00002 #include "rtos.h" 00003 #include "EventDetector.h" 00004 #include "Websocket.h" 00005 #include "EthernetInterface.h" 00006 #include "Settings.h" 00007 00008 extern void WebsocketCaptureMonitor_Thread(void const *arg); 00009 00010 class WebsocketCaptureMonitor 00011 { 00012 public: 00013 /** 00014 * Thread to start Websocket Capture Monitor 00015 * 00016 */ 00017 static void WebsocketCaptureMonitor_Thread(void const *arg); 00018 00019 /* 00020 * Prepare message get from mailbox 00021 * 00022 * 00023 */ 00024 static void PrepareMessage(CaptureEvent* dados,char *strfinal, bool isWS); 00025 00026 /* 00027 * Send data 00028 * 00029 * 00030 */ 00031 00032 static void DoPost(TCPSocketConnection sock, char *host, CaptureEvent* dados); 00033 00034 };
Generated on Fri Jul 22 2022 00:51:42 by
1.7.2
