protegemed, aquisição via A/D simples utilizando interrupção do timer

Dependencies:   EthernetInterface NTPClient mbed-rtos mbed

Fork of ptgm_semDMA by Marcelo Rebonatto

Headers/Http_post.h

Committer:
viniciushl
Date:
2016-01-13
Revision:
1:8129536051df
Parent:
0:fac116e94d44

File content as of revision 1:8129536051df:

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