On 4 May 2010 11:07, Marcel Holtmann <marcel(a)holtmann.org> wrote:
> Here's a patch to add a g_at_chat_set_submit_notify function
> modifies an already submitted command. Removing the destroy callback
> from g_at_chat_send would require changing all the many uses of it.
the conclusion was to have g_at_chat_send_full with submit and destroy
notifier. And g_at_chat_send without the destroy notifier.
Yes, we might have to touch a lot of code, but that is fine. That is one
of the reasons why GAtChat is not a separate (yet).
Ok, here's a patch changing that and updating all the users.
Hopefully I didn't break too many things. The patch is made on top of
the TI Calypso stk patch to optimise the number of resends.