I have an AutoPi Telematics Unit Pi3. I have swapped the Pi3 for a Pi4 and attached the AutoPi board to it. I have been experimenting with Automotive Grade Linux for my Masters and installed AGL on the Pi4. Currently, most things are working, however, the modem (or I guess the whole AutoPi board) disconnects after 10 minutes. After some quick research, I noticed that the AutoPi board disconnects after 10 minutes if it has not received a heartbeat from the OS. This is when it is booting up. This makes sense since my AGL system, which is essentially Linux, does not send a heartbeat to the board.
Does anyone know how I can create a service to send a heartbeat to the AutoPi board to keep it on?