QuickFix
Used to upload new QuickGPS and GLONASS fix files to the camera.
Table of contents
POST /api/<versionNumber>/quickgpsfix
Format:
http://<baseURL>/api/<versionNumber>/quickgps
Example:
http://192.169.1.101/api/2/quickgps
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 |
Post data should contain content of the QuickGPSfix file that should be transferred.
Description:
Uploads QuickGPSfix file to camera's SD card. After upload, this file is processes by the camera (by applying it to the GPS chip) and then removed from the SD card.
Content type should be multipart/form-data.
Response codes:
Code | Description |
200 | OK |
400 | Bad Request (wrong or unrecognised parameters) |
500 | Server Error (request can't be processed) |
Response:
None.
Example request:
POST http://<span class="nolink"><span class="nolink"><span class="nolink"><span class="nolink"><span class="nolink">192.168.1.101</span></span></span></span></span>/2/api/files/quickgps
Content type: multipart/form-data
Post data: quickgps=...
POST /api/<versionNumber>/glonass
Format:
http://<baseURL>/api/<versionNumber>/glonass
Example:
http://192.168.1.101/api/2/glonass
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 |
Post data should contain content of the file containing GLONASS quick fix data that should be transferred.
Description:
Uploads GLONASS quick fix file to camera's SD card. After upload, this file is processes by the camera and then removed from the SD card.
Content type should be multipart/form-data.
Response codes:
Code | Description |
200 | OK |
400 | Bad Request (wrong or unrecognised parameters) |
500 | Server Error (request can't be processed) |
Response:
None.
Example request:
POST http://<span class="nolink"><span class="nolink"><span class="nolink"><span class="nolink"><span class="nolink">192.168.1.101</span></span></span></span></span>/2/api/files/glonass
Content type: multipart/form-data
Post data: glonass=...