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
61:42d95ef05018 2015-09-15 update libMiMic File  Diff  Annotate
60:62155ed4348d 2015-06-10 update libmimic File  Diff  Annotate
59:a78c858a3bea 2015-03-15 update libMiMic; ; The libMiMic network interface has been changed.; main.c was changed. File  Diff  Annotate
58:0dd7e0fb07db 2014-11-13 update libMiMic File  Diff  Annotate
57:6922beb9c30b 2014-11-12 update libMiMic File  Diff  Annotate
56:b3f6fabd5ea2 2014-11-11 update libMiMic File  Diff  Annotate
54:10205168708e 2014-11-10 update libMiMic version File  Diff  Annotate
53:63fa4bd706b6 2014-11-10 update libMiMic File  Diff  Annotate
52:7bb6d2f1cbbd 2014-11-10 update libmimic File  Diff  Annotate
51:4c4982bb6dfa 2014-10-30 update; LibMiMic File  Diff  Annotate
50:af8232c6c4e6 2014-10-28 update libMiMIc File  Diff  Annotate
48:e75b44c68b61 2014-10-27 update libMiMic File  Diff  Annotate
47:c4d51c28fb41 2014-10-26 FriendlyName???????? File  Diff  Annotate
46:e1dc84faee2b 2014-10-19 index.html???; libMiMic??? File  Diff  Annotate
45:fbc8cc4604ec 2014-10-09 update libMiMic File  Diff  Annotate
44:dfb6ec288bae 2014-10-06 update mbedjs.min.js File  Diff  Annotate
43:c44f0d376c4f 2014-10-02 FRDM-K64F?? File  Diff  Annotate
42:cb988aabc8b6 2014-09-06 update libMiMic File  Diff  Annotate
41:acab31de3d22 2014-08-19 libMiMic???????; (serial?puts/gets???); mbed/mbed-rtos??? File  Diff  Annotate
40:d9223b5334cb 2014-07-23 libMiMic??; ArchPro??????? File  Diff  Annotate
39:a4844026e35b 2014-07-20 libMiMic??/javascriptAPI?????? File  Diff  Annotate
38:3bf2ddb88407 2014-07-11 1.JavascriptAPI?????; ??????JsAPI?2.0.3??????; 2.SD????????????; FatFS?Tiny?????????HTTP?????????????1024+512???????????7-8KB File  Diff  Annotate
37:ba7de395f009 2014-07-04 Serial,I2C/Slave,Memory?RPC????????? File  Diff  Annotate
36:4c25fc190082 2014-06-29 update libMiMic; File  Diff  Annotate
34:aa0217bcef47 2014-06-25 update libMiMic File  Diff  Annotate
33:8e869201db67 2014-06-24 mbedJS ??????; LPC4088/LPC1768 File  Diff  Annotate
32:4908a17d9587 2014-05-30 update libMiMic; LPC4088 patch File  Diff  Annotate
31:48ba03202d4c 2013-10-23 update libMiMic File  Diff  Annotate
30:831cda1f84e9 2013-10-23 update libMiMic; 1.fix Ethernet driber problem.; 2.fix Http stream problem. File  Diff  Annotate
29:87b4f0c5b5c8 2013-08-10 update libMiMic; fix DHCP problem File  Diff  Annotate
28:3d7bac2a6278 2013-08-09 update libMiMic; support UPnP function. File  Diff  Annotate
26:c28cf177af0f 2013-07-11 update libMiMic File  Diff  Annotate
25:cac6a29eda5d 2013-07-10 bugfix:; RemoteMCU javaecript editor.; compress codemirror modes File  Diff  Annotate
24:c05b1e6ae494 2013-07-09 update libMiMic; File  Diff  Annotate
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