TAT1XY Creating Tasks on Fota: Difference between revisions
TAT1XY Creating Tasks on Fota (view source)
Revision as of 11:52, 29 November 2023
, 29 November 2023no edit summary
No edit summary |
No edit summary |
||
Line 4: | Line 4: | ||
[[File:Turn on picture.png|alt=|right|200x200px]] | [[File:Turn on picture.png|alt=|right|200x200px]] | ||
TAT1XY devices connect to the platform <b>only on two occasions</b>:<br> | 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> | 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> | 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> | <br> | ||
==Firmware update tasks on Fota platform== | ==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|500px|none]] | |||
<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|500px|none]] | |||
<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]] | |||
==Configuration update tasks on Fota platform== | ==Configuration update tasks on Fota platform== |