diff options
author | Dan Williams <dcbw@redhat.com> | 2010-10-21 16:57:37 -0500 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2010-10-21 16:57:37 -0500 |
commit | 328d2369a9dadfae786e4c524b5ff2fd0d1a9e17 (patch) | |
tree | 66eec3af08301dbb9ffbd8a26b1f558134fb289b /src/mm-modem.h | |
parent | 9fa20cd018ddbbcc95fd600ca140ac85661567bd (diff) |
core: add DeviceIdentifier property
This is computed before any PIN is entered, and thus before we can
usually get IMEI or MEID/ESN out of the device in many cases. It's
therefore not the same as EquipmentIdentifier.
This is intended to be used by UI programs for matching devices with
PIN numbers for automatic unlocking. While the PIN number is actually
*SIM* specific, no modems allow access to the IMSI before the PIN is
entered, and thus we cannot actually match the PIN with the SIM. The
device ID is the next best thing we can use and should allow auto
unlocking in most cases.
Diffstat (limited to 'src/mm-modem.h')
-rw-r--r-- | src/mm-modem.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mm-modem.h b/src/mm-modem.h index 0915180b..bff7e359 100644 --- a/src/mm-modem.h +++ b/src/mm-modem.h @@ -59,6 +59,7 @@ typedef enum { #define MM_MODEM_IP_METHOD "ip-method" #define MM_MODEM_ENABLED "enabled" #define MM_MODEM_EQUIPMENT_IDENTIFIER "equipment-identifier" +#define MM_MODEM_DEVICE_IDENTIFIER "device-identifier" #define MM_MODEM_UNLOCK_REQUIRED "unlock-required" #define MM_MODEM_UNLOCK_RETRIES "unlock-retries" #define MM_MODEM_VALID "valid" /* not exported */ @@ -87,7 +88,8 @@ typedef enum { MM_MODEM_PROP_ENABLED, MM_MODEM_PROP_EQUIPMENT_IDENTIFIER, MM_MODEM_PROP_UNLOCK_REQUIRED, - MM_MODEM_PROP_UNLOCK_RETRIES + MM_MODEM_PROP_UNLOCK_RETRIES, + MM_MODEM_PROP_DEVICE_IDENTIFIER } MMModemProp; typedef struct _MMModem MMModem; |