MiMicSDK Websocket module sample program.
Dependencies: NyFileSystems libMiMic mbed-rtos mbed
Fork of UPnPBasicDevice by
This is Websocket server.
WebSocketのサンプルです。 MiMicSDKのWebsocketはhttpdの1モジュールとして動作するので、ファイルサーバ等と一緒に動かすことが出来ます。
ファームウェアを書き込んだ後にブラウザから "http://192.168.128.39/" にアクセスすると、AIN1のデータをリアルタイムに表示するページが開きます。
Revision 29:d0d2dc903965, committed 2015-09-15
- Comitter:
- nyatla
- Date:
- Tue Sep 15 12:30:20 2015 +0000
- Parent:
- 28:2b09542a6a5b
- Commit message:
- update libraries.
Changed in this revision
diff -r 2b09542a6a5b -r d0d2dc903965 NyFileSystems.lib --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/NyFileSystems.lib Tue Sep 15 12:30:20 2015 +0000 @@ -0,0 +1,1 @@ +https://developer.mbed.org/users/nyatla/code/NyFileSystems/#509d2ac0ba4f
diff -r 2b09542a6a5b -r d0d2dc903965 NySDFileSystem.lib --- a/NySDFileSystem.lib Sat Jun 14 02:30:05 2014 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -http://mbed.org/users/nyatla/code/NySDFileSystem/#22ce3449b224
diff -r 2b09542a6a5b -r d0d2dc903965 libMiMic.lib --- a/libMiMic.lib Sat Jun 14 02:30:05 2014 +0000 +++ b/libMiMic.lib Tue Sep 15 12:30:20 2015 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/nyatla/code/libMiMic/#fc7f46e67229 +http://mbed.org/users/nyatla/code/libMiMic/#e40058804062
diff -r 2b09542a6a5b -r d0d2dc903965 main.cpp --- a/main.cpp Sat Jun 14 02:30:05 2014 +0000 +++ b/main.cpp Tue Sep 15 12:30:20 2015 +0000 @@ -67,7 +67,8 @@ int main() { - net=new Net();//Net constructor must be created after started RTOS + MiMicNetIf netif; + net=new Net(netif);//Net constructor must be created after started RTOS // manual setting cfg.setIpAddr(192,168,128,39); cfg.setNetMask(255,255,255,0);
diff -r 2b09542a6a5b -r d0d2dc903965 mbed-rtos.lib --- a/mbed-rtos.lib Sat Jun 14 02:30:05 2014 +0000 +++ b/mbed-rtos.lib Tue Sep 15 12:30:20 2015 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/mbed_official/code/mbed-rtos/#e98f5e27f346 +http://mbed.org/users/mbed_official/code/mbed-rtos/#21b438192b0f
diff -r 2b09542a6a5b -r d0d2dc903965 mbed.bld --- a/mbed.bld Sat Jun 14 02:30:05 2014 +0000 +++ b/mbed.bld Tue Sep 15 12:30:20 2015 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/mbed_official/code/mbed/builds/024bf7f99721 \ No newline at end of file +http://mbed.org/users/mbed_official/code/mbed/builds/ba1f97679dad \ No newline at end of file