summaryrefslogtreecommitdiffstats
path: root/src/libirecovery.c
AgeCommit message (Collapse)AuthorFilesLines
2013-09-26Reduce timeout for receive loop to 500ms for quicker responseGravatar Martin Szulecki1-1/+1
2013-09-26libirecovery: Set interface correctly to receive intial banner form deviceGravatar Martin Szulecki1-3/+1
2013-09-26Reorder public interface logically and rename irecv_get_device()Gravatar Martin Szulecki1-2/+1
2013-09-26Rename mode enum items to uppercase IRECV_K_* name schemeGravatar Martin Szulecki1-24/+25
2013-09-26Add "usb" prefix to all method names which are related to USB featuresGravatar Martin Szulecki1-31/+30
2013-09-26Use more accurate names for "open device" methods which use the ecidGravatar Martin Szulecki1-4/+4
2013-09-26Add irecv_reboot() command helper which reboots the deviceGravatar Martin Szulecki1-0/+8
2013-09-26Remove irecv_read|write_file() which are obsolete nowGravatar Martin Szulecki1-64/+0
2013-09-26Make irecv_execute_script() use a script as argument instead of a filenameGravatar Martin Szulecki1-11/+9
2013-09-26Only enable libusb debugging output on verbose level 2 and higherGravatar Martin Szulecki1-1/+1
2013-09-26Convert spaces to tabs were neededGravatar Martin Szulecki1-4/+4
2013-09-26Fix header comment syntaxGravatar Martin Szulecki1-1/+2
2013-09-26Revert changes to return errors when sending commands, getenv or getretGravatar Martin Szulecki1-10/+6
This fixes software which did not expect to receive an error after sending specific commands. Sending "go" for instance returned a connection reset error which was interpreted as "could not send command" while this behavior is completely correct. This also fixes idevicerestore's "Unable to send iBEC" problems.
2013-09-26Remove rather obsolete irecv_hexdump() helperGravatar Martin Szulecki1-36/+0
2013-09-21Silence compiler warnings by returning proper error with irecv_control_transferGravatar Martin Szulecki1-4/+8
2013-05-21Relicense to LGPL 2.1 and thus update license and headersGravatar Martin Szulecki1-19/+18
This relicensing was requested and approved by all authors by E-Mail.
2013-01-09Improve maintainability of devices and add support for all current modelsGravatar Martin Szulecki1-158/+7
This removes all CPID_* and BDID_* defines which appear useless as the same information is already stored in the irecv_devices[] struct. Furthermore this removes a big inefficient switch() to determine a device in favor of a simple loop on the irecv_devices[] struct. Overall this means much less maintainance to add new device models in the future.
2012-11-28irecv_send_command/irecv_event_t use const char* instead of char*Gravatar Nikias Bassen1-1/+1
2012-11-08add support for iPad2,5 and iPad3,4Gravatar Martin Szulecki1-1/+18
2012-09-21added support for iPod5,1Gravatar Nikias Bassen1-0/+22
2012-09-21updated with iPhone5 models.Gravatar Nikias Bassen1-0/+16
2012-07-17added irecv_control_transfer and irecv_bulk_transfer to public interfaceGravatar Nikias Bassen1-2/+2
2012-07-17silenced a bunch of compiler warningsGravatar Nikias Bassen1-22/+18
2012-07-16moved *.c to src/ subdirectoryGravatar Nikias Bassen1-0/+1684
2010-11-06updated libirecovery to the latest version from greenpois0n. it at least ↵Gravatar Joshua Hill1-672/+0
compiles on osx now, I need to test on other systems
2010-06-16Changed debug variable to be a static global variable to allow set once ↵Gravatar Joshua Hill1-25/+117
always enabled style debug flag Added -e flag to load and execute a premade script file along with a sample script
2010-06-07a few small bugfixes and updated the TODO listGravatar Joshua Hill1-9/+65
2010-06-06Moved progress bar into irecovery and finished implementing progress noticationsGravatar Joshua Hill1-34/+4
2010-06-06Added progress notification event and a upload prgress badGravatar Joshua Hill1-0/+49
2010-06-02Added some new helper functions to fetch chip id and board id and changed ↵Gravatar Joshua Hill1-1/+42
Makefile to automatically refresh linker cache after install
2010-05-30Implemented a few more events, got rid of the old ones and cleaned up a littleGravatar Joshua Hill1-105/+31
2010-05-26Began work on a new event based callback systemGravatar Joshua Hill1-111/+166
2010-05-24Added irecv_send_exploit function to libirecovery.c and added -k flag in ↵Gravatar Joshua Hill1-0/+15
irecovery.c to trigger it.
2010-05-24ooops forgot to cleanup usb contextGravatar Joshua Hill1-1/+1
2010-05-24Finally tracked down and killed that damn bug!!Gravatar Joshua Hill1-6/+5
2010-05-23Quite a few bug fixes, updated to be used with the latest version of ↵Gravatar Joshua Hill1-50/+65
idevicerestore. Still quite a few issues to be ironed out though.
2010-05-21Changed the API a bit to closer match libimobiledevice and added function to ↵Gravatar Joshua Hill1-185/+169
get ECID
2010-05-20A few minor changes so pod2g will quit yelling at meGravatar Joshua Hill1-7/+2
2010-05-20Improve irecv_open()'s device selection logic and allow opening by uuidGravatar Martin Szulecki1-21/+56
Previous code did attempt to open anything with an Apple vendor id. Now it also verifies if the USB device is within a mode we know and also allows targeting a specific device by it's UUID.
2010-05-17Implemented irecv_getenv() and added a number of bug fixesGravatar Joshua Hill1-20/+59
2010-05-16added irecv_errorstr() and fixed a few bugsGravatar Joshua Hill1-13/+87
2010-05-16Added irecv_set_configuration() and irecv_set_interface() functions and ↵Gravatar Joshua Hill1-30/+131
implemented bulk read
2010-05-16Added send and receive callbacks in libirecovery and added history saving ↵Gravatar Joshua Hill1-31/+45
into irecovery.c
2010-05-14added irecv_send_buffer() to lib header and simplified some packet mathGravatar Joshua Hill1-80/+3
2010-05-13Implemented irecv_get_status() to return current iphone usb "state".Gravatar Joshua Hill1-2/+148
Implemented irecv_send_buffer() to upload a buffer to the device load address. Implemented irecv_send_file() to read a file into memory and pass the buffer into irecv_send_buffer()
2010-05-13Implemented command line argument parsing and irecv_command() function.Gravatar Joshua Hill1-4/+30
2010-05-13Cleaned up irecv_reset(), and irecv_close() to make sure they were returning ↵Gravatar Joshua Hill1-9/+7
error if there really was an error
2010-05-13Added irecv_reset()Gravatar Nicolas Haunold1-0/+10
2010-05-13Began work. Added basic Makefile and implemented irecv_init(), irecv_open(), ↵Gravatar Joshua Hill1-0/+109
irecv_close(), and irecv_exit() Needs to be tested on MacOSX and Windows, and Makefile needs to be updated for these platforms.