diff options
author | Martin Szulecki | 2012-03-18 19:26:01 +0100 |
---|---|---|
committer | Martin Szulecki | 2012-03-18 19:26:01 +0100 |
commit | 18ccdeb06759c22cd3e426eac45af3e020463eec (patch) | |
tree | 979b6e0a9a5909e3c4995e027fd8345b28546044 | |
parent | 73acb31cb244baf35fde0429fc05ab87707803c3 (diff) | |
download | sbmanager-18ccdeb06759c22cd3e426eac45af3e020463eec.tar.gz sbmanager-18ccdeb06759c22cd3e426eac45af3e020463eec.tar.bz2 |
Add all device models known up to now
-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)"} |