This is Webservice SDK for mbed. LPCXpresso1769/LPC1768/FRDM-K64F/LPC4088
Fork of libMiMic by
Diff: core/NyLPC_cMiMicEnv.c
- Revision:
- 109:18f12ac01097
- Parent:
- 108:8dae2a2682e7
- Child:
- 110:257739f9b31e
diff -r 8dae2a2682e7 -r 18f12ac01097 core/NyLPC_cMiMicEnv.c --- a/core/NyLPC_cMiMicEnv.c Thu Nov 13 14:06:19 2014 +0000 +++ b/core/NyLPC_cMiMicEnv.c Wed Nov 19 14:45:17 2014 +0000 @@ -1,7 +1,7 @@ #include "NyLPC_cMiMicEnv.h" -#include "../uip/NyLPC_cUipService_protected.h" +#include "NyLPC_netif.h" -const static char* VERSION="MiMic/1.6.6"; +const static char* VERSION="MiMic/1.7.0"; #if NyLPC_MCU==NyLPC_MCU_LPC4088 const static char* MCU="LPC4088"; @@ -31,7 +31,7 @@ #if NyLPC_MCU==NyLPC_MCU_K64F return PNAME_FRDM; #else - switch(*(NyLPC_cUipService_refDeviceName())){ + switch(*(NyLPC_cNetIf_getInterfaceInfo()->device_name)){ case 'L': return PNAME_LPCXPRESSO; case 'D': @@ -41,7 +41,7 @@ } #endif case NyLPC_cMiMicEnv_ETHERNET_PHY: - return NyLPC_cUipService_refDeviceName(); + return NyLPC_cNetIf_getInterfaceInfo()->device_name; case NyLPC_cMiMicEnv_MCU_NAME: return MCU; default: