Example application to connect the DISCO_F746NG board to thethings.iO

Dependencies:   BSP_DISCO_F746NG F7_Ethernet LCD_DISCO_F746NG NetworkAPI TS_DISCO_F746NG ThethingsiO_DISCO_F746NG mbed-dev mbed-rtos

Fork of TCP_Client_Example by Roy van Dam

Revision:
2:e087e9b789e9
Parent:
1:e2652bd064c6
Child:
5:01f6c3e112af
--- 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);