mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-09-21 15:56:21 +08:00
read response
This commit is contained in:
parent
e3a50e0e1e
commit
0392cfaa9b
|
@ -41,8 +41,15 @@ static int CmdHFTexkomReader(const char *Cmd) {
|
|||
CLIParserFree(ctx);
|
||||
|
||||
uint32_t samplesCount = 40000;
|
||||
clearCommandBuffer();
|
||||
SendCommandNG(CMD_HF_ACQ_RAW_ADC, (uint8_t *)&samplesCount, sizeof(uint32_t));
|
||||
|
||||
PacketResponseNG resp;
|
||||
if (!WaitForResponseTimeout(CMD_HF_ACQ_RAW_ADC, &resp, 2500)) {
|
||||
PrintAndLogEx(WARNING, "(hf texkom reader) command execution time out");
|
||||
return PM3_ETIMEOUT;
|
||||
}
|
||||
|
||||
return PM3_SUCCESS;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue