Merge pull request #513 from Stean/master
Add undocumented option -s to nfc-relay-picc help
This commit is contained in:
commit
b5641f8562
2 changed files with 6 additions and 0 deletions
|
@ -34,6 +34,11 @@ tag <---> initiator (relay) <---> target (relay) <---> original reader
|
||||||
Commands are read from file descriptor 3
|
Commands are read from file descriptor 3
|
||||||
Responses are sent to file descriptor 4
|
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
|
\fB-n\fP \fIN\fP
|
||||||
Adds a waiting time of \fIN\fP seconds (integer) in the loop
|
Adds a waiting time of \fIN\fP seconds (integer) in the loop
|
||||||
|
|
||||||
|
|
|
@ -99,6 +99,7 @@ print_usage(char *argv[])
|
||||||
printf("\t-q\tQuiet mode. Suppress printing of relayed data (improves timing).\n");
|
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-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-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");
|
printf("\t-n N\tAdds a waiting time of N seconds (integer) in the relay to mimic long distance.\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue