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 main.cpp

Revision Date Message Actions
59:a78c858a3bea 2015-03-15 update libMiMic; ; The libMiMic network interface has been changed.; main.c was changed. File  Diff  Annotate
49:d860d810d7d7 2014-10-27 Fix hidden stack overflow File  Diff  Annotate
47:c4d51c28fb41 2014-10-26 FriendlyName???????? File  Diff  Annotate
43:c44f0d376c4f 2014-10-02 FRDM-K64F?? File  Diff  Annotate
37:ba7de395f009 2014-07-04 Serial,I2C/Slave,Memory?RPC????????? File  Diff  Annotate
33:8e869201db67 2014-06-24 mbedJS ??????; LPC4088/LPC1768 File  Diff  Annotate
28:3d7bac2a6278 2013-08-09 update libMiMic; support UPnP function. File  Diff  Annotate
27:a3b49b4a814d 2013-07-18 bugfix main.cpp File  Diff  Annotate
25:cac6a29eda5d 2013-07-10 bugfix:; RemoteMCU javaecript editor.; compress codemirror modes File  Diff  Annotate
23:1861be744ad1 2013-07-04 IE10 suport; add FileIO service; File  Diff  Annotate
21:6555a25e67e7 2013-06-20 update libmMiMic; add mDNS,DHCP,AUTOIP ; some configuration File  Diff  Annotate
18:0b1759b8d55f 2013-05-06 update index.html,MiMicIL asm; bugfix default http status code to 302; 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
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
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
1:82b8312c78a1 2013-04-04 update File  Diff  Annotate