mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
monster merge...
all those changes marshmellow did.. and more...
This commit is contained in:
parent
208550823d
commit
f28da2da6e
107 changed files with 5087 additions and 3777 deletions
|
@ -23,10 +23,20 @@ void GetFromBigBuf(uint8_t *dest, int bytes, int start_index) {
|
|||
clearCommandBuffer();
|
||||
SendCommand(&c);
|
||||
}
|
||||
void GetEMLFromBigBuf(uint8_t *dest, uint32_t bytes, uint32_t start_index) {
|
||||
// this will download the EMULATOR memory part from device,
|
||||
// inside the BigBuf EML zon.
|
||||
bool GetEMLFromBigBuf(uint8_t *dest, uint32_t bytes, uint32_t start_index) {
|
||||
sample_buf = dest;
|
||||
UsbCommand c = {CMD_DOWNLOAD_EML_BIGBUF, {start_index, bytes, 0}};
|
||||
clearCommandBuffer();
|
||||
SendCommand(&c);
|
||||
|
||||
// the download will be done inside cmdmain.c function UsbCommandReceived(UsbCommand *UC)
|
||||
|
||||
// we are waiting for the ACK
|
||||
if ( !WaitForResponseTimeout(CMD_ACK, NULL, 2500))
|
||||
return false;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue