diff options
author | Eric Shienbrood <ers@chromium.org> | 2011-08-11 13:58:59 -0400 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2011-11-16 23:41:49 -0600 |
commit | eede5bb621152eb1774495d9cd403b1e653c076c (patch) | |
tree | d8fc5bfcb140e444aba52f8d64d1738d441ccca6 /src/mm-modem-helpers.h | |
parent | e7b6b2dc1c709ae877e3cd472d4134b918bb5fb7 (diff) |
gsm: add new property to track which facility locks are enabled
The property EnabledFacilityLocks on the .Modem.Gsm.Card interface
is a bit mask that indicates which of the various personalization
codes from 3GPP TS 22.022, plus the SIM PIN lock and SIM PIN2 lock,
are enabled. The set of facility locks supported by the modem is
determined at the time the modem is initialized, and the state of
each supported lock (enabled or disabled) is determined. When the
state of a lock changes, a property-change signal is sent out. Note
that ModemManager only supports enabling and disabling SIM-PIN, via
the EnablePin method on Modem.Gsm.Card.
Diffstat (limited to 'src/mm-modem-helpers.h')
-rw-r--r-- | src/mm-modem-helpers.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mm-modem-helpers.h b/src/mm-modem-helpers.h index a47f4695..0827abf2 100644 --- a/src/mm-modem-helpers.h +++ b/src/mm-modem-helpers.h @@ -58,6 +58,13 @@ gboolean mm_cdma_parse_eri (const char *reply, gboolean mm_gsm_parse_cscs_support_response (const char *reply, MMModemCharset *out_charsets); +gboolean mm_gsm_parse_clck_test_response (const char *reply, + MMModemGsmFacility *out_facilities); +gboolean mm_gsm_parse_clck_response (const char *reply, + gboolean *enabled); + +char *mm_gsm_get_facility_name (MMModemGsmFacility facility); + MMModemGsmAccessTech mm_gsm_string_to_access_tech (const char *string); char *mm_create_device_identifier (guint vid, |