Add all device models known up to now
This commit is contained in:
+13
-4
@@ -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)"}
|
||||
|
||||
Reference in New Issue
Block a user