This is a Json-RPC/2.0 server with websocket and httpd. You can control mbed(s) by Javascript, processing, Java. LPCXpresso1769/LPC1768/FRDM-K64F/LPC4088

Dependencies:   NyFileSystems libMiMic mbed-rtos mbed

Fork of MiMicRemoteMCU-for-Mbed by Ryo Iizuka

English

MiMicProject http://nyatla.jp/mimic/wp/

This application allow to control the remote mbed through the network. It allows to control the mbed without a firmware update. It has some Interface. There are Javascript(WebBrowser), Procesing, Java. API waits for a function very similar to mbedSDK.

/media/uploads/nyatla/--_2.png

Feature

  • Low delay RPC by Websocket+JSON-RPC.
  • OnChip programing environment (Javascript).
  • Zero configuration support (UPnP/mDNS/AutoIP/DHCP)
  • mbedAPI like APIs.
  • Supports mbed LPC1768/LPCXpresso1769/LPC4088/FRDM-K64F

GettingStarted

mbed(LPC1768)

  • Compile and write mbedJS to your mbed.
  • Create mimic.cfg file to the mbed drive. This is network configuration.
  • Connect to Ethernet cable to the mbed.
  • Reset mbed.
  • Open http://[mbed IP address]/ by web browser.
  • Click JavascriptEditor.
  • Click StartButton. LED will be blinking.

LPCXpresso1769 and LPC4088 QuickStartBoard and FRDM-K64F

Those do not have LocalFileSystem. mbedJS initial IP address is "192.168.0.39". Open this address and click Setup page. You can change ipaddress at here.

Other APIs

Reference

日本語

MiMicProject http://nyatla.jp/mimic/wp/

mbedJSはmbedをWebネットワークにつなぐためのアプリケーションです。 Javascript(ウェブブラウザ)、Processing、Javaから、mbedを操作することができます。 これらはmbedSDKのクラスライブラリとよく似たAPIなので、mbedを知っている方なら簡単に使うことができます。

/media/uploads/nyatla/--_2.png

特徴

  • Websocket+JSONRPCによる低遅延なRPC
  • ワンチップでブラウザ向けの開発環境を提供
  • UPnP/Bonjurによるディスカバりに対応
  • mbedSDKのAPIと同じ構成のAPI
  • mbed LPC1768/LPCXpresso1769/LPC4088/FRDM-K64Fに対応

このアプリケーションはMiMicRemoteMCUとよく似ていますが、JavascriptAPIがより使いやすくなりました。

はじめかた

  • ファームウェアをmbedに書き込みます。
  • 設定ファイルにネットワークに合わせたIPアドレスを指定します。
  • mbedをリセットして、設定したIPアドレスをブラウザで開きます。
  • JavascriptEditorを開きます。
  • Startボタンを押してLEDがチカチカすれば成功です。

mbedJS APIs

ドキュメント

関連記事

Revisions of libMiMic.lib

Revision Date Message Actions
23:1861be744ad1 2013-07-04 IE10 suport; add FileIO service; File  Diff  Annotate
22:de3916da88f3 2013-06-20 update libMiMic File  Diff  Annotate
21:6555a25e67e7 2013-06-20 update libmMiMic; add mDNS,DHCP,AUTOIP ; some configuration File  Diff  Annotate
20:226fe3f6491f 2013-05-14 update libMiMic File  Diff  Annotate
17:0d2911b6f337 2013-05-05 add SDcard wait File  Diff  Annotate
16:06dee6eef0bc 2013-05-04 update libMiMic File  Diff  Annotate
15:35df376264a3 2013-05-04 update libMiMic File  Diff  Annotate
14:6e056a695be2 2013-04-29 update libMiMic File  Diff  Annotate
13:98ab6f09e6e9 2013-04-29 update libMiMic(mistake of previous commitment File  Diff  Annotate
12:5a7bab063626 2013-04-29 update libMiMic; version 1.4.4 File  Diff  Annotate
11:0a09fd3f639b 2013-04-29 bugfix libMiMic::Netconfig.cpp File  Diff  Annotate
10:c28cfdbefb9c 2013-04-28 update libMiMic File  Diff  Annotate
9:18e9bf764cc1 2013-04-28 MiMicRemoteMCU 1.4 beta3; Adjusted the robustness of the whole system.; File  Diff  Annotate
8:67cfd3a3b8b1 2013-04-28 MiMic/1.4beta2 File  Diff  Annotate
7:8cbfa0625c51 2013-04-27 Add LocalFileSystemLink(SD/LocalFile) File  Diff  Annotate
6:59a8fc87d29a 2013-04-24 Support SDFilesystem ModLocalFileSystem File  Diff  Annotate
5:227d20070da4 2013-04-24 backup; 1.local directory listing support; 2.SDFileSystem support; File  Diff  Annotate
4:00b4e7596014 2013-04-21 update libMiMic; add local file configuration support. File  Diff  Annotate
3:335512e81ba9 2013-04-16 update onchip content File  Diff  Annotate
2:7e09c2ffefa6 2013-04-06 update library File  Diff  Annotate
1:82b8312c78a1 2013-04-04 update File  Diff  Annotate
0:6f25100e125b 2013-04-04 backup; File  Diff  Annotate