SNIC UART Interface library: Serial to Wi-Fi library for Murata TypeYD Wi-Fi module. For more information about TypeYD: http://www.murata.co.jp/products/microwave/module/lbwb1zzydz/index.html

Dependents:   SNIC-xively-jumpstart-demo SNIC-FluentLogger-example TCPEchoServer murataDemo ... more

Fork of YDwifiInterface by Takao Kishino

Revision:
40:b6b10c22a121
Parent:
39:a1233ca02edf
Child:
41:1c1b5ad4d491
--- a/SNIC/SNIC_Core.cpp	Tue Jul 15 02:08:42 2014 +0000
+++ b/SNIC/SNIC_Core.cpp	Tue Jul 15 09:56:37 2014 +0000
@@ -109,7 +109,7 @@
     mUartRecvDispatchThread_p = new Thread( C_SNIC_Core::uartRecvDispatchThread, NULL, osPriorityNormal, UART_THREAD_STACK_SIZE);
     if( mUartRecvDispatchThread_p == NULL )
     {
-        printf("[C_SNIC_Core::initUart] thread create failed\r\n");
+        DEBUG_PRINT("[C_SNIC_Core::initUart] thread create failed\r\n");
         return -1;
     }
 
@@ -290,9 +290,9 @@
                     int i;
                     for(i=0;i<uartRecvBuf_p->size;i++)
                     {
-                        printf("%02x", uartRecvBuf_p->buf[i]);
+                        DEBUG_PRINT("%02x", uartRecvBuf_p->buf[i]);
                     }
-                    printf("\r\n");
+                    DEBUG_PRINT("\r\n");
                 }
 #endif
                 unsigned char command_id;
@@ -340,7 +340,7 @@
                 }
                 else
                 {
-                    printf(" The received data is not expected.\r\n");
+                    DEBUG_PRINT(" The received data is not expected.\r\n");
                 }
                 
                 //