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:
11:f4d618b8141f
Parent:
9:4536224842d4
Child:
13:385d1df93acc
--- a/main.cpp	Wed Jul 18 18:44:02 2012 +0000
+++ b/main.cpp	Thu Sep 27 09:32:23 2012 +0000
@@ -37,7 +37,7 @@
     do
     {
         result = socket.read(buffer);   
-        printf("Received %d bytes:\n\r%s\n\r", result, (char *)buffer.pointer());
+        printf("Received %d bytes:\n\r%s\n\r", result, (char *)buffer.data());
     } while(result > 0);
     
     socket.close();