This directory contains a bash script to perform an over-the-air (OTA) firmware (FW) update to the camera.
Alternatively to satisfying these prerequisites, the script can be run with the Docker option (see usage)
openssl must be
installed and available on the system path.curl must be installed and
available on the system path.The OTA procedure requires the following steps:
Call the send_ota.sh script here with the -h option for a detailed usage:
Usage: ./send_ota.sh [-d] OTA_UPDATE_FILE
Given a target FW .zip file, calculate its SHA1 hash, then send it over-the-air to an already connected camera.
Required positional arguments:
OTA_UPDATE_FILE target .zip file to send over-the-air. If using docker, must be passed as relative path
from the directory of this script
Optional arguments:
-d Use docker for openssl and curl commands.
-h Print this Help.
There is a test script that will use a Python script (contained in a Docker container) to:
The test script is located ./test/test.sh and should be passed the camera that is connected, i.e.:
./test.sh "HERO_11"
Note! The test script needs to be run from the
testfolder
You can also run with the --help parameter to get a list of cameras.