Dependencies: NetServices mbed
Revision 5:1e77bdd1a639, committed 2010-12-15
- Comitter:
- segundo
- Date:
- Wed Dec 15 18:03:19 2010 +0000
- Parent:
- 4:26f346102b1a
- Commit message:
Changed in this revision
NetServices.lib | Show annotated file Show diff for this revision Revisions of this file |
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 26f346102b1a -r 1e77bdd1a639 NetServices.lib --- a/NetServices.lib Sun Nov 28 00:37:05 2010 +0000 +++ b/NetServices.lib Wed Dec 15 18:03:19 2010 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/segundo/code/NetServices/#d64fca63b94e +http://mbed.org/users/segundo/code/NetServices/#4e2468d7d5cb
diff -r 26f346102b1a -r 1e77bdd1a639 main.cpp --- a/main.cpp Sun Nov 28 00:37:05 2010 +0000 +++ b/main.cpp Wed Dec 15 18:03:19 2010 +0000 @@ -45,7 +45,7 @@ IpAddr ethIp = eth.getIp(); printf("IP address : %d.%d.%d.%d\n", ethIp[0], ethIp[1], ethIp[2], ethIp[3]); - printf("Check router DHCP table for name : %s\n", HOSTNAME); + printf("Check router DHCP table for name : %s\n", eth.getHostname()); printf("\nHTTPClient get...\n"); HTTPText txt;