PingPong

Dependencies:   EthernetInterface_pm mbed-rtos mbed

Committer:
rebonatto
Date:
Thu Mar 27 17:42:00 2014 +0000
Revision:
1:b343d9cd769a
Parent:
0:c8f056a185d0
PingPong para Testar Jose

Who changed what in which revision?

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