Changes

Created page with "__TOC__ ==Connecting to Fota platform== alt=|right|200x200px TAT1XY devices connect to the platform <b>only on two occasions</b>:<br> 1. Device i..."
__TOC__

==Connecting to Fota platform==
[[File:Turn on picture.png|alt=|right|200x200px]]
TAT1XY devices connect to the platform <b>only on two occasions</b>:<br>
1. Device is switched ON (power toggle switch from OFF position to ON position).<br>
2. Device receives SMS/GPRS command “web_connect”. <b>Please note</b>, 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.<br>
<br>


==Firmware update tasks on Fota platform==
TAT1XY devices have <b>two firmware files that both need to uploaded</b> when updating the device:<br>
1. Modem firmware<br>
2. BlueNRG firmware
<br>
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|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>
==Configuration update tasks on Fota platform==
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>
[[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:TAT240 Manual]]

Navigation menu