I have an environment where two applets share data with each other via shared interfaces, both holds the reference of each other. When I try to delete any of them I get 6985. It seems like a deadlock condition to me. Can anyone suggest how can I flush them as I know keys. P.S. 1. Auth with isd done successfully. 2. On delete command with p2=80
Any help much appreciated.
It is a deadlock, that you cannot solve to my knowledge, as I have created a similar situation. The solution is to implement APDUs to dereference/release the sharedObjectInterfaces and run those before deleting or think about redesigning your data sharing approach into a a single SOI like a master/slave relation