UIPEthernet library for Arduino IDE, Eclipse with arduino plugin and MBED/SMeshStudio (AVR,STM32F,ESP8266,Intel ARC32,Nordic nRF51,Teensy boards,Realtek Ameba(RTL8195A,RTL8710)), ENC28j60 network chip. Compatible with Wiznet W5100 Ethernet library API. Compiled and tested on Nucleo-F302R8. Master repository is: https://github.com/UIPEthernet/UIPEthernet/

Revision:
9:312e0937630f
Parent:
0:e3fb1267e3c3
Child:
39:deeb00b81cc9
--- a/UIPUdp.cpp	Wed Dec 28 15:56:02 2016 +0000
+++ b/UIPUdp.cpp	Thu Dec 29 10:41:59 2016 +0000
@@ -121,7 +121,12 @@
         }
 #if ACTLOGLEVEL>=LOG_DEBUG
           LogObject.uart_send_str(F("rip: "));
-          LogObject.uart_send_dec(ip);
+          #if defined(ARDUINO)
+            LogObject.print(ip);
+          #endif
+          #if defined(__MBED__)
+            LogObject.printf("%d.%d.%d.%d",ip[0],ip[1],ip[2],ip[3]);
+          #endif
           LogObject.uart_send_str(F(", port: "));
           LogObject.uart_send_decln(port);
 #endif