This is Webservice SDK for mbed. LPCXpresso1769/LPC1768/FRDM-K64F/LPC4088

Fork of libMiMic by Ryo Iizuka

Files at this revision

API Documentation at this revision

Comitter:
nyatla
Date:
Wed Oct 23 04:49:08 2013 +0000
Parent:
63:157ee3202edb
Child:
65:38049208ea29
Child:
66:ee7866efe5e6
Child:
68:f7def7eb5504
Commit message:
fix issue; http://mbed.org/users/nyatla/code/libMiMic/issues/1

Changed in this revision

mbed/UdpSocket.cpp Show annotated file Show diff for this revision Revisions of this file
mbed/UdpSocket.h Show annotated file Show diff for this revision Revisions of this file
--- a/mbed/UdpSocket.cpp	Fri Oct 18 12:40:09 2013 +0000
+++ b/mbed/UdpSocket.cpp	Wed Oct 23 04:49:08 2013 +0000
@@ -39,7 +39,7 @@
         return NyLPC_cUdpSocket_precv(&this->_inst,&rx,&info,TIMEOUT_IN_MSEC)>0;
     }
 
-    int UdpSocket::precvfrom(const void* &i_rx,IpAddr* i_peer_host,unsigned short* i_port)
+    int UdpSocket::precvFrom(const void* &i_rx,IpAddr* i_peer_host,unsigned short* i_port)
     {
         const struct NyLPC_TIPv4RxInfo* info;
         int rs=NyLPC_cUdpSocket_precv(&this->_inst,&i_rx,&info,TIMEOUT_IN_MSEC);
@@ -53,7 +53,7 @@
         }
         return rs;
     }
-    int UdpSocket::precvfrom(const char* &i_rx,IpAddr* i_peer_host,unsigned short* i_port)
+    int UdpSocket::precvFrom(const char* &i_rx,IpAddr* i_peer_host,unsigned short* i_port)
     {
         const struct NyLPC_TIPv4RxInfo* info;
         int rs=NyLPC_cUdpSocket_precv(&this->_inst,(const void**)&i_rx,&info,TIMEOUT_IN_MSEC);
@@ -68,7 +68,7 @@
         return rs;
     }
 
-    void UdpSocket::precvnext(void)
+    void UdpSocket::precvNext(void)
     {
         NyLPC_cUdpSocket_pseek(&this->_inst);
     }
--- a/mbed/UdpSocket.h	Fri Oct 18 12:40:09 2013 +0000
+++ b/mbed/UdpSocket.h	Wed Oct 23 04:49:08 2013 +0000
@@ -51,12 +51,12 @@
          * @param i_host_addr
          * must be IPv4 address format.
          */
-        int precvfrom(const void* &i_rx,IpAddr* i_peer_host=NULL,unsigned short* i_port=NULL);
-        int precvfrom(const char* &i_rx,IpAddr* i_peer_host=NULL,unsigned short* i_port=NULL);
+        int precvFrom(const void* &i_rx,IpAddr* i_peer_host=NULL,unsigned short* i_port=NULL);
+        int precvFrom(const char* &i_rx,IpAddr* i_peer_host=NULL,unsigned short* i_port=NULL);
         /**
          * This function moves rx buffer to next packet.
          */
-        void precvnext(void);
+        void precvNext(void);
         /**
          * true if precv has data.
          * This can avoid the block of precv.