Hi Giacinto, On 10/20/2018 05:26 AM, Giacinto Cifelli wrote:
added the function g_at_chat_finish_command, in order to be able to interrupt a pending command. The function is useful in special cases, for example to implement a custom g_at_chat_set_wakeup_command. This command will never return if the device does not answer, and therefore it is unsuitable to probe configurations.
I don't think this is a good idea. In general the caller has no clue what command he is actually finishing since there may be other commands being queued.
You might want to provide more context as to what you're actually trying to accomplish. It might be easier to just use g_at_chat_cancel and a g_timeout_add_seconds combination for this...
Regards, -Denis _______________________________________________ ofono mailing list [email protected] https://lists.ofono.org/mailman/listinfo/ofono
