core: use hardware IDs as part of DeviceIdentifier
Pass the device's hardware IDs through modem creation and use them when calculating the device's identifier. Add a bunch of testcases for real hardware to ensure we don't break the device ID in the future unless we really want to.
This commit is contained in:
@@ -59,8 +59,8 @@ gboolean mm_gsm_parse_cscs_support_response (const char *reply,
|
||||
|
||||
MMModemGsmAccessTech mm_gsm_string_to_access_tech (const char *string);
|
||||
|
||||
char *mm_create_device_identifier (const char *vid,
|
||||
const char *pid,
|
||||
char *mm_create_device_identifier (guint vid,
|
||||
guint pid,
|
||||
const char *ati,
|
||||
const char *ati1,
|
||||
const char *gsn,
|
||||
|
Reference in New Issue
Block a user