Skip to content

Commit

Permalink
Merge pull request nfc-tools#513 from Stean/master
Browse files Browse the repository at this point in the history
Add undocumented option -s to nfc-relay-picc help
  • Loading branch information
doegox authored Nov 7, 2018
2 parents 4ae4cc8 + f93169f commit b5641f8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions utils/nfc-relay-picc.1
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ tag <---> initiator (relay) <---> target (relay) <---> original reader
Commands are read from file descriptor 3
Responses are sent to file descriptor 4

\fB-s\fP
Swap roles of found devices
Usually the first found device is used as target (emulator) and the second
as initiator (reader). Using this option these roles are inversed.

\fB-n\fP \fIN\fP
Adds a waiting time of \fIN\fP seconds (integer) in the loop

Expand Down
1 change: 1 addition & 0 deletions utils/nfc-relay-picc.c
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ print_usage(char *argv[])
printf("\t-q\tQuiet mode. Suppress printing of relayed data (improves timing).\n");
printf("\t-t\tTarget mode only (the one on reader side). Data expected from FD3 to FD4.\n");
printf("\t-i\tInitiator mode only (the one on tag side). Data expected from FD3 to FD4.\n");
printf("\t-s\tSwap roles of found devices.\n");
printf("\t-n N\tAdds a waiting time of N seconds (integer) in the relay to mimic long distance.\n");
}

Expand Down

0 comments on commit b5641f8

Please sign in to comment.