diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2020-08-01 09:59:40 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2020-08-28 14:59:06 +0000 |
commit | e6ab1182df861e1243f5b93ec334008bec84943e (patch) | |
tree | 606fa11772a81a8f56718efbbe4a8176b4e98198 /src/mm-modem-helpers-qmi.h | |
parent | 924cf1af3c5e1aec1df680d50e4b9ae6dd8e0ba9 (diff) |
helpers-qmi: move 'UIM Get Card Status Output' parsing to helpers
This is going to be used in handling the multi-SIM setup, so make it a
common helper.
Diffstat (limited to 'src/mm-modem-helpers-qmi.h')
-rw-r--r-- | src/mm-modem-helpers-qmi.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/mm-modem-helpers-qmi.h b/src/mm-modem-helpers-qmi.h index 42cb6711..ae52afb8 100644 --- a/src/mm-modem-helpers-qmi.h +++ b/src/mm-modem-helpers-qmi.h @@ -154,4 +154,16 @@ gchar *mm_qmi_unique_id_to_firmware_unique_id (GArray *qmi_unique_id, GArray *mm_firmware_unique_id_to_qmi_unique_id (const gchar *unique_id, GError **error); +/*****************************************************************************/ +/* Common UIM Get Card Status parsing */ + +gboolean mm_qmi_uim_get_card_status_output_parse (gpointer log_object, + QmiMessageUimGetCardStatusOutput *output, + MMModemLock *o_lock, + guint *o_pin1_retries, + guint *o_puk1_retries, + guint *o_pin2_retries, + guint *o_puk2_retries, + GError **error); + #endif /* MM_MODEM_HELPERS_QMI_H */ |