Update An Installed Application - mangOH Red Getting Started

Wpx5xx + linux dev machine + cli
Hide thumbs Also See for Red:
Table of Contents

Advertisement

Rev 2 8/23/17
Important:
Make sure you include the '.' (period) at the beginning of the command. This
command runs the script in the open terminal window; you will not have to run it in new
windows.
Now each time you open a new terminal window, you can:
1. Enter the alias (cfglegato) to configure the window:
$ cfglegato
Note: One of the things the command does is check to see which toolchains you have
on your development machine and warns you about any that are missing. Since you
have loaded only the wp85 toolchain, warnings appear about the others. You can ignore
these messages.
2. Confirm that the environment was set correctly:
$ echo $LEGATO_ROOT
If a directory path appears, the command worked. If no value was returned, there
was a problem with the command—make sure that you entered the alias cor-
rectly, using the actual directory name that you used to install Legato.
Note: You can also use the command "~/legato_framework/legato/bin/legs" to configure the
terminal, but this starts a new shell session—your command history and any environment
variables you have set will be lost.
A.1.2 Update an Installed Application
As you saw when you set up your AirVantage account, one of the mangOH platform
applications loaded on your device in
Red Platform on Target on page 23
sensor readings to the cloud (e.g. AirVantage) every two minutes.
In this section you will increase the reporting frequency of the redSensorToCloud
application and install the new version on the mangOH Red.
To update redSensorToCloud:
1. On the dev machine, open a new terminal window.
43
Power is OFF
Build and Install Legato Platform and mangOH
was redSensorToCloud. This application reports
41110481

Advertisement

Table of Contents
loading

Table of Contents