Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: SNIC-xively-jumpstart-demo SNIC-FluentLogger-example TCPEchoServer murataDemo ... more
Fork of YDwifiInterface by
Diff: SNIC/SNIC_UartMsgUtil.h
- Revision:
- 31:15c22824cc46
- Parent:
- 29:6a0ba999597d
- Child:
- 33:33f1bc919486
diff -r 944b8c04b5ff -r 15c22824cc46 SNIC/SNIC_UartMsgUtil.h
--- 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:
};

Murata TypeYD