diff options
-rw-r--r-- | src/device.c | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/src/device.c b/src/device.c index 3ae3903..0a886e6 100644 --- a/src/device.c +++ b/src/device.c @@ -404,13 +404,22 @@ gboolean device_get_info(const char *uuid, device_info_t *device_info, GError ** lockdownd_get_value(client, NULL, "ProductType", &node); if (node) { char *devtype = NULL; - const char *devtypes[9][2] = { + const char *devtypes[18][2] = { {"iPhone1,1", "iPhone"}, {"iPhone1,2", "iPhone 3G"}, {"iPhone2,1", "iPhone 3GS"}, - {"iPhone3,1", "iPhone 4"}, - {"iPad1,1", "iPad"}, - {"iPod1,1", "iPod Touch"}, + {"iPhone3,1", "iPhone 4"}, + {"iPhone3,3", "iPhone 4 CDMA"}, + {"iPhone4,1", "iPhone 4S"}, + {"iPad1,1", "iPad"}, + {"iPad2,1", "iPad 2"}, + {"iPad2,2", "iPad 2 3G GSM"}, + {"iPad2,3", "iPad 2 3G CDMA"}, + {"iPad2,4", "iPad"}, + {"iPad3,1", "iPad (3rd Gen)"}, + {"iPad3,2", "iPad 4G LTE (3rd Gen)"}, + {"iPad3,3", "iPad 4G LTE (3rd Gen)"}, + {"iPod1,1", "iPod Touch"}, {"iPod2,1", "iPod Touch (2G)"}, {"iPod3,1", "iPod Touch (3G)"}, {"iPod4,1", "iPod Touch (4G)"} |