From 18ccdeb06759c22cd3e426eac45af3e020463eec Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Sun, 18 Mar 2012 19:26:01 +0100 Subject: Add all device models known up to now --- src/device.c | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) (limited to 'src/device.c') 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)"} -- cgit v1.1-32-gdbae