diff options
author | Benjamin Dobell <benjamin.dobell+git@glassechidna.com.au> | 2014-04-29 17:40:10 +0200 |
---|---|---|
committer | Benjamin Dobell <benjamin.dobell+git@glassechidna.com.au> | 2014-05-06 13:39:04 +0200 |
commit | 3af0c3ad63437ac53f5e2832a22e21a8790686f5 (patch) | |
tree | 38d653a3a80a9889e8fc3a17cadfa5fd62fa5ce1 /heimdall/source/EndFileTransferPacket.h | |
parent | Merge pull request #180 from marclaporte/master (diff) | |
download | Heimdall-3af0c3ad63437ac53f5e2832a22e21a8790686f5.tar Heimdall-3af0c3ad63437ac53f5e2832a22e21a8790686f5.tar.gz Heimdall-3af0c3ad63437ac53f5e2832a22e21a8790686f5.tar.bz2 Heimdall-3af0c3ad63437ac53f5e2832a22e21a8790686f5.tar.lz Heimdall-3af0c3ad63437ac53f5e2832a22e21a8790686f5.tar.xz Heimdall-3af0c3ad63437ac53f5e2832a22e21a8790686f5.tar.zst Heimdall-3af0c3ad63437ac53f5e2832a22e21a8790686f5.zip |
Diffstat (limited to 'heimdall/source/EndFileTransferPacket.h')
-rw-r--r-- | heimdall/source/EndFileTransferPacket.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/heimdall/source/EndFileTransferPacket.h b/heimdall/source/EndFileTransferPacket.h index 7e78899..9ae4a44 100644 --- a/heimdall/source/EndFileTransferPacket.h +++ b/heimdall/source/EndFileTransferPacket.h @@ -34,7 +34,7 @@ namespace Heimdall {
kDestinationPhone = 0x00,
kDestinationModem = 0x01
- };
+ };
protected:
@@ -47,18 +47,18 @@ namespace Heimdall unsigned int destination; // PDA / Modem
unsigned int sequenceByteCount;
- unsigned int unknown1;
- unsigned int chipIdentifier;
+ unsigned int unknown1; // EFS?
+ unsigned int deviceType;
protected:
- EndFileTransferPacket(unsigned int destination, unsigned int sequenceByteCount, unsigned int unknown1, unsigned int chipIdentifier)
+ EndFileTransferPacket(unsigned int destination, unsigned int sequenceByteCount, unsigned int unknown1, unsigned int deviceType)
: FileTransferPacket(FileTransferPacket::kRequestEnd)
{
this->destination = destination;
this->sequenceByteCount = sequenceByteCount;
this->unknown1 = unknown1;
- this->chipIdentifier = chipIdentifier;
+ this->deviceType = deviceType;
}
public:
@@ -78,9 +78,9 @@ namespace Heimdall return (unknown1);
}
- unsigned int GetChipIdentifier(void) const
+ unsigned int GetDeviceType(void) const
{
- return (chipIdentifier);
+ return (deviceType);
}
virtual void Pack(void)
@@ -90,7 +90,7 @@ namespace Heimdall PackInteger(FileTransferPacket::kDataSize, destination);
PackInteger(FileTransferPacket::kDataSize + 4, sequenceByteCount);
PackInteger(FileTransferPacket::kDataSize + 8, unknown1);
- PackInteger(FileTransferPacket::kDataSize + 12, chipIdentifier);
+ PackInteger(FileTransferPacket::kDataSize + 12, deviceType);
}
};
}
|