Re: [PATCH 1/2] gatchat: add g_at_chat_retry()

2019-08-13 Thread Denis Kenzior
Hi Martin, On 8/12/19 3:38 PM, Martin Hundebøll wrote: The current API doesn't support canceling an in-progress command; instead g_at_chat_cancel() simply removes the callback. In cases where the modem doesn't respond at all to a command, a chat is simply stalled without any way to write new

[PATCH 1/2] gatchat: add g_at_chat_retry()

2019-08-12 Thread Martin Hundebøll
The current API doesn't support canceling an in-progress command; instead g_at_chat_cancel() simply removes the callback. In cases where the modem doesn't respond at all to a command, a chat is simply stalled without any way to write new commands to the modem. Support that case by adding a