Difference between revisions of "TAT1XY Creating Tasks on Fota"

From Wiki Knowledge Base | Teltonika GPS
 
(4 intermediate revisions by the same user not shown)
Line 12: Line 12:
 
TAT1XY devices have <b>two firmware files that both need to uploaded</b> when updating the device:<br>
 
TAT1XY devices have <b>two firmware files that both need to uploaded</b> when updating the device:<br>
 
1. Modem firmware<br>
 
1. Modem firmware<br>
2. BlueNRG firmware<br>
+
2. BlueNRG firmware
Because of this, two separate tasks need to be created on Fota platform. One for modem, another one for BlueNRG firmware files.<br>
 
[[File:Fota update correct way 1.png|500px|none]]
 
 
<br>
 
<br>
Device will perform tasks<b> one by one</b>. Firstly, modem firmware will be updated. Secondly, BlueNRG will be updated. It does not matter in what order tasks were created on the platform. <br>
+
Because of this, two separate tasks need to be created on Fota platform. One for modem, another one for BlueNRG firmware files.
Device will always execute modem first, then BlueNRG. <br>
+
<br>
[[File:Fota update correct way 3.png|500px|none]]
+
[[File:Fota_update_correct_way_1.png|alt=|700x700px]]
 +
<br>
 +
<br>
 +
Device will perform tasks<b> one by one</b>. Firstly, modem firmware will be updated. Secondly, BlueNRG will be updated. It does not matter in what order tasks were created on the platform.  
 +
<br>
 +
Device will always execute modem first, then BlueNRG.  
 +
<br>
 +
[[File:Fota_update_correct_way_3.png|alt=|700x700px]]
 +
<br>
 +
<br>
 +
After modem update task is completed, device should automatically reconnect and execute the BlueNRG firmware update task. If device does not reconnect automatically, restart the device by cycling the power or sending “web_connect” command to the device.
 +
<br>
 +
[[File:Fota_update_correct_way_2.png|alt=|700x700px]]
 +
<br>
 +
<br>
 +
Both firmware files have been sent to the device. It is always a good practice to check that files were successfully installed on the device.
 +
<br>
 +
[[File:Fota_update_check.png|alt=|350x350px]]
 
<br>
 
<br>
After modem update task is completed, device should automatically reconnect and execute the BlueNRG firmware update task. If device does not reconnect automatically, restart the device by cycling the power or sending “web_connect” command to the device. <br>
 
[[File:Fota update correct way 2.png|500px|none]]
 
 
<br>
 
<br>
Both firmware files have been sent to the device. It is always a good practice to check that files were successfully installed on the device. <br>
 
[[File:Fota_update_check.png|alt=|247x247px]]
 
 
 
==Configuration update tasks on Fota platform==
 
==Configuration update tasks on Fota platform==
 
Configuration update task <b>should NOT be created when there are firmware update tasks still pending</b>.<br>
 
Configuration update task <b>should NOT be created when there are firmware update tasks still pending</b>.<br>
If there are firmware and configuration update tasks pending at the same time device will execute them in this order: modem firmware – configuration – BlueNRG firmware. <b>This can cause the device to start functioning in unexpected ways.</b><br>
+
If there are firmware and configuration update tasks pending at the same time device will execute them in this order: modem firmware – configuration – BlueNRG firmware. <b>This can cause the device to start functioning in unexpected ways.</b>
 +
<br>
 +
[[File:Fota_update_wrong.png|alt=|700x700px]]
 +
<br>
 +
<br>
 +
<b>Always allow the firmware update tasks to finish first</b>. Only then create task to update configuration.
 +
<br>
 +
[[File:Fota_update_correct_2.png|alt=|700x700px]]
 +
<br>
 +
<br>
 +
This will result in all tasks being executed in the correct order.
 +
<br>
 +
[[File:Fota_update_correct_way_5.png|alt=|700x700px]]
 +
<br>
 +
<br>
 +
 
 +
[[Category:TAT100 Manual]][[Category:TAT140 Manual]]

Latest revision as of 13:39, 29 November 2023

Main Page > Autonomous Trackers > TAT100 > TAT100 Manual > TAT1XY Creating Tasks on Fota

Connecting to Fota platform

TAT1XY devices connect to the platform only on two occasions:
1. Device is switched ON (power toggle switch from OFF position to ON position).
2. Device receives SMS/GPRS command “web_connect”. Please note, device is only able to receive commands when it is not in sleep mode. It is advised to schedule a GPRS command on the server so that it is sent automatically the next time device wakes up and connects to deliver a record.


Firmware update tasks on Fota platform

TAT1XY devices have two firmware files that both need to uploaded when updating the device:
1. Modem firmware
2. BlueNRG firmware
Because of this, two separate tasks need to be created on Fota platform. One for modem, another one for BlueNRG firmware files.


Device will perform tasks one by one. Firstly, modem firmware will be updated. Secondly, BlueNRG will be updated. It does not matter in what order tasks were created on the platform.
Device will always execute modem first, then BlueNRG.


After modem update task is completed, device should automatically reconnect and execute the BlueNRG firmware update task. If device does not reconnect automatically, restart the device by cycling the power or sending “web_connect” command to the device.


Both firmware files have been sent to the device. It is always a good practice to check that files were successfully installed on the device.


Configuration update tasks on Fota platform

Configuration update task should NOT be created when there are firmware update tasks still pending.
If there are firmware and configuration update tasks pending at the same time device will execute them in this order: modem firmware – configuration – BlueNRG firmware. This can cause the device to start functioning in unexpected ways.


Always allow the firmware update tasks to finish first. Only then create task to update configuration.


This will result in all tasks being executed in the correct order.