ATRMask: better describe the rule to be applied

Include some notes in order to properly define the ATR values.

Suggested-by: Doug Engert <>
Fix: issue #2321
This commit is contained in:
Vincent JARDIN 2021-05-07 02:32:56 +02:00 committed by Frank Morgner
parent 46c50dc51d
commit f0c059ede8
1 changed files with 5 additions and 0 deletions

View File

@ -63,6 +63,11 @@ typedef struct _MD_REGISTRATION
/* note: we could have added the minidriver registration data directly in OpenSC.wxs but coding it allows for more checks.
For example, do not uninstall the minidriver for a card if a middleware is already installed */
* In order to compute the proper ATRMask, see:
MD_REGISTRATION minidriver_registration[] = {
{TEXT("ePass2003"), {0x3b,0x9f,0x95,0x81,0x31,0xfe,0x9f,0x00,0x66,0x46,0x53,0x05,0x01,0x00,0x11,0x71,0xdf,0x00,0x00,0x03,0x6a,0x82,0xf8},
23, {0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff}},