camcima / chinese-dukpt

MIT License
1 stars 1 forks source link

Issues with sending APDU commands #1

Open Bubcho opened 9 years ago

Bubcho commented 9 years ago

Hello @camcima, I'm integrating the code from your project into my application and I'm trying to read the data on a card. I have success with the swipe function and I'm getting the card data. But I run into problems when trying to send an APDU command to a chip card. Whenever I issue a SELECT command, everything I get back from the reader is a response with status 0xBB and no data. I am using three different chip cards, one MasterCard, one Diners Club and one Maestro, but the outcome is the same with all of them. And if I send another command, like GET PROCESSING OPTIONS, I get an EXC_BAD_ACCESS exception in -[AudioAnalyInterface SendUserData:::] at /Users/deftunmac/Desktop/IOS/Compatibility_1.0.1/CardAnalyLib/AudioAnalyInterface.mm:573 Any help will be very appreciated! Thanks!

wajahatch888 commented 9 years ago

@Bubcho I am also working on Chip card. My swipe function is working fine . i have also completed Chip card functionality on Android but on iPhone same APDU commands are not working. i am using same command on Iphone but it always give me "6E00". Can you please tell me how you sort it out ? or how you are getting "0XBB" error ? I am always getting "6E00" on every SELECT command. Thanks.