How to access card0? | developer.brewmp.com How to access card0? | developer.brewmp.com

Developer

How to access card0?

Forums:

I have an applet that uses an extension.
This extension wants to read and write files to fs:/card0

How do I setup my MIF files for the applet & extension.

So far I have tried to add the extension CLSID in the applet MIF file and set the /card0 under "Access control" with rw/rw and group 0x0100800
In the applet MFX file this is found:

Is this enough?
or do I have to set the same in the extension MIF.

I do not understand the documentation in the "AEEFile.h":
"0x0101414E = r / rw :/card0" "\0" // CARD0_ACCESS read fs:/card0, all access under fs:/card0

What does "0x0101414E" mean?
Is that some static class that implements the access/API towards card0?
Is it a CLSID to be imported in the applet MIF
("imported" = added the same was as an extension dependency)?

Right now the program resets the device when trying to write to a file (this can however be an integration problem with the new HW).
Enumeration of card0 files works fine.

/H

0x0101414E is the privilege required to access (r/rw) fs:/card0. To add this privilege in your MIF, add the ID in CARD0_ACCESS.BID in the 'Dependencies' tab of the MIF file of your app

0x0101414E is the privilege required to access (r/rw) fs:/card0. To add this privilege in your MIF, add the ID in CARD0_ACCESS.BID in the 'Dependencies' tab of the MIF file of your app