Marcelo Rebonatto / Mbed 2 deprecated PMED_Tempo

Dependencies:   EthernetInterface mbed-rtos mbed

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers Http_post.h Source File

Http_post.h

00001 /*
00002  * Http_post.h
00003  *
00004  *  Created on: 
00005  *      Author: 
00006  */
00007 #ifndef HTTP_POST_H
00008 #define HTTP_POST_H
00009 
00010 #include <mbed.h>
00011 #include <rtos.h>
00012 
00013 #include "EthernetInterface.h"    
00014 
00015 #include "Settings.h"
00016 #include "EventDetector.h"
00017 
00018 extern void HttpPost_Thread(void const *arg);
00019 
00020 class HttpPost
00021 {
00022 public:
00023 
00024     static void HttpPost_Thread(void const *arg);
00025     static void DoPost(TCPSocketConnection sock, char *host, CaptureEvent* dados);
00026     static void PreparePost(CaptureEvent* dados,char *strfinal);
00027 };
00028 
00029 #endif //#ifndef HTTP_POST_H