This is Webservice SDK for mbed. LPCXpresso1769/LPC1768/FRDM-K64F/LPC4088
Fork of libMiMic by
Diff: mbed/Net.cpp
- Revision:
- 17:f29e1ca90e3d
- Parent:
- 3:0a94993be1f6
- Child:
- 37:fc4b4fd6a649
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed/Net.cpp Fri Apr 26 05:26:34 2013 +0000 @@ -0,0 +1,19 @@ +#pragma once +//////////////////////////////////////////////////////////////////////////////// +// Net.h +//////////////////////////////////////////////////////////////////////////////// +#include "Net.h" +#include "NetConfig.h" + +namespace MiMic +{ + Net::Net(NetConfig& i_cfg) + { + NyLPC_cNet_initialize(&(this->_inst)); + NyLPC_cNet_start(&(this->_inst),&(i_cfg._inst)); + } + Net::~Net() + { + NyLPC_cNet_finalize(&(this->_inst)); + } +} \ No newline at end of file