-104-
v8.6
Over the air programming – OTA
25. Over the air programming – OTA
25.1. Overview
The concept of Wireless Programming or commonly know as Programming Over the Air (OTA) has been used
in the past years overall for the reprogramming of mobile devices such as cell phones. However, with the new
concepts of Wireless Sensor Networks and the Internet of Things where the networks consist of hundreds or
thousands of nodes OTA is taken to a new direction.
Libelium provides an OTA method based on FTP transmissions to be used with 4G and WiFi modules.
25.2. OTA with 4G/WiFi modules via FTP
It is possible to update the Waspmote’s program using Over The Air Programming and the following modules: 4G
or WiFi module.
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.
Figure: OTA steps via FTP protocol