W5200(WIZ820io) network interface

Committer:
va009039
Date:
Sat Apr 14 17:21:11 2012 +0000
Revision:
0:61831b843b44

        

Who changed what in which revision?

UserRevisionLine numberNew contents of line
va009039 0:61831b843b44 1 #include "mbed.h"
va009039 0:61831b843b44 2 #include "WIZ820ioNetIf.h"
va009039 0:61831b843b44 3 #include "TinyHTTP.h"
va009039 0:61831b843b44 4 #include <host.h>
va009039 0:61831b843b44 5
va009039 0:61831b843b44 6 int main() {
va009039 0:61831b843b44 7 WIZ820ioNetIf eth;
va009039 0:61831b843b44 8 eth.setup();
va009039 0:61831b843b44 9 Host host;
va009039 0:61831b843b44 10 host.setName("www.wiznet.co.kr");
va009039 0:61831b843b44 11 int status = httpRequest(METHOD_GET, &host, "/", NULL, NULL);
va009039 0:61831b843b44 12 printf("status: %d\n", status);
va009039 0:61831b843b44 13 }