Skip to main content

Manual

NfcCard

Code

<NfcCard>...<NfcCard>

  • For reading MiFare Classic cards

    <NfcCard>
        <Type>MF_Classic</Type>
        <AuthType>Key A</AuthType>
        <KeyA>7nuuG/Vl0vr8YsQcvBnMiQ</KeyA>
        <SecKey>AoyXZvFTe9Lzfz1nDEUoLp</SecKey>
        <Aid>1KlLKMKEAsujKqgcehY/Lg</Aid>
        <FileNo>WBM3McyoN5Dq8J/u7fgFnQ</FileNo>
      </NfcCard>
    
  • For reading Desfire cards

    <NfcCard>
        <Type>MF_DESFire</Type>
        <AuthType>key_aos_128</AuthType>
        <KeyNo>Cikj+2PP94v0P1Te8JIt9E</KeyNo>
        <Aid>EJRqajvcvEv0L/kWhSMRIP</Aid>
        <HexKey>QI2A/ZEJXykxUwGMh7wvHFs+sXoWI5L2+iNXqRCxyZBcUvxyp6ez3St4P6dNqBcV</HexKey>
        <Fid>QzplsEAO9pkHclTx8Rjt0a</Fid>
        <FileNo>XLM3McyoN5Dq8J/u7fgFpP</FileNo>
        <CMode>Encrypted</CMode>
        <DataLength>16</DataLength>
        <RetType>ASCII</RetType>
        <DFName>821bVuClMpdVnqTMH+jzXzYO9NVWkr04QPDNtAnKPgZcUvxyp6ez3St4P6dNqZqY</DFName>
      </NfcCard>
  • For reading MiFare Ultralight

    <NfcCard>
        <Type>Ultra</Type>
        <Key>QI8H/SEJXykxUwGMh7wvHM9W67VjRGT0+3MMbMuOxg1cUvxyp6ez3St4P6dNqZqL</Key>
        <DataLength>16</DataLength>
        <RetType>ASCII</RetType>
      </NfcCard>

Enter custom keys for each of the pre-defined card types.

Important to know:

  • For Desfire and UltraLight cards, the key length is 32 characters.

  • In each of the card types, 3 custom key options are provided.

    The first two provide an option for entering the custom keys of the card, which can be entered by the customer Admin or CSE. Whereas, the third key refers to the static key available in the backend and does not require to be changed.

Warning

Generally, for Recreatex cards, the custom keys and the static key will be available in the backend and the data will be fetched as per the configuration of the NFC parameter.

However, for third-party cards, the customer Admin or CSE will be required to enter the custom keys so that the Admission app can read such cards.

When it is used

When a customer's card is scanned, the values defined in the code for various NFC cards enable the Admission app to identify whether it is a Recreatex card or a third-party card.