diff options
author | Benjamin Dobell <benjamin.dobell+git@glassechidna.com.au> | 2014-04-30 03:49:19 +1000 |
---|---|---|
committer | Benjamin Dobell <benjamin.dobell+git@glassechidna.com.au> | 2014-05-06 21:39:05 +1000 |
commit | 1e345bcd7c6a82bbf0800781416d5df15b555da0 (patch) | |
tree | 6b514985d730ad52356df41c7e6b85dc177800ea /heimdall/source/BridgeManager.h | |
parent | a934ad26086ef44563ef7813608e310c0f2dee08 (diff) | |
download | external_heimdall-1e345bcd7c6a82bbf0800781416d5df15b555da0.zip external_heimdall-1e345bcd7c6a82bbf0800781416d5df15b555da0.tar.gz external_heimdall-1e345bcd7c6a82bbf0800781416d5df15b555da0.tar.bz2 |
Fix support for SGS4 (with empty bulk transfers)
After each bulk transfer sent containing an Odin/Loke protocol packet, we now
send through a zero length bulk transfer. This is required for newer devices to
function correctly.
Diffstat (limited to 'heimdall/source/BridgeManager.h')
-rw-r--r-- | heimdall/source/BridgeManager.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/heimdall/source/BridgeManager.h b/heimdall/source/BridgeManager.h index 1f88cdc..6481de6 100644 --- a/heimdall/source/BridgeManager.h +++ b/heimdall/source/BridgeManager.h @@ -142,6 +142,8 @@ namespace Heimdall bool SetControlLineState(unsigned short controlSignalFlags);
bool SetControlLineCoding(LineCoding lineCoding);
+ bool SendBulkTransfer(unsigned char *data, int length, int timeout = 3000, bool retry = true) const;
+
public:
BridgeManager(bool verbose, int communicationDelay = BridgeManager::kCommunicationDelayDefault);
|