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のデータをリアルタイムに表示するページが開きます。
Diff: main.cpp
- Revision:
- 24:83a1d2bc8709
- Parent:
- 23:6340bfc0bfe3
- Child:
- 25:56d0d879bee7
diff -r 6340bfc0bfe3 -r 83a1d2bc8709 main.cpp --- a/main.cpp Fri Sep 27 12:48:30 2013 +0000 +++ b/main.cpp Fri Sep 27 12:52:34 2013 +0000 @@ -1,12 +1,8 @@ /** * @file - * Simplest UPnP basic device.<br/> - * This program is upnp:BasicDeveice:1 template. + * Websocket server sample.<br/> + * This program is websocket server template. * - * <p> - * After starting program, check "network" by Exproler. - * MiMic basic device will be appeared. - * </p> */ #include "mbed.h" #include "rtos.h"