lpc1768-picotcp-eth to revision 8, PicoTCP to revision 41 (mbed-rtos to revision 12, mbed to revision 63)
Dependencies: PicoTCP lpc1768-picotcp-eth mbed-rtos mbed
Fork of TCPSocket_HelloWorldTest by
Revision 2:e087e9b789e9, committed 2012-07-02
- Comitter:
- emilmont
- Date:
- Mon Jul 02 10:54:00 2012 +0000
- Parent:
- 1:e2652bd064c6
- Child:
- 3:46a2ada58e97
- Commit message:
- Remove debug directives avoiding to change the default settings of the serial port. Add print of the IP address assigned by DHCP.
Changed in this revision
EthernetInterface.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 |
--- a/EthernetInterface.lib Tue Jun 26 15:34:26 2012 +0000 +++ b/EthernetInterface.lib Mon Jul 02 10:54:00 2012 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/mbed_official/code/EthernetInterface/#c50597f8d7a2 +http://mbed.org/users/mbed_official/code/EthernetInterface/#73a6916d991e
--- a/main.cpp Tue Jun 26 15:34:26 2012 +0000 +++ b/main.cpp Mon Jul 02 10:54:00 2012 +0000 @@ -5,8 +5,8 @@ { EthernetInterface eth; eth.init(); //Use DHCP - eth.connect(); + printf("IP Address is %s\n", eth.getIPAddress()); TCPSocket sock; sock.connect("mbed.org", 80);