summaryrefslogtreecommitdiff
path: root/apps/iap/iap-core.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/iap/iap-core.h')
-rw-r--r--apps/iap/iap-core.h19
1 files changed, 11 insertions, 8 deletions
diff --git a/apps/iap/iap-core.h b/apps/iap/iap-core.h
index 61b72d4ca2..b558e1cc0f 100644
--- a/apps/iap/iap-core.h
+++ b/apps/iap/iap-core.h
@@ -34,6 +34,7 @@
34 34
35/* The Model ID of the iPod we emulate. Currently a 160GB classic */ 35/* The Model ID of the iPod we emulate. Currently a 160GB classic */
36#define IAP_IPOD_MODEL (0x00130200U) 36#define IAP_IPOD_MODEL (0x00130200U)
37#define IAP_IPOD_VARIANT "MC293"
37 38
38/* The firmware version we emulate. Currently 2.0.3 */ 39/* The firmware version we emulate. Currently 2.0.3 */
39#define IAP_IPOD_FIRMWARE_MAJOR (2) 40#define IAP_IPOD_FIRMWARE_MAJOR (2)
@@ -73,14 +74,15 @@ enum interface_state {
73 74
74/* States of the authentication state machine */ 75/* States of the authentication state machine */
75enum authen_state { 76enum authen_state {
76 AUST_NONE, /* Initial state, no message sent */ 77 AUST_NONE, /* Initial state, no message sent */
77 AUST_INIT, /* Remote side has requested authentication */ 78 AUST_INIT, /* Remote side has requested authentication */
78 AUST_CERTREQ, /* Remote certificate requested */ 79 AUST_CERTREQ, /* Remote certificate requested */
79 AUST_CERTBEG, /* Certificate is being received */ 80 AUST_CERTBEG, /* Certificate is being received */
80 AUST_CERTDONE, /* Certificate received */ 81 AUST_CERTALLRECEIVED, /* Certificate all Received */
81 AUST_CHASENT, /* Challenge sent */ 82 AUST_CERTDONE, /* Certificate all Done */
82 AUST_CHADONE, /* Challenge response received */ 83 AUST_CHASENT, /* Challenge sent */
83 AUST_AUTH, /* Authentication complete */ 84 AUST_CHADONE, /* Challenge response received */
85 AUST_AUTH, /* Authentication complete */
84}; 86};
85 87
86/* State of authentication */ 88/* State of authentication */
@@ -237,6 +239,7 @@ void iap_repeat_next(void);
237void iap_fill_power_state(void); 239void iap_fill_power_state(void);
238 240
239void iap_send_tx(void); 241void iap_send_tx(void);
242void iap_set_remote_volume(void);
240 243
241extern enum interface_state interface_state; 244extern enum interface_state interface_state;
242void iap_interface_state_change(const enum interface_state new); 245void iap_interface_state_change(const enum interface_state new);