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

Files at this revision

API Documentation at this revision

Comitter:
kishino
Date:
Thu Mar 27 07:14:21 2014 +0000
Parent:
20:dd736d328de6
Child:
22:a9ec0cad4f84
Commit message:
The change in the internal class friend class

Changed in this revision

SNIC/SNIC_Core.h Show annotated file Show diff for this revision Revisions of this file
SNIC/SNIC_UartCommandManager.h Show annotated file Show diff for this revision Revisions of this file
SNIC/SNIC_UartMsgUtil.h Show annotated file Show diff for this revision Revisions of this file
--- a/SNIC/SNIC_Core.h	Thu Mar 27 06:52:04 2014 +0000
+++ b/SNIC/SNIC_Core.h	Thu Mar 27 07:14:21 2014 +0000
@@ -180,7 +180,12 @@
  */
 class C_SNIC_Core
 {
-public:
+friend class C_SNIC_UartCommandManager;
+friend class C_SNIC_WifiInterface;
+friend class TCPSocketConnection;
+friend class Socket;
+
+private:
 
     /** Get buffer for command from memory pool.
         @return Pointer of buffer
--- a/SNIC/SNIC_UartCommandManager.h	Thu Mar 27 06:52:04 2014 +0000
+++ b/SNIC/SNIC_UartCommandManager.h	Thu Mar 27 07:14:21 2014 +0000
@@ -54,7 +54,12 @@
  */
 class C_SNIC_UartCommandManager
 {
-public:
+friend class C_SNIC_Core;
+friend class C_SNIC_WifiInterface;
+friend class TCPSocketConnection;
+friend class Socket;
+
+private:
     /** Set Command ID
         @param cmd_id Command ID
     */
--- a/SNIC/SNIC_UartMsgUtil.h	Thu Mar 27 06:52:04 2014 +0000
+++ b/SNIC/SNIC_UartMsgUtil.h	Thu Mar 27 07:14:21 2014 +0000
@@ -135,7 +135,9 @@
  */
 class C_SNIC_UartMsgUtil
 {
-public:
+friend class C_SNIC_Core;
+    
+private:
     C_SNIC_UartMsgUtil();
     
     /** Make SNIC UART command payload.