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:
Thu Oct 03 04:53:11 2013 +0000
Parent:
60:803de2088243
Child:
63:157ee3202edb
Commit message:
marge Rev61

Changed in this revision

mbed/HttpClient.cpp Show annotated file Show diff for this revision Revisions of this file
mbed/HttpClient.h Show annotated file Show diff for this revision Revisions of this file
mbed/mimic.h Show annotated file Show diff for this revision Revisions of this file
--- a/mbed/HttpClient.cpp	Thu Oct 03 02:37:22 2013 +0000
+++ b/mbed/HttpClient.cpp	Thu Oct 03 04:53:11 2013 +0000
@@ -68,7 +68,7 @@
      * @return
      * true if successful,otherwise false
      */
-    bool HttpClient::read(void* &i_rx_buf,int i_rx_buf_len,short &i_read_len)
+    bool HttpClient::read(void* i_rx_buf,int i_rx_buf_len,short &i_read_len)
     {
         return NyLPC_cHttpClient_read(&this->_inst,i_rx_buf,i_rx_buf_len,&i_read_len)?true:false;        
     }
--- a/mbed/HttpClient.h	Thu Oct 03 02:37:22 2013 +0000
+++ b/mbed/HttpClient.h	Thu Oct 03 04:53:11 2013 +0000
@@ -70,7 +70,7 @@
          * @return
          * true if successful,otherwise false
          */
-        bool read(void* &i_rx_buf,int i_rx_buf_len,short &i_read_len);
+        bool read(void* i_rx_buf,int i_rx_buf_len,short &i_read_len);
         /**
          * Write request body to connected http stream.
          * This function must be call repeatedly until the end of the request content or an error.
--- a/mbed/mimic.h	Thu Oct 03 02:37:22 2013 +0000
+++ b/mbed/mimic.h	Thu Oct 03 04:53:11 2013 +0000
@@ -11,6 +11,7 @@
 #include "IpAddr.h"
 #include "TcpSocket.h"
 #include "UdpSocket.h"
+#include "HttpClient.h"
 
 #include "mod/ModUrl.h"
 #include "mod/ModRomFiles.h"