]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/data.c
CHG: changed to use BigBuff_Eml memory instead of big_buff_malloc.
[proxmark3-svn] / client / data.c
index 1725944eb9b10cc9eab469cb91e30eebf951b3a0..184a63b61220ae06e9fea5c29b3754101d95b2fa 100644 (file)
@@ -23,3 +23,10 @@ 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) {
+       sample_buf = dest;
+       UsbCommand c = {CMD_DOWNLOAD_EML_BIGBUF, {start_index, bytes, 0}};
+       clearCommandBuffer();
+       SendCommand(&c);
+}
+
Impressum, Datenschutz