history: Make example_history use Delivery Reports

This commit is contained in:
Denis Kenzior 2010-06-21 15:11:30 -05:00
parent dee07e4ad7
commit c3d61c9467
1 changed files with 8 additions and 2 deletions

View File

@ -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 = {