Skip to main content

Manual

CCCards

Admission 5.0 supports the use of custom cards, such as Mifare Classic and Mifare Desfire EV1 and EV2.

In case you want to use two different configurations for Mifare Classic/Desfire cards, you will need to set up individual tags for each of the Mifare Classic/Desfire cards, which will be inside the tag <CCCards>.

The procedure to do so is explained below.

Procedure:
  1. Get the Admission app config XML file from Vintia support.

  2. Add custom Desfire/MiFare configurations and configure the Admission application again.

    Example:

    <CCCards>
    
    <MFDesfire>
    
             <AppId>"001234"</AppId>
    
             <ReadKeyNumber>1</ReadKeyNumber>
    
             <ReadKey>BB****************************BB</ReadKey>
    
             <EncType>AES</EncType>
    
             <FileNumber>1</FileNumber>
    
             <CommType>Enciphered</CommType>
    
             <FileType>Backup</FileType>
    
             <DataOffset>0</DataOffset>
    
             <DataLength>4</DataLength>
    
             <RetType>DEC</RetType>
    
    </MFDesfire>
    
    <MFClassic>
                <SectorNo>1</SectorNo>
    
                <BlockNo>0</BlockNo>
    
                <MFKeyType>KeyA</MFKeyType>
    
                <KeyA></KeyA>
    
                <KeyB></KeyB>
    
                <DataOffset>0</DataOffset>
    
                <DataLength>16</DataLength>
    
                <RetType>ASCII</RetType>
    
            </MFClassic>
    
    </CCCards>

    Parameter

    Description

    AppId

    Unique App Id. Must be in between double inverted commas.

    Eg. "001234"

    ReadKeyNumber

    Key number of the Read key

    ReadKey

    Read key value

    EncType

    Encryption Type (AES, 3Des, 2K3Des, 3K3Des)

    FileNumber

    File number where data is stored

    CommType

    Communication Type (Plain, MACed, Enciphered)

    FileType

    File Type (Backup,Standard)

    DataOffset

    Data Offset value (indicates from start position)

    DataLength

    Data Length value (indicates data length value from start position)

    RetType

    Defines the data type in which the card data will be converted (HEX, DEC, ASCII)

    Remarks:

    • The <MFDesfire>/<MFClassic> tag should be included within <CCCards> of the <Config> tag.

    • <CCCards> is an optional tag.

    • <CCCards> can have one or more <MFDesfire> or <MFClassic> tags.

    Example:

    <Config>
    
        <CCCards>
         
            <MFDesfire>
                .
                .
            </MFDesfire>
     
            <MFDesfire>
                .
                .
            </MFDesfire>
     
        </CCCards>
    
    </Config>

Note

In case Mifare Desfire is configured as a custom card and its AppId value is in Hex, you will need to add the <AppIdValueType> tag after the </CCCards> tag. See further, AppIdValueType