![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Versão estável sem DMA e FFT. 128 amostras.
Dependencies: EthernetInterface NTPClient mbed-rtos mbed
Diff: Headers/Http_post.h
- Revision:
- 0:fac116e94d44
--- /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