Opened 12 years ago

Closed 12 years ago

#278 closed defect (fixed)

changeset 919 issue with multiple protocol and not pts with some readers

Reported by: dpeddi Owned by:
Priority: major Component:
Severity: medium Keywords:
Cc: Sensitive: no

Description

card: videoguard2 caid 919 and 93b
reader: smartreader2 in smartmouse mode

code with problem:
if (NeedsPTS) {

if (OffersT[0]) {

pps->parameters.t = ATR_PROTOCOL_TYPE_T0;
pps->parameters.FI = ATR_DEFAULT_FI;
pps->parameters.d = ATR_DEFAULT_D;

}

}

I think it should be

if (NeedsPTS) {

if (OffersT[0]) {

pps->parameters.t = ATR_PROTOCOL_TYPE_T0;

pps->parameters.FI = ATR_DEFAULT_FI;
pps->parameters.d = ATR_DEFAULT_D;

}

}

2009/12/31 0:21:08 17047 r03 Protocol 1: TA1=13 TB1=25 TC1=02 TD1=50 (T0)

2009/12/31 0:21:08 17047 r03 Protocol 2: TA2=80 TC2=0F no TD2 means T0

2009/12/31 0:21:08 17047 r03 1 protocol types detected. Historical bytes: 33 B0 13 69 FF 4A 50 D0 80 00 49 54 03

2009/12/31 0:21:08 17047 r03 PTS: Sending request: FF 10 13 FC

2009/12/31 0:21:09 17047 r03 PTS Failure for protocol 1, response:

2009/12/31 0:21:09 17047 r03 PTS: Sending request: FF 10 80 6F

2009/12/31 0:21:10 17047 r03 PTS Failure for protocol 2, response:

2009/12/31 0:21:10 17047 r03 No PTS happened, selected protocol 1: T0, F=372, D=1.000000, N=2

correct values that enable card readings are:

T0, F=372, D=4.000000, N=2

I get these parameter back by disable commenting out code above

Change History (2)

comment:1 by dpeddi, 12 years ago

should be solved with changeset "1061"...

comment:2 by dpeddi, 12 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.