diff options
author | Denis Kenzior <denkenz@gmail.com> | 2010-06-21 15:11:30 -0500 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2010-06-21 15:21:39 -0500 |
commit | c3d61c9467698658f7ed3ea2dc5a41e094282546 (patch) | |
tree | 37722ee141746a7021ba617743c77e8089e0d6dd /plugins/example_history.c | |
parent | dee07e4ad7dad7d40fd5ed60f122b0caae3ca363 (diff) | |
download | ofono-c3d61c9467698658f7ed3ea2dc5a41e094282546.tar.bz2 |
history: Make example_history use Delivery Reports
Diffstat (limited to 'plugins/example_history.c')
-rw-r--r-- | plugins/example_history.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/plugins/example_history.c b/plugins/example_history.c index 924303b4..9276d6ea 100644 --- a/plugins/example_history.c +++ b/plugins/example_history.c @@ -163,10 +163,16 @@ static void example_history_sms_send_status(struct ofono_history_context *contex ofono_debug("Sending SMS %u failed", msg_id); ofono_debug("Failure Time: %s", buf); break; + case OFONO_HISTORY_SMS_STATUS_DELIVERED: + ofono_debug("SMS delivered, msg_id: %u, time: %s", msg_id, buf); + break; + case OFONO_HISTORY_SMS_STATUS_DELIVER_FAILED: + ofono_debug("SMS undeliverable, msg_id: %u, time: %s", + msg_id, buf); + break; default: break; - }; - + } } static struct ofono_history_driver example_driver = { |