WHQL Test: about the Siemens Nixdorf Card

Discussion in 'Windows Vista Drivers' started by laudraup, Jun 23, 2004.

  1. laudraup

    laudraup Guest

    Part D: Smart Card Provider Test
    Insert any of the following PC/SC Compliance Test Cards:
    * Bull
    * G & D
    * IBM
    Testing card SIEMENS NIXDORF

    Test No. 1
    Buffer boundary test * FAILED
    - Transmit should fail due to too small buffer

    to solve it,the follwing code works...

    Status = SmartcardT1Request(SmartcardExtension);
    if ( Status != STATUS_SUCCESS )
    return Status;

    but it caused another bug:

    IFSD request * FAILED
    - Test not performed

    if I don't return the failing Status when SmartcardT1Request failed,
    IFSD request would passed.

    Does anyone here had met such problem???

    quite at sea now:-(

    do the boundary test and the IFSD request conflict?
    laudraup, Jun 23, 2004
    1. Advertisements

  2. laudraup

    Walter Oney Guest

    This test is simply verifying that somebody is making sure the target
    buffer is big enough to hold the data being returned from the card. If
    you were calling SmartCardT0Request and SmartCardT1Request (and the
    corresponding Reply functions) you wouldn't be having this difficulty.

    You've asked several specialized questions about SmartCard driver
    programming in the recent past. My best considered advice at this point
    is that your company should have you stop working on this driver and
    subcontract it to an expert. There are many more problems here than you
    know about, and many more than IFDTEST will catch. Not to mention all
    the basic issues with PnP and power management that are lurking down the
    road when you get to running all of the WHQL tests, issues with the
    resource manager on 98/Me, etc.
    Walter Oney, Jun 23, 2004
    1. Advertisements

  3. laudraup

    laudraup Guest

    Bug fixed.
    It is caused by the timeout of the serial reader itself.
    laudraup, Jul 9, 2004
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.