Thanks for the answer.
The devices are on a 4G connection in a not very easily accessible closed environment. When I do a update of the OS I want to do this controlled manner and with a very good reason.
Could you tell me what yocto changes github changes are done to see the possible output it could have when updating?
Just to summerize serveral issues came up during a 2 year running devices.
-
Supervisor container was too dependend of having the correct clock set, which resulted in specific cases containers didn’t start for sometimes more than 24 hours. Digged through the Yocto code on github and found that it should be fixed now.
-
Mobile providers differ from each other. Some providers have a more stable connection than other ones, which surprised me.
-
Had issues with nationwide outage of Vodafone NL. That was a pain in the ass. Which resulted in very weird behaviour of modemmanager.
Things we’ve done to fix these problems:
-
Issues with versions of Simcom firmware. One even it was impossible to get LTE working and only 2G
-
modemmanager disabled services in containers to avoid conflicts between modemmanager on OS and container
-
Use bash command to validate if modem still exists together with validating if device is still connected in a interval of 30 seconds. This combined with power off on GitHub - mvp/uhubctl: uhubctl - USB hub per-port power control and reset modemmanger resulted in fast recovery of connection
-
Checking internet connection if above fails. And checking internet connection every 15 minutes next to this process.
-
listen to Modemmanager bus for statusses that where communicated to the cloud together with signal quality monitoring to check if there are environment influences, badly connected or positioned antennas.
-
We monitor retry recieve, sent of data supplied by modemmanager, which gives us insight in stability of connection. y axis megabytes usage x axis week in time examples:
balenaOS 2.65.0+rev1
supervisor 12.2.11
Example of less stable connection with 67% signal quality on LTE
80% signal quality LTE which is accepable
62% signal quality on LTE reached 305 mb without retry. This one in the center of large city in The Netherlands which is a big difference between this one and above examples.
All on same mobile provider, but different locations. I’m updating to latest on local test devices to see what the impact 2.80+rev1