From a45007f91d37ae3cc253ced12f9aa6387eeb0989 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Tue, 18 Aug 2009 17:14:44 -0500 Subject: Add a new SIM not ready error --- src/dbus.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/dbus.c') diff --git a/src/dbus.c b/src/dbus.c index b814f23a..b271e89b 100644 --- a/src/dbus.c +++ b/src/dbus.c @@ -224,6 +224,12 @@ DBusMessage *__ofono_error_timed_out(DBusMessage *msg) "Operation failure due to timeout"); } +DBusMessage *__ofono_error_sim_not_ready(DBusMessage *msg) +{ + return g_dbus_create_error(msg, DBUS_GSM_ERROR_INTERFACE ".SimNotReady", + "SIM is not ready or not inserted"); +} + void __ofono_dbus_pending_reply(DBusMessage **msg, DBusMessage *reply) { DBusConnection *conn = ofono_dbus_get_connection(); -- cgit v1.2.3