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

Headers/Http_post.h

Committer:
rebonatto
Date:
2014-07-21
Revision:
2:86c3cb25577b
Parent:
0:c64e1194230b

File content as of revision 2:86c3cb25577b:

/*
 * 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);

class HttpPost
{
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