1 #include "NyLPC_cMiMicEnv.h"
\r
2 #include "../uip/NyLPC_cUipService_protected.h"
\r
4 const static char* VERSION="MiMic/1.5.7";
\r
6 #if NyLPC_MCU==NyLPC_MCU_LPC4088
\r
7 const static char* MCU="LPC4088";
\r
8 #elif NyLPC_MCU==NyLPC_MCU_LPC17xx
\r
9 const static char* MCU="LPC176x";
\r
12 const static char* UNKNOWN="UNKNOWN";
\r
15 static const char* PNAME_LPCXPRESSO="LPCXpresso";
\r
16 static const char* PNAME_MBED="mbed";
\r
20 const char* NyLPC_cMiMicEnv_getStrProperty(NyLPC_TUInt16 i_id)
\r
23 case NyLPC_cMiMicEnv_VERSION:
\r
25 case NyLPC_cMiMicEnv_SHORT_NAME:
\r
26 switch(*(NyLPC_cUipService_refDeviceName())){
\r
28 return PNAME_LPCXPRESSO;
\r
34 case NyLPC_cMiMicEnv_ETHERNET_PHY:
\r
35 return NyLPC_cUipService_refDeviceName();
\r
36 case NyLPC_cMiMicEnv_MCU_NAME:
\r