From 46ead9b3afd6e79fa05a391b94bc929e94101e33 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Fri, 9 Oct 2015 03:05:21 +0200 Subject: Use hardware model instead of product type to identify device correctly --- src/dfu.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/dfu.h') diff --git a/src/dfu.h b/src/dfu.h index 54535c4..f56862c 100644 --- a/src/dfu.h +++ b/src/dfu.h @@ -3,7 +3,7 @@ * Functions for handling idevices in DFU mode * * Copyright (c) 2010-2013 Martin Szulecki. All Rights Reserved. - * Copyright (c) 2012 Nikias Bassen. All Rights Reserved. + * Copyright (c) 2012-2015 Nikias Bassen. All Rights Reserved. * Copyright (c) 2010 Joshua Hill. All Rights Reserved. * * This library is free software; you can redistribute it and/or @@ -40,7 +40,7 @@ struct dfu_client_t { int dfu_client_new(struct idevicerestore_client_t* client); void dfu_client_free(struct idevicerestore_client_t* client); int dfu_check_mode(struct idevicerestore_client_t* client, int* mode); -const char* dfu_check_product_type(struct idevicerestore_client_t* client); +const char* dfu_check_hardware_model(struct idevicerestore_client_t* client); int dfu_send_buffer(struct idevicerestore_client_t* client, unsigned char* buffer, unsigned int size); int dfu_send_component(struct idevicerestore_client_t* client, plist_t build_identity, const char* component); int dfu_get_cpid(struct idevicerestore_client_t* client, unsigned int* cpid); -- cgit v1.1-32-gdbae