llj098 / seek-for-android

Automatically exported from code.google.com/p/seek-for-android
0 stars 0 forks source link

Failed to open Logical channel using method openLogicalChannel() for SmartCardMX #89

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What's the problem?
Getting "OpenBasicChannel Exception: Access Control Enforcer: no APDU access 
allowed!" for SmartCardMX Terminal
when try to call _session.openLogicalChannel(aid) from application.

What steps will reproduce the problem?
1.Boot the device.
2.Make sure that Smartcard service is up after reboot.
3.Install the application to open the channel with API 
_session.openLogicalChannel(aid)
4.OpenLogicalChannel() failed
 Please find the below logs.

V/SmartcardService( 1385): Enable access control on logical channel for 
org.simalliance.openmobileapi.test2
V/SmartcardService( 1385): Conflict Resolution Case C returning access rule 
'NEVER'.
V/SmartcardService( 1385): OpenLogicalChannel Exception: Access Control 
Enforcer: no APDU access allowed!

Here, org.simalliance.openmobileapi.test2 is application package name.

What is the expected output? What do you see instead?
Logical channel should open successfully.

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by raja79k on 14 Jan 2015 at 2:52