mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-20 13:23:51 -07:00
xerox doesnt use framing
This commit is contained in:
parent
708898c942
commit
0796209ee4
1 changed files with 4 additions and 4 deletions
|
@ -1517,8 +1517,8 @@ static void CodeIso14443bAsReader(const uint8_t *cmd, int len, bool framing) {
|
||||||
int i;
|
int i;
|
||||||
tosend_reset();
|
tosend_reset();
|
||||||
|
|
||||||
// add framing enable flag. xerox chips use unframed commands during anticollision
|
// add framing enable flag.
|
||||||
|
// xerox chips use unframed commands during anticollision
|
||||||
if (framing) {
|
if (framing) {
|
||||||
// Send SOF
|
// Send SOF
|
||||||
// 10-11 ETUs of ZERO
|
// 10-11 ETUs of ZERO
|
||||||
|
@ -1881,12 +1881,12 @@ static int iso14443b_select_xrx_card(iso14b_card_select_t *card) {
|
||||||
iso14b_set_timeout(24); // wait for carrier
|
iso14b_set_timeout(24); // wait for carrier
|
||||||
|
|
||||||
// wup1
|
// wup1
|
||||||
CodeAndTransmit14443bAsReader(x_wup1, sizeof(x_wup1), &start_time, &eof_time, true);
|
CodeAndTransmit14443bAsReader(x_wup1, sizeof(x_wup1), &start_time, &eof_time, false);
|
||||||
|
|
||||||
start_time = eof_time + US_TO_SSP(9000); // 9ms before next cmd
|
start_time = eof_time + US_TO_SSP(9000); // 9ms before next cmd
|
||||||
|
|
||||||
// wup2
|
// wup2
|
||||||
CodeAndTransmit14443bAsReader(x_wup2, sizeof(x_wup2), &start_time, &eof_time, true);
|
CodeAndTransmit14443bAsReader(x_wup2, sizeof(x_wup2), &start_time, &eof_time, false);
|
||||||
|
|
||||||
uint64_t uid = 0;
|
uint64_t uid = 0;
|
||||||
uint16_t retlen = 0;
|
uint16_t retlen = 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue