My issue is that I have a modified version of the Asset Data Application where I have basically just added a few more variables / commands and exposed the UART to this app so that I can communicate to another micro-controller off the MangOH Red board.
During testing of my application, I set it to autostart, so that it would run on power on. The WP7702 was collecting data from UART, and sending updates to AirVantage every 10 minutes.
The MangOH was left powered on and running for about a week. All was good and I was reliably getting data to the dashboard until the end of the week - I stopped getting updates to the dashboard. No new data sessions occurred from this point on.
Upon plugging into the CF3 USB and checking “app status” command, the Asset Data app that I had installed was gone. Not sure if something like a watchdog reset the legato OS, or if the legato OS purged the app because something went wrong.
Can someone point me to something I can look at such as a log, or a better understanding on how I can implement some sort of fail-safe to guard against the app disappearing?
I would like to further understand what actions can be taken to ensure this sort of issue can be mitigated and how it happened at all.
Thank you for the reply, I did see this page when researching the issue.
I saw the section below:
“Once the probation timer expires, (the default being 30 minutes,) the new system is marked good.”
The way I interpreted this was that after 30 minutes of having the new app installed, the system automatically is marked as good. Given the system was operating for over a week, I thought that the probationary timer had been reached.
I will explicitly use this command if that’s what we need to do. Do you know if there is a command to tell me the state of the system good flag? In other words, Can I tell if the system has been marked good or not?
Can I also check to see if my system is using the default 30 minute timer for the probationary timer?
root@swi-mdm9x28-wp:~# legato status
Systems installed:
127 [good] ← current
Legato framework is running.
root@swi-mdm9x28-wp:~# update /tmp/modemDemo1.wp76xx.update
Unpacking package: 100% ++++++++++++++++++++++++++++++++++++++++++++++++++
Applying update: 100% ++++++++++++++++++++++++++++++++++++++++++++++++++
SUCCESS
root@swi-mdm9x28-wp:~# legato status
Systems installed:
127 [good]
128 [tried 1] ← current
Legato framework is running.
root@swi-mdm9x28-wp:~# legato version
19.02.0_87cc5f813301994d76389339c0e37301_modified