I am using pyscard 2.6.12 and python 2.7.2 and I have a issue with ScardControl.
When calling SCardControl to send proprietary command to reader, the ScardControl returns 0x0000001F error code.
Only SCardControl calls sending data to reader, are having this behavior.
SCardControl, used for getting attributes for example, still runs fine.
Please find attached a sample code.
This code works fine using python 2.5 and 2.6 but fails on python 2.7.
Unfortunately, as these commands are proprietary to our CL1356A+ reader , you will not been able to run this code. If you cannot adapt this code on another reader, I can eventually lend you a CL1356A+ reader for debugging purposes.