summaryrefslogtreecommitdiffstats
path: root/include/libirecovery.h
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2013-09-21 15:12:19 +0200
committerGravatar Martin Szulecki2013-09-21 15:12:19 +0200
commit4d8ffd7c14cafd468e92c00eae7d0aac42fbbd23 (patch)
tree9b0e13b58114d4ec2c14b8605eb37216894822ce /include/libirecovery.h
parentab8e6bfe05c8f71cc472b351350601e22700de94 (diff)
downloadlibirecovery-4d8ffd7c14cafd468e92c00eae7d0aac42fbbd23.tar.gz
libirecovery-4d8ffd7c14cafd468e92c00eae7d0aac42fbbd23.tar.bz2
Add support for iPhone 5S, iPhone 5C and Apple TV 3G Rev A0.1.1
Diffstat (limited to 'include/libirecovery.h')
-rw-r--r--include/libirecovery.h96
1 files changed, 53 insertions, 43 deletions
diff --git a/include/libirecovery.h b/include/libirecovery.h
index 5ce891b..05ff13f 100644
--- a/include/libirecovery.h
+++ b/include/libirecovery.h
@@ -122,27 +122,32 @@ struct irecv_client {
122#define DEVICE_IPHONE4S 6 122#define DEVICE_IPHONE4S 6
123#define DEVICE_IPHONE51 7 123#define DEVICE_IPHONE51 7
124#define DEVICE_IPHONE52 8 124#define DEVICE_IPHONE52 8
125#define DEVICE_IPOD1G 9 125#define DEVICE_IPHONE53 9
126#define DEVICE_IPOD2G 10 126#define DEVICE_IPHONE54 10
127#define DEVICE_IPOD3G 11 127#define DEVICE_IPHONE61 11
128#define DEVICE_IPOD4G 12 128#define DEVICE_IPHONE62 12
129#define DEVICE_IPOD5G 13 129#define DEVICE_IPOD1G 13
130#define DEVICE_IPAD1G 14 130#define DEVICE_IPOD2G 14
131#define DEVICE_IPAD21 15 131#define DEVICE_IPOD3G 15
132#define DEVICE_IPAD22 16 132#define DEVICE_IPOD4G 16
133#define DEVICE_IPAD23 17 133#define DEVICE_IPOD5G 17
134#define DEVICE_IPAD24 18 134#define DEVICE_IPAD1G 18
135#define DEVICE_IPAD25 19 135#define DEVICE_IPAD21 19
136#define DEVICE_IPAD26 20 136#define DEVICE_IPAD22 20
137#define DEVICE_IPAD27 21 137#define DEVICE_IPAD23 21
138#define DEVICE_IPAD31 22 138#define DEVICE_IPAD24 22
139#define DEVICE_IPAD32 23 139#define DEVICE_IPAD25 23
140#define DEVICE_IPAD33 24 140#define DEVICE_IPAD26 24
141#define DEVICE_IPAD34 25 141#define DEVICE_IPAD27 25
142#define DEVICE_IPAD35 26 142#define DEVICE_IPAD31 26
143#define DEVICE_IPAD36 27 143#define DEVICE_IPAD32 27
144#define DEVICE_APPLETV2 28 144#define DEVICE_IPAD33 28
145#define DEVICE_APPLETV31 29 145#define DEVICE_IPAD34 29
146#define DEVICE_IPAD35 30
147#define DEVICE_IPAD36 31
148#define DEVICE_APPLETV2 32
149#define DEVICE_APPLETV31 33
150#define DEVICE_APPLETV32 34
146 151
147struct irecv_device { 152struct irecv_device {
148 int index; 153 int index;
@@ -162,28 +167,33 @@ static struct irecv_device irecv_devices[] = {
162 { 6, "iPhone4,1", "n94ap", 0x08, 0x8940 }, 167 { 6, "iPhone4,1", "n94ap", 0x08, 0x8940 },
163 { 7, "iPhone5,1", "n41ap", 0x00, 0x8950 }, 168 { 7, "iPhone5,1", "n41ap", 0x00, 0x8950 },
164 { 8, "iPhone5,2", "n42ap", 0x02, 0x8950 }, 169 { 8, "iPhone5,2", "n42ap", 0x02, 0x8950 },
165 { 9, "iPod1,1", "n45ap", 0x02, 0x8900 }, 170 { 9, "iPhone5,3", "n48ap", 0x0a, 0x8950 },
166 { 10, "iPod2,1", "n72ap", 0x00, 0x8720 }, 171 { 10, "iPhone5,4", "n49ap", 0x0e, 0x8950 },
167 { 11, "iPod3,1", "n18ap", 0x02, 0x8922 }, 172 { 11, "iPhone6,1", "n51ap", 0x00, 0x8960 },
168 { 12, "iPod4,1", "n81ap", 0x08, 0x8930 }, 173 { 12, "iPhone6,2", "n53ap", 0x02, 0x8960 },
169 { 13, "iPod5,1", "n78ap", 0x00, 0x8942 }, 174 { 13, "iPod1,1", "n45ap", 0x02, 0x8900 },
170 { 14, "iPad1,1", "k48ap", 0x02, 0x8930 }, 175 { 14, "iPod2,1", "n72ap", 0x00, 0x8720 },
171 { 15, "iPad2,1", "k93ap", 0x04, 0x8940 }, 176 { 15, "iPod3,1", "n18ap", 0x02, 0x8922 },
172 { 16, "iPad2,2", "k94ap", 0x06, 0x8940 }, 177 { 16, "iPod4,1", "n81ap", 0x08, 0x8930 },
173 { 17, "iPad2,3", "k95ap", 0x02, 0x8940 }, 178 { 17, "iPod5,1", "n78ap", 0x00, 0x8942 },
174 { 18, "iPad2,4", "k93aap", 0x06, 0x8942 }, 179 { 18, "iPad1,1", "k48ap", 0x02, 0x8930 },
175 { 19, "iPad2,5", "p105ap", 0x0a, 0x8942 }, 180 { 19, "iPad2,1", "k93ap", 0x04, 0x8940 },
176 { 20, "iPad2,6", "p106ap", 0x0c, 0x8942 }, 181 { 20, "iPad2,2", "k94ap", 0x06, 0x8940 },
177 { 21, "iPad2,7", "p107ap", 0x0e, 0x8942 }, 182 { 21, "iPad2,3", "k95ap", 0x02, 0x8940 },
178 { 22, "iPad3,1", "j1ap", 0x00, 0x8945 }, 183 { 22, "iPad2,4", "k93aap", 0x06, 0x8942 },
179 { 23, "iPad3,2", "j2ap", 0x02, 0x8945 }, 184 { 23, "iPad2,5", "p105ap", 0x0a, 0x8942 },
180 { 24, "iPad3,3", "j2aap", 0x04, 0x8945 }, 185 { 24, "iPad2,6", "p106ap", 0x0c, 0x8942 },
181 { 25, "iPad3,4", "p101ap", 0x00, 0x8955 }, 186 { 25, "iPad2,7", "p107ap", 0x0e, 0x8942 },
182 { 26, "iPad3,5", "p102ap", 0x02, 0x8955 }, 187 { 26, "iPad3,1", "j1ap", 0x00, 0x8945 },
183 { 27, "iPad3,6", "p103ap", 0x04, 0x8955 }, 188 { 27, "iPad3,2", "j2ap", 0x02, 0x8945 },
184 { 28, "AppleTV2,1", "k66ap", 0x10, 0x8930 }, 189 { 28, "iPad3,3", "j2aap", 0x04, 0x8945 },
185 { 29, "AppleTV3,1", "j33ap", 0x08, 0x8942 }, 190 { 29, "iPad3,4", "p101ap", 0x00, 0x8955 },
186 { -1, NULL, NULL, -1, -1 } 191 { 30, "iPad3,5", "p102ap", 0x02, 0x8955 },
192 { 31, "iPad3,6", "p103ap", 0x04, 0x8955 },
193 { 32, "AppleTV2,1", "k66ap", 0x10, 0x8930 },
194 { 33, "AppleTV3,1", "j33ap", 0x08, 0x8942 },
195 { 34, "AppleTV3,2","j33iap", 0x00, 0x8947 },
196 { -1, NULL, NULL, -1, -1 }
187}; 197};
188 198
189void irecv_set_debug_level(int level); 199void irecv_set_debug_level(int level);