-110-
v5.8
Over the air programming – OTA
23.4.2. OTA Shell
A powerful command line application called ‘OTA Shell’ has been developed in order to manage all the features of OTA.
The environment needed to execute OTA Shell comes already preinstalled in Meshlium (the Linux router developed by Libelium
which acts as the ZigBee Gateway of the sensor network). Although it can also be executed in a Linux, Windows and Mac OS
system.
All information about their programming and operation can be found in the Over the Air Programming Guide available at the
Development section of Libelium website.
In order to know more about OTA including how to download and use the OTA Shell application please go to the Development
section:
http://www.libelium.com/development/plug_&_sense
23.5. OTA with 3G/GPRS/WiFi modules via FTP
It is possible to update the Waspmote’s program using Over The Air Programming and the following modules: 3G, GPRS or WiFi
module.
23.5.1. Procedure
The Waspmote reprogramming is done using an FTP server and an FTP client which is Waspmote itself. The FTP server can be
configured by Meshlium. Otherwise, the user will have to setup an FTP server.
Figure : OTA via FTP protocol
There are two basic steps involved in OTA procedure:
•
Step 1:
Waspmote requests a special text file which gives information about the program to update: program name,
version, size, etc.
•
Step 2:
If the information given is correct, Waspmote queries the FTP server for a new program binary file and it updates its
flash memory in order to run the new program.