From 1ef6e97b9089042316b49bb6c01668b531e2eae5 Mon Sep 17 00:00:00 2001 From: Benjamin Dobell Date: Wed, 1 Jun 2011 06:42:21 +1000 Subject: 1.2.0b Heimdall command line update. Large update that adds lots of PIT file functionality and better support for more devices. --- heimdall/source/BridgeManager.h | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'heimdall/source/BridgeManager.h') diff --git a/heimdall/source/BridgeManager.h b/heimdall/source/BridgeManager.h index 40a7ceb..06e4d61 100644 --- a/heimdall/source/BridgeManager.h +++ b/heimdall/source/BridgeManager.h @@ -53,7 +53,7 @@ namespace Heimdall enum { - kSupportedDeviceCount = 1, + kSupportedDeviceCount = 3, kCommunicationDelayDefault = 0, kDumpBufferSize = 4096 @@ -66,10 +66,9 @@ namespace Heimdall enum { - kPidGalaxySDownloadMode = 0x6601/*, - kPidGalaxySInternational = 0x681C, - kPidGalaxySNewInternational = 0x681D, - kPidVibrantCanadaBell = 0x6877*/ + kPidGalaxyS = 0x6601, + kPidGalaxyS2 = 0x685D, + kPidDroidCharge = 0x68C3 }; private: @@ -105,8 +104,8 @@ namespace Heimdall bool SendPacket(OutboundPacket *packet, int timeout = 3000) const; bool ReceivePacket(InboundPacket *packet, int timeout = 3000) const; - - bool SendPitFile(FILE *file) const; + + bool SendPitFile(FILE *file) const; int ReceivePitFile(unsigned char **pitBuffer) const; bool SendFile(FILE *file, int destination, int fileIdentifier = -1) const; -- cgit v1.1