Jump to: navigation, search

Difference between revisions of "Mihini/mihinifeatures"

(Created page with "== Installation:- == 1. Steps to download and Install Download the mihini from http://git.eclipse.org/c/mihini/org.eclipse.mihini.git/commit/ $ sudo apt-get install build-es...")
 
(Installation:-)
Line 1: Line 1:
 
== Installation:-  ==
 
== Installation:-  ==
1. Steps to download and Install
+
'''Steps to download and Install'''
  
 
Download the mihini from http://git.eclipse.org/c/mihini/org.eclipse.mihini.git/commit/
 
Download the mihini from http://git.eclipse.org/c/mihini/org.eclipse.mihini.git/commit/
 +
 
$ sudo apt-get install build-essential cmake git telnet
 
$ sudo apt-get install build-essential cmake git telnet
 
$./{mihini-folder}/bin/build.sh
 
$./{mihini-folder}/bin/build.sh
  
2.Compile a Lua interpreter
+
'''Compile a Lua interpreter'''
  
 
$ cd build.default/
 
$ cd build.default/
 
$ make lua
 
$ make lua
  
3.Optional, if you want to use Modbus over serial
+
'''Optional, if you want to use Modbus over serial'''
 
$ make modbus_serial
 
$ make modbus_serial
  
4.Optional, if you want to use the GPIOs
+
'''Optional, if you want to use the GPIOs'''
 
$ make gpio
 
$ make gpio
 
   
 
   
5.Move the result of the build in your HOME  
+
'''Move the result of the build in your HOME'''
 
$ mv runtime ~/mihini
 
$ mv runtime ~/mihini
  
6.Running Mihini agent  
+
'''Running Mihini agent'''
 
$ cd mihini/runtime
 
$ cd mihini/runtime
 
$ ./start.sh
 
$ ./start.sh
  
7. Mihini shell  
+
'''Mihini shell'''
 
$ telnet localhost 2000
 
$ telnet localhost 2000
  
 
NOTE:- If some of the builds are not done by default
 
NOTE:- If some of the builds are not done by default
  
8.Go to the build folder --
+
'''Go to the build folder'''
  
 
cd build.default
 
cd build.default
 +
Make
  
9.Make:  This one rebuilds all default targets if their dependencies have change. Also it rebuilds cmake rules if those have changed.
+
  This one rebuilds all default targets if their dependencies have change. Also it rebuilds cmake rules if those have changed.

Revision as of 08:02, 10 March 2015

Installation:-

Steps to download and Install

Download the mihini from http://git.eclipse.org/c/mihini/org.eclipse.mihini.git/commit/

$ sudo apt-get install build-essential cmake git telnet $./{mihini-folder}/bin/build.sh

Compile a Lua interpreter

$ cd build.default/ $ make lua

Optional, if you want to use Modbus over serial $ make modbus_serial

Optional, if you want to use the GPIOs $ make gpio

Move the result of the build in your HOME $ mv runtime ~/mihini

Running Mihini agent $ cd mihini/runtime $ ./start.sh

Mihini shell $ telnet localhost 2000

NOTE:- If some of the builds are not done by default

Go to the build folder

cd build.default Make

 This one rebuilds all default targets if their dependencies have change. Also it rebuilds cmake rules if those have changed.