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.
This commit is contained in:

committed by
Dan Williams

parent
e7b6b2dc1c
commit
eede5bb621
@@ -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,
|
||||
|
Reference in New Issue
Block a user