mirror of git://git.sysmocom.de/ofono
Add a new SIM not ready error
This commit is contained in:
parent
2b7cd7dede
commit
a45007f91d
|
@ -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();
|
||||
|
|
|
@ -49,6 +49,7 @@ DBusMessage *__ofono_error_not_found(DBusMessage *msg);
|
|||
DBusMessage *__ofono_error_not_active(DBusMessage *msg);
|
||||
DBusMessage *__ofono_error_not_supported(DBusMessage *msg);
|
||||
DBusMessage *__ofono_error_timed_out(DBusMessage *msg);
|
||||
DBusMessage *__ofono_error_sim_not_ready(DBusMessage *msg);
|
||||
|
||||
void __ofono_dbus_pending_reply(DBusMessage **msg, DBusMessage *reply);
|
||||
|
||||
|
|
Loading…
Reference in New Issue