Sierra Wireless - AirVantage

eclo Tutorial

NB: this tutorial is a work in progress. Some pieces are still TBC, and some of the external links are not definitive.

Assembling the Greenhouse

TODO

Arduino

This program comes from kartben/mihini-greenhouse-demo.

Raspberry Pi

$ grep deviceId /var/log/syslog

=> you should find something like 0000000072eb5051

Mihini’s application

This program cames from the Mihini samples from Eclipse’s git repository, in greenhouse-m3da/mihini-greenhouse-m3da-demo/src/

Using Lua Development Tools

$ tail -f /var/log/syslog

For more details, see the official LDT’s User guide

OR Using the telnet lua console

$ cd
$ sudo apt-get install git
$ git clone https://github.com/nim65s/tutorial-eclo.git
#!/bin/sh
lua main.lua
$ telnet localhost 2000
> appcon = require "agent.appcon"
> = appcon.install("eclo", "/home/pi/tutorial-eclo/tutorial-mihini", true)
$ tail -f /var/log/syslog

AirVantage

$ cd tutorial-airvantage
$ zip model.app.zip model.app
comments powered by Disqus