Versão do protegemed que calcula o tempo em ms da fuga, calcula o numero de onverflow (valores muito baixo) e underflow (valores muito altos). Além disso, calcula um valor médio a partir dos valores capturados e não apenas pela fft.

Dependencies:   EthernetInterface mbed-rtos mbed

Committer:
rebonatto
Date:
Mon Jul 21 00:58:34 2014 +0000
Revision:
2:86c3cb25577b
Parent:
0:c64e1194230b
Problemas com objeto para aquisi??o da rfid (serial)

Who changed what in which revision?

UserRevisionLine numberNew contents of line
rebonatto 0:c64e1194230b 1 /*
rebonatto 0:c64e1194230b 2 * Http_post.h
rebonatto 0:c64e1194230b 3 *
rebonatto 0:c64e1194230b 4 * Created on:
rebonatto 0:c64e1194230b 5 * Author:
rebonatto 0:c64e1194230b 6 */
rebonatto 0:c64e1194230b 7 #ifndef HTTP_POST_H
rebonatto 0:c64e1194230b 8 #define HTTP_POST_H
rebonatto 0:c64e1194230b 9
rebonatto 0:c64e1194230b 10 #include <mbed.h>
rebonatto 0:c64e1194230b 11 #include <rtos.h>
rebonatto 0:c64e1194230b 12
rebonatto 0:c64e1194230b 13 #include "EthernetInterface.h"
rebonatto 0:c64e1194230b 14
rebonatto 0:c64e1194230b 15 #include "Settings.h"
rebonatto 0:c64e1194230b 16 #include "EventDetector.h"
rebonatto 0:c64e1194230b 17
rebonatto 0:c64e1194230b 18 extern void HttpPost_Thread(void const *arg);
rebonatto 0:c64e1194230b 19
rebonatto 0:c64e1194230b 20 class HttpPost
rebonatto 0:c64e1194230b 21 {
rebonatto 0:c64e1194230b 22 public:
rebonatto 0:c64e1194230b 23
rebonatto 0:c64e1194230b 24 static void HttpPost_Thread(void const *arg);
rebonatto 0:c64e1194230b 25 static void DoPost(TCPSocketConnection sock, char *host, CaptureEvent* dados);
rebonatto 0:c64e1194230b 26 static void PreparePost(CaptureEvent* dados,char *strfinal);
rebonatto 0:c64e1194230b 27 };
rebonatto 0:c64e1194230b 28
rebonatto 0:c64e1194230b 29 #endif //#ifndef HTTP_POST_H