mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
sh sniff skip some bytes from data - arm side
This commit is contained in:
parent
dcea185ca2
commit
0b95c519ff
3 changed files with 55 additions and 4 deletions
|
@ -1784,11 +1784,13 @@ static void PacketReceived(PacketCommandNG *packet) {
|
|||
struct p {
|
||||
uint32_t samplesToSkip;
|
||||
uint32_t triggersToSkip;
|
||||
uint8_t skipMode;
|
||||
uint8_t skipRatio;
|
||||
} PACKED;
|
||||
struct p *payload = (struct p *)packet->data.asBytes;
|
||||
|
||||
uint16_t len = 0;
|
||||
int res = HfSniff(payload->samplesToSkip, payload->triggersToSkip, &len);
|
||||
int res = HfSniff(payload->samplesToSkip, payload->triggersToSkip, &len, payload->skipMode, payload->skipRatio);
|
||||
|
||||
struct {
|
||||
uint16_t len;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue