Sorry, you need to enable JavaScript to visit this website.

Firmware

Used to retrieve camera firmware version.

Table of contents

GET /api/<versionNumber>/firmware

Format:

http://<baseURL>/api/<versionNumber>/firmware

Example:

http://192.168.1.101/api/2/firmware

Parameters:

Parameter Description Req'd? Type / Values
baseURL Fixed address, Bandit acts like an access point with this addres. TomTom Bandit's WiFi has to be turned on. Yes 192.168.1.101
versionNumber Service version number. The current value is 2. Yes 2

Description:

Returns camera's installed firmware version as well as version of the firmware upgrade file possibly existing on the camera's SD card as JSON object containing following attributes:

Parameter Description Type
major Major part of the currently installed firmware version on the camera. integer
minor Minor part of the currently installed firmware version on the camera. integer
revision Revision part of the currently installed firmware version on the camera. integer
build Build number part of the currently installed firmware version on the camera. integer
pending_major Major part of the upgrade firmware version which is potentially already stored on SD card. If there is no upgrade file, this attribute's value will be set to zero. integer
pending_minor Minor part of the upgrade firmware version which is potentially already stored on SD card. If there is no upgrade file, this attribute's value will be set to zero. integer
pending_revision Revision part of the upgrade firmware version which is potentially already stored on SD card. If there is no upgrade file, this attribute's value will be set to zero. integer
pending_build Build part of the upgrade firmware version which is potentially already stored on SD card. If there is no upgrade file, this attribute's value will be set to zero. integer

Response codes:

Code Description
200 OK
400 Bad Request (wrong or unrecognised parameters)
500 Server Error (request can't be processed)

Example request:

GET http://192.168.1.101/api/2/firmware

and response:

{
    "major":1,
    "minor":0,
    "revision":2,
    "build":868,
    "pending_major":1,
    "pending_minor":1,
    "pending_revision":4,
    "pending_build":123
}

You are here