examples: handle cancelled history status

This commit is contained in:
Lucas De Marchi 2011-02-04 17:40:32 -02:00 committed by Denis Kenzior
parent d67c73d492
commit c01140c851
1 changed files with 5 additions and 0 deletions

View File

@ -172,6 +172,11 @@ static void example_history_sms_send_status(
ofono_debug("Sending SMS %s failed", ofono_uuid_to_str(uuid));
ofono_debug("Failure Time: %s", buf);
break;
case OFONO_HISTORY_SMS_STATUS_SUBMIT_CANCELLED:
ofono_debug("Submission of SMS %s was canceled",
ofono_uuid_to_str(uuid));
ofono_debug("Cancel time: %s", buf);
break;
case OFONO_HISTORY_SMS_STATUS_DELIVERED:
ofono_debug("SMS delivered, msg_id: %s, time: %s",
ofono_uuid_to_str(uuid), buf);