Hi Mattias,
On 08/31/2018 04:58 AM, Mattias Månsson wrote:
I would like to implement a periodic status check for our modem and
wonder if there is any support for this in ofono already. Some way to
get a periodic callback perhaps, where I could then run a few AT commands.
This is easily done with g_timeout_add_seconds or g_timeout_add. See
drivers/atmodem/voicecall.c and search for poll_clcc or so for an example.
Regards,
-Denis