Creator Ci40 runs OpenWRT. To implement an Awa client it is necessary to install
On Ci40 command line:
# opkg install awalwm2m
You can verify if the package is successfuly installed by:
# awa_clientd -h
To implement an Awa Client on a Linux environment, for example Ubuntu or Debian,
use the console to install the dependecies and build the software.
$ sudo apt-get update $ sudo apt-get install build-essential gcc git mercurial python cmake python-nose python-lxml $ git clone https://github.com/FlowM2M/AwaLWM2M.git $ cd AwaLWM2M
To use CoAp with DTLS support, we need to install gnuTLS
and enable it, when bulding
the client software.
The gnutls library can vary for diferent Linux distributions and should be greater than 3.0.0.
$ sudo apt-get install libgnutls28-dev
Finally build the software:
$ make CMAKE_OPTIONS="-DWITH_GNUTLS=ON -DBUILD_TESTS=OFF" $ sudo make install
You can verify if the installation was successful and see an usage example by:
$ awa_clientd -h
Creator Ci20 runs Linux Debian 8 (Jessie). To install an Awa client, follow the steps described before - Linux Installation.