for EthernetInterface library compatibility.\\ ** Unoffical fix. may be a problem. **

Dependents:   SNIC-httpclient-example SNIC-ntpclient-example

Fork of SNICInterface by muRata

Revision:
31:15c22824cc46
Parent:
29:6a0ba999597d
Child:
33:33f1bc919486
--- a/SNIC/SNIC_UartMsgUtil.h	Tue May 27 01:33:04 2014 +0000
+++ b/SNIC/SNIC_UartMsgUtil.h	Thu May 29 03:23:21 2014 +0000
@@ -133,6 +133,7 @@
 class C_SNIC_UartMsgUtil: public C_MurataObject
 {
 friend class C_SNIC_Core;
+friend class C_SNIC_WifiInterface;
     
 private:
     C_SNIC_UartMsgUtil();
@@ -164,6 +165,19 @@
     */
     static unsigned int getResponsePayload( unsigned int recvdata_len, unsigned char *recvdata_p
                                     , unsigned char *command_id_p,  unsigned char *payload_p );
+
+    /** Convert a string to number of ip address.
+            @param recvdata_p     Pointer of string of IP address
+            @return Number of ip address    
+    */
+    static int addrToInteger( const char *addr_p );
+
+    /** Convert a integer to byte array of ip address.
+            @param recvdata_p     Pointer of string of IP address
+            @return Number of ip address    
+    */
+    static void convertIntToByteAdday( int addr, char *addr_array_p );
+
 protected:
 
 };