Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: MbedFileServer_1768MiniDK2 RedWireBridge IssueDebug_gcc MiMicRemoteMCU-for-Mbed ... more
Revision 70:2ed02b798004, committed 2014-05-29
- Comitter:
- nyatla
- Date:
- Thu May 29 16:07:14 2014 +0000
- Parent:
- 69:8c5f220441f5
- Child:
- 71:855020258513
- Commit message:
- cMiMicEnv?LPC4088???; uip???????????????
Changed in this revision
--- a/core/NyLPC_cMiMicEnv.c Thu May 29 14:29:15 2014 +0000
+++ b/core/NyLPC_cMiMicEnv.c Thu May 29 16:07:14 2014 +0000
@@ -2,11 +2,17 @@
#include "../uip/NyLPC_cUipService_protected.h"
const static char* VERSION="MiMic/1.5.0";
+
+#if NyLPC_MCU==NyLPC_MCU_LPC4088
+const static char* MCU="LPC4088";
+#elif NyLPC_MCU==NyLPC_MCU_LPC17xx
const static char* MCU="LPC176x";
+#endif
+
const static char* UNKNOWN="UNKNOWN";
-static const char* PNAME_LPCXPRESSO1769="LPCXpresso1769";
+static const char* PNAME_LPCXPRESSO="LPCXpresso";
static const char* PNAME_MBED="mbed";
@@ -19,7 +25,7 @@
case NyLPC_cMiMicEnv_SHORT_NAME:
switch(*(NyLPC_cUipService_refDeviceName())){
case 'L':
- return PNAME_LPCXPRESSO1769;
+ return PNAME_LPCXPRESSO;
case 'D':
return PNAME_MBED;
default:
--- a/core/uip/NyLPC_cUipService.h Thu May 29 14:29:15 2014 +0000 +++ b/core/uip/NyLPC_cUipService.h Thu May 29 16:07:14 2014 +0000 @@ -85,7 +85,7 @@ * mdns 256+96(MIN) * upnp 256+160(MIN) */ -#define NyLPC_TcUipService_config_STACK_SIZE (256+192+128) +#define NyLPC_TcUipService_config_STACK_SIZE (256+192) /** 登録できるリスナの最大数*/ #define NyLPC_TcUipService_config_MAX_LISTENER 4
--- a/mbed/NetConfig.cpp Thu May 29 14:29:15 2014 +0000 +++ b/mbed/NetConfig.cpp Thu May 29 16:07:14 2014 +0000 @@ -11,7 +11,7 @@ * Default UPnP Description */ const static char* UPNP_DEVICE_TYPE ="urn:schemas-upnp-org:device:Basic:1"; -const static char* UPNP_DEFAULT_FRENDLY_NAME="MiMic Device(LPC176x)"; +const static char* UPNP_DEFAULT_FRENDLY_NAME="MiMic Device"; const static char* UPNP_DEFAULT_MANUFACTUR_NAME="nyatla.jp"; const static char* UPNP_DEFAULT_MANUFACTUR_URL="http://nyatla.jp/"; const static char* UPNP_DEFAULT_MODEL_NAME="MiMic UPnP device.";
MiMic Webservice library