This is Webservice SDK for mbed. LPCXpresso1769/LPC1768/FRDM-K64F/LPC4088
Fork of libMiMic by
Revision 67:0a24ad966876, committed 2013-11-12
- Comitter:
- nyatla
- Date:
- Tue Nov 12 03:52:32 2013 +0000
- Parent:
- 65:38049208ea29
- Parent:
- 66:ee7866efe5e6
- Commit message:
- marge 66+65
Changed in this revision
mbed/Net.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/mbed/Net.cpp Sun Nov 03 11:18:49 2013 +0000 +++ b/mbed/Net.cpp Tue Nov 12 03:52:32 2013 +0000 @@ -1,4 +1,3 @@ -#pragma once //////////////////////////////////////////////////////////////////////////////// // Net.h //////////////////////////////////////////////////////////////////////////////// @@ -24,7 +23,7 @@ { NyLPC_TcNetConfig_t* base_cfg=i_cfg.refBaseInstance(); //DHCP & autoIP request - if(base_cfg->tcp_mode & NyLPC_TcNetConfig_IPV4_FLAG_MODE_MASK!=0){ + if((base_cfg->tcp_mode & NyLPC_TcNetConfig_IPV4_FLAG_MODE_MASK)!=0){ for(;;){ //DHCP if((base_cfg->tcp_mode & NyLPC_TcNetConfig_IPV4_FLAG_MODE_DHCP)!=0){ @@ -74,4 +73,4 @@ } } -} \ No newline at end of file +}
--- a/mbed/TcpSocket.cpp Sun Nov 03 11:18:49 2013 +0000 +++ b/mbed/TcpSocket.cpp Tue Nov 12 03:52:32 2013 +0000 @@ -1,4 +1,3 @@ -#pragma once //////////////////////////////////////////////////////////////////////////////// // TcpSocket.h ////////////////////////////////////////////////////////////////////////////////
--- a/mbed/UrlReader.cpp Sun Nov 03 11:18:49 2013 +0000 +++ b/mbed/UrlReader.cpp Tue Nov 12 03:52:32 2013 +0000 @@ -19,7 +19,7 @@ if(!NyLPC_cUrlReader_getPath(this->_ref_str,&p,(NyLPC_TInt32*)&l)){ return false; } - return ((l==strlen(path)) && (strncmp(p,path,l)==0)); + return ((l==(int)strlen(path)) && (strncmp(p,path,l)==0)); } /** * @param i_ref_str
--- a/mbed/mod/ModBaseClass.cpp Sun Nov 03 11:18:49 2013 +0000 +++ b/mbed/mod/ModBaseClass.cpp Tue Nov 12 03:52:32 2013 +0000 @@ -1,5 +1,3 @@ -#pragma once - #include "ModBaseClass.h" #include "HttpdConnection.h" #include "NyLPC_cHttpdConnection_protected.h"