This patch set exports on MessageManager interface a method to cancel messages that are pending on tx queue.
As the doc says, only messages that are currently waiting on message queue and not being handled by the modem can be cancelled. Otherwise a race could occur. First 4 patches are some refactors needed to accommodate this feature, that has been added on 5th patch. Lucas De Marchi (7): history: add cancelled status examples: handle cancelled history status message: add cancelled state sms: factor out 'remove entry' from tx_finished() sms: allow message submission to be cancelled doc: add CancelMessage to MessageManager TODO: mark task 'cancel pending SMS' as done TODO | 9 -- doc/messagemanager-api.txt | 10 +++ examples/history.c | 5 + include/history.h | 1 + src/message.c | 2 + src/message.h | 3 +- src/sms.c | 181 ++++++++++++++++++++++++++++++++++---------- 7 files changed, 161 insertions(+), 50 deletions(-) -- 1.7.4 _______________________________________________ ofono mailing list [email protected] http://lists.ofono.org/listinfo/ofono
