diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2016-08-09 17:31:04 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2016-10-12 13:24:08 +0200 |
commit | 29517c99ba9fee164b788a1f7cff43773e0b58be (patch) | |
tree | 69a50f3183584bec1cc84bc10b1b6fd1d2a9e16c /plugins/ublox/mm-modem-helpers-ublox.h | |
parent | fe460b2f54b6a035a207815252fe87ee3a06351c (diff) |
ublox: new +UPINCNT response parser
Diffstat (limited to 'plugins/ublox/mm-modem-helpers-ublox.h')
-rw-r--r-- | plugins/ublox/mm-modem-helpers-ublox.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/plugins/ublox/mm-modem-helpers-ublox.h b/plugins/ublox/mm-modem-helpers-ublox.h index e8f09ff9..ba264a39 100644 --- a/plugins/ublox/mm-modem-helpers-ublox.h +++ b/plugins/ublox/mm-modem-helpers-ublox.h @@ -20,6 +20,16 @@ #include <ModemManager.h> /*****************************************************************************/ +/* +UPINCNT response parser */ + +gboolean mm_ublox_parse_upincnt_response (const gchar *response, + guint *out_pin_attempts, + guint *out_pin2_attempts, + guint *out_puk_attempts, + guint *out_puk2_attempts, + GError **error); + +/*****************************************************************************/ /* UUSBCONF? response parser */ typedef enum { /*< underscore_name=mm_ublox_usb_profile >*/ |