summaryrefslogtreecommitdiffstats
path: root/heimdall/source/BridgeManager.h
diff options
context:
space:
mode:
authorBenjamin Dobell <benjamin.dobell@glassechidna.com.au>2011-05-31 22:42:21 +0200
committerBenjamin Dobell <benjamin.dobell@glassechidna.com.au>2011-05-31 23:06:09 +0200
commit1ef6e97b9089042316b49bb6c01668b531e2eae5 (patch)
treef36ea3f02ee5fbb2eec9f56beb1384125cee2e6b /heimdall/source/BridgeManager.h
parentMade "make install" install the udev rules. (diff)
downloadHeimdall-1ef6e97b9089042316b49bb6c01668b531e2eae5.tar
Heimdall-1ef6e97b9089042316b49bb6c01668b531e2eae5.tar.gz
Heimdall-1ef6e97b9089042316b49bb6c01668b531e2eae5.tar.bz2
Heimdall-1ef6e97b9089042316b49bb6c01668b531e2eae5.tar.lz
Heimdall-1ef6e97b9089042316b49bb6c01668b531e2eae5.tar.xz
Heimdall-1ef6e97b9089042316b49bb6c01668b531e2eae5.tar.zst
Heimdall-1ef6e97b9089042316b49bb6c01668b531e2eae5.zip
Diffstat (limited to 'heimdall/source/BridgeManager.h')
-rw-r--r--heimdall/source/BridgeManager.h13
1 files changed, 6 insertions, 7 deletions
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;