<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with SAPE SAP Editor -->
<SAP xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="sap.xsd">
    <DocInfoSection>
        <DocName DocType="SAP">sim</DocName>
        <DocNum Number="108" Project="6147"/>
        <Description>
            <Section>The Protocol Stacks are used to define the functionality of the GSM protocols for interfaces. The GSM specifications are normative when used to describe the functionality of interfaces, but the stacks and the subdivision of protocol layers does not imply or restrict any implementation.</Section>
            <Section>The base of the Protocol Stack rests on the physical layer.</Section>
            <Section>The Data Link Layer (DL) is used to handle an acknowledged connection between mobile and base station. The LAPDm protocol is used.</Section>
            <Section>Radio Resource (RR) manages the resources of the air-interface. That means configuration of physical layer, cell selection and cell reselection, data transfer, RR-Connection handling.</Section>
            <Section>Mobility Management (MM) handles registration aspects for the mobile station. It detects changes of location areas and updates a mobile station in the new location area.</Section>
            <Section>Call Control (CC) provides the call functionality. This includes call establishment, call maintenance procedures like Hold, Retrieve or Modify, and call disconnection.</Section>
            <Section>Supplementary Services (SS) handles all call independent supplementary services like call forwarding or call barring.</Section>
            <Section>Short Message Services (SMS) is used for sending and receiving point-to-point short messages.</Section>
            <Section>The man machine interface (MMI) is the interface to the user. Normally it is connected with a keypad as input device and a display as output device.</Section>
            <Section>Between the several entities data interfaces are defined. These data interfaces are called Service Access Points (SAPs), indicating that an upper layer uses the services of a lower layer.</Section>
            <Section>The GSM specification do not set out any implementation of the Protocol Stack. The following diagrams show the implementation described in all these documents for the mobile station. All entities except the Man Machine Interface and Physical Layer are implemented as part of the Protocol Stack.</Section>
            <Section>Figure 1: Mobile-station protocol architecture</Section>
            <Section>This document describes the services offered by the subscriber identity module to mobility management, man machine interface and short message services.</Section>
        </Description>
        <DocHistory>
            <DocVersion Number="100" Year="99"/>
            <Date Day="19" Month="4" Year="2002"/>
            <Author>VK</Author>
            <DocStatus State="APPROVED"/>
            <Comment>Introduce 'Document History'.</Comment>
        </DocHistory>
        <DocHistory>
            <DocVersion Number="101" Year="99"/>
            <Date Day="20" Month="10" Year="1997"/>
            <Author>LE</Author>
            <DocStatus State="BEING_PROCESSED"/>
            <Comment>Adaptions to SIM application</Comment>
        </DocHistory>
        <DocHistory>
            <DocVersion Number="102" Year="99"/>
            <Date Day="28" Month="5" Year="1997"/>
            <Author>VK</Author>
            <DocStatus State="BEING_PROCESSED"/>
            <Comment>Add dummy parameter to avoid empty primitives.</Comment>
        </DocHistory>
        <DocHistory>
            <DocVersion Number="103" Year="99"/>
            <Date Day="28" Month="9" Year="1998"/>
            <Author>LE</Author>
            <DocStatus State="BEING_PROCESSED"/>
            <Comment>SIM Toolkit added.</Comment>
        </DocHistory>
        <DocHistory>
            <DocVersion Number="104" Year="99"/>
            <Date Day="19" Month="7" Year="1999"/>
            <Author>AK</Author>
            <DocStatus State="BEING_PROCESSED"/>
            <Comment>SDU introduced for STK primitives.</Comment>
        </DocHistory>
        <DocHistory>
            <DocVersion Number="105" Year="99"/>
            <Date Day="4" Month="7" Year="2000"/>
            <Author>ANS</Author>
            <DocStatus State="BEING_PROCESSED"/>
            <Comment>GPRS primitives added.</Comment>
        </DocHistory>
        <DocHistory>
            <DocVersion Number="106" Year="99"/>
            <Date Day="10" Month="4" Year="2002"/>
            <Author>DL</Author>
            <DocStatus State="BEING_PROCESSED"/>
            <Comment>Viag 1st level DF and EF names added.</Comment>
        </DocHistory>
        <DocHistory>
            <DocVersion Number="107" Year="99"/>
            <Date Day="19" Month="4" Year="2002"/>
            <Author>SBK</Author>
            <DocStatus State="BEING_PROCESSED"/>
            <Comment>Switch to new template. Switch to 32bit opcodes.</Comment>
        </DocHistory>
        <DocHistory>
            <DocVersion Number="108" Year="99"/>
            <Date Day="12" Month="4" Year="2002"/>
            <Author>STW</Author>
            <DocStatus State="BEING_PROCESSED"/>
            <Comment>put BIP suspension and resumption in  SIM_DTI_REQ primitive</Comment>
        </DocHistory>
        <DocHistory>
            <DocVersion Number="109" Year="99"/>
            <Date Day="25" Month="4" Year="2002"/>
            <Author>JK</Author>
            <DocStatus State="BEING_PROCESSED"/>
            <Comment>add test primitives</Comment>
        </DocHistory>
        <DocHistory>
            <DocVersion Number="110" Year="99"/>
            <Date Day="14" Month="5" Year="2002"/>
            <Author>RM</Author>
            <DocStatus State="BEING_PROCESSED"/>
            <Comment>tui parameter deleted</Comment>
        </DocHistory>
        <DocHistory>
            <DocVersion Number="111" Year="99"/>
            <Date Day="23" Month="9" Year="2002"/>
            <Author>JK</Author>
            <DocStatus State="BEING_PROCESSED"/>
            <Comment>add versions 107-109</Comment>
        </DocHistory>
        <DocHistory>
            <DocVersion Number="112" Year="99"/>
            <Date Day="11" Month="11" Year="2002"/>
            <Author>FK</Author>
            <DocStatus State="BEING_PROCESSED"/>
            <Comment>Introduction of Cause Concept</Comment>
        </DocHistory>
        <DocHistory>
            <DocVersion Number="113" Year="99"/>
            <Date Day="24" Month="1" Year="2003"/>
            <Author>FK</Author>
            <DocStatus State="BEING_PROCESSED"/>
            <Comment>Cause value added</Comment>
        </DocHistory>
        <DocRef>
            <RefId>[C_7010.801]</RefId>
            <RefTitle>7010.801, References and Vocabulary, TI Berlin AG</RefTitle>
        </DocRef>
    </DocInfoSection>
    <ConstantsSection>
        <Description>
            <Section>This section contains all constants that are defined for the SIM SAP</Section>
        </Description>
        <Constant>
            <Alias>MAX_STK_CMD</Alias>
            <Value ValueType="DEC">256</Value>
            <Comment>Maximum length of SIM Toolkit data</Comment>
        </Constant>
        <Constant>
            <Alias>MAX_SIM_CMD</Alias>
            <Value ValueType="DEC">256</Value>
            <Comment>Maximum length of other SIM data</Comment>
        </Constant>
        <Constant>
            <Alias>MAX_SIM_TRANSP</Alias>
            <Value ValueType="DEC">262</Value>
            <Comment>Maximum length of transparent SIM command</Comment>
        </Constant>
        <Constant>
            <Alias>MAX_SIM_ATR</Alias>
            <Value ValueType="DEC">33</Value>
            <Comment>Maximum length of Answer to Reset</Comment>
        </Constant>
        <Constant>
            <Alias>MAX_PIN_LEN</Alias>
            <Value ValueType="DEC">8</Value>
            <Comment>Maximum length of a PIN string</Comment>
        </Constant>
        <Constant>
            <Alias>MAX_FILE_ID</Alias>
            <Value ValueType="DEC">64</Value>
            <Comment>Maximum possible number of IDs due to the coding scheme (1/4 of MAX_SIM_CMD!)</Comment>
        </Constant>
        <Constant>
            <Alias>MAX_STK_PRF</Alias>
            <Value ValueType="DEC">20</Value>
            <Comment>Number of bytes in Terminal Profile</Comment>
        </Constant>
        <Constant>
            <Alias>MAX_SRV_TBL</Alias>
            <Value ValueType="DEC">16</Value>
            <Comment>Number of bytes in SIM Service Table</Comment>
        </Constant>
        <Constant>
            <Alias>MAX_LNG_PREF</Alias>
            <Value ValueType="DEC">5</Value>
            <Comment>Number of bytes to be read from EF(LP)</Comment>
        </Constant>
        <Constant>
            <Alias>MAX_ECC</Alias>
            <Value ValueType="DEC">15</Value>
            <Comment>Number of bytes to be read from EF(ECC)</Comment>
        </Constant>
        <Constant>
            <Alias>MAX_PREF_PLMN</Alias>
            <Value ValueType="DEC">240</Value>
            <Comment>Number of bytes to be read from EF(PLMNsel)</Comment>
        </Constant>
        <Constant>
            <Alias>MAX_IMSI</Alias>
            <Value ValueType="DEC">9</Value>
            <Comment>Number of bytes to be read from EF(IMSI)</Comment>
        </Constant>
        <Constant>
            <Alias>MAX_KC</Alias>
            <Value ValueType="DEC">8</Value>
            <Comment>Number of bytes of Cipherinh key KC and KCGPRS</Comment>
        </Constant>
        <Constant>
            <Alias>MAX_LOCIGSM</Alias>
            <Value ValueType="DEC">11</Value>
            <Comment>Number of bytes to be read from EF(LOCI)</Comment>
        </Constant>
        <Constant>
            <Alias>MAX_LOCIGPRS</Alias>
            <Value ValueType="DEC">14</Value>
            <Comment>Number of bytes to be read from EF(LOCIGPRS)</Comment>
        </Constant>
        <Constant>
            <Alias>MAX_RAND</Alias>
            <Value ValueType="DEC">16</Value>
            <Comment>Number of bytes to be read rand</Comment>
        </Constant>
        <Constant>
            <Alias>MAX_SRES</Alias>
            <Value ValueType="DEC">4</Value>
            <Comment>Number of bytes to be read sres</Comment>
        </Constant>
        <Constant>
            <Alias>MAX_SIM_PLMN_SIZE</Alias>
            <Value ValueType="DEC">3</Value>
            <Comment>Number of bytes to be read for a single PLMN in SIM</Comment>
        </Constant>
        <Constant>
            <Alias>MAX_AD</Alias>
            <Value ValueType="DEC">4</Value>
            <Comment>Number of bytes to be read from Administrative Data</Comment>
        </Constant>
        <Constant>
            <Alias>MAX_TRMST</Alias>
            <Value ValueType="DEC">8</Value>
            <Comment>Number of bytes to be written to TRMST EF</Comment>
        </Constant>
        <Constant>
            <Alias>SIM_CLASS_E_BUFFER_SIZE</Alias>
            <Value ValueType="DEC">1500</Value>
            <Comment>Size of the send buffer in SAT class e</Comment>
        </Constant>
        <Constant>
            <Alias>SIM_ORIGINATING_ENTITY</Alias>
            <ItemLink>
                <DocName DocType="SAP">gsmcom</DocName>
                <Name>SIM_ORIGINATING_ENTITY</Name>
            </ItemLink>
            <Comment>mask for indicating the originating entity of a cause is SIM</Comment>
        </Constant>
        <Constant>
            <Alias>MAX_CBMID_REC</Alias>
            <Value ValueType="DEC">255</Value>
            <Comment>Number of bytes to be read from EF(CBMID)</Comment>
        </Constant>
        <History>
            <Date Day="16" Month="12" Year="1996"/>
            <Author>LE</Author>
            <Comment>Initial</Comment>
        </History>
        <History>
            <Date Day="30" Month="5" Year="1997"/>
            <Author>MS</Author>
            <Comment>Revised</Comment>
        </History>
        <History>
            <Date Day="28" Month="9" Year="1998"/>
            <Author>LE</Author>
            <Comment>MAX_STK_CMD added</Comment>
        </History>
        <History>
            <Date Day="30" Month="9" Year="1999"/>
            <Author>LE</Author>
            <Comment>MAX_SIM_CMD added, MAX_PATTERN removed</Comment>
        </History>
        <History>
            <Date Day="5" Month="10" Year="1999"/>
            <Author>FK</Author>
            <Comment>MAX_STK_PRF added</Comment>
        </History>
        <History>
            <Date Day="1" Month="2" Year="2000"/>
            <Author>FK</Author>
            <Comment>MAX_SRV_TBL, MAX_LNG_PREF; MAX_ECC and MAX_FILE_ID added</Comment>
        </History>
        <History>
            <Date Day="13" Month="2" Year="2000"/>
            <Author>FK</Author>
            <Comment>MAX_SRV_TBL increased to 16 bytes, MAX_STK_PRF increased to 12 bytes</Comment>
        </History>
        <History>
            <Date Day="18" Month="3" Year="2002"/>
            <Author>STW</Author>
            <Comment>SIM_CLASS_E_BUFFER_SIZE added</Comment>
        </History>
        <History>
            <Date Day="15" Month="4" Year="2002"/>
            <Author>JK</Author>
            <Comment>MAX_STK_PRF increased to 20 bytes (for SAT class e)</Comment>
        </History>
        <History>
            <Date Day="8" Month="10" Year="2002"/>
            <Author>FK</Author>
            <Comment>MAX_DATA deleted; MAX_LOCIGSM added</Comment>
        </History>
        <History>
            <Date Day="11" Month="11" Year="2002"/>
            <Author>FK</Author>
            <Comment>Merge with G23M-S103; MAX_IMSI, MAX_PIN_LEN added</Comment>
        </History>
        <History>
            <Date Day="29" Month="7" Year="2003"/>
            <Author>FK</Author>
            <Comment>Definitions MAX_SIM_TRANSP, MAX_SIM_ATR added</Comment>
        </History>
        <History>
            <Date Day="08" Month="09" Year="2004"/>
            <Author>xkramamu</Author>
            <Comment>Definitions of MAX_SIM_PLMN_SIZE, MAX_AD added</Comment>
        </History>
        <History>
            <Date Day="08" Month="09" Year="2004"/>
            <Author>xkramamu</Author>
            <Comment>Definition MAX_TRMST added </Comment>
        </History>
    </ConstantsSection>
    <PrimitivesSection PrimIDType="BIT32" SAPid="5">
        <Description>
            <Section>This section contains all primitives that are defined for the SIM SAP</Section>
        </Description>
        <Primitive>
            <Description>
                <Section>The SIM_READ_REQ shall be sent to the subscriber identity module for reading a datafield. It is possible to read binary or formatted fields.</Section>
            </Description>
            <PrimDef>
                <Name>SIM_READ_REQ</Name>
                <PrimID Direction="DOWNLINK" Number="0"/>
                <PrimUsage>
                    <Sender>XX</Sender>
                    <Receiver>SIM</Receiver>
                </PrimUsage>
            </PrimDef>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>source</Name>
                </ItemLink>
                <Comment>source</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>offset</Name>
                </ItemLink>
                <Comment>offset</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>datafield</Name>
                </ItemLink>
                <Comment>data field</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>length</Name>
                </ItemLink>
                <Comment>length</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>max_length</Name>
                </ItemLink>
                <Comment>Max length</Comment>
            </PrimItem>
            <History>
                <Date Day="16" Month="12" Year="1996"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
            <History>
                <Date Day="30" Month="5" Year="1997"/>
                <Author>MS</Author>
                <Comment>Revised</Comment>
            </History>
            <History>
                <Date Day="2" Month="2" Year="2000"/>
                <Author>FK</Author>
                <Comment>source, offset changed to type USHORT</Comment>
            </History>
        </Primitive>
        <Primitive>
            <Description>
                <Section>The SIM_READ_CNF primitive is the response of a previous SIM_READ_REQ. It contains the requested datafield or the errorcode.</Section>
            </Description>
            <PrimDef>
                <Name>SIM_READ_CNF</Name>
                <PrimID Direction="UPLINK" Number="0"/>
                <PrimUsage>
                    <Sender>SIM</Sender>
                    <Receiver>XX</Receiver>
                </PrimUsage>
            </PrimDef>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>datafield</Name>
                </ItemLink>
                <Comment>data field</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>cause</Name>
                </ItemLink>
                <Comment>error code</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>length</Name>
                </ItemLink>
                <Comment>Data</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>trans_data</Name>
                </ItemLink>
                <Control>[MAX_SIM_CMD]</Control>
                <Comment>Received data</Comment>
            </PrimItem>
            <History>
                <Date Day="16" Month="12" Year="1996"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
            <History>
                <Date Day="30" Month="5" Year="1997"/>
                <Author>MS</Author>
                <Comment>Revised</Comment>
            </History>
            <History>
                <Date Day="30" Month="9" Year="1999"/>
                <Author>LE</Author>
                <Comment>length and data changed</Comment>
            </History>
        </Primitive>
        <Primitive>
            <Description>
                <Section>The SIM_UPDATE_REQ is used for updating the contents of a datafield. It is possible to write to binary or formatted datafields.</Section>
            </Description>
            <PrimDef>
                <Name>SIM_UPDATE_REQ</Name>
                <PrimID Direction="DOWNLINK" Number="1"/>
                <PrimUsage>
                    <Sender>XX</Sender>
                    <Receiver>SIM</Receiver>
                </PrimUsage>
            </PrimDef>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>source</Name>
                </ItemLink>
                <Comment>source</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>offset</Name>
                </ItemLink>
                <Comment>offset</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>datafield</Name>
                </ItemLink>
                <Comment>data field</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>length</Name>
                </ItemLink>
                <Comment>Data</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>trans_data</Name>
                </ItemLink>
                <Control>[MAX_SIM_CMD]</Control>
                <Comment>send data</Comment>
            </PrimItem>
            <History>
                <Date Day="16" Month="12" Year="1996"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
            <History>
                <Date Day="30" Month="5" Year="1997"/>
                <Author>MS</Author>
                <Comment>Revised</Comment>
            </History>
            <History>
                <Date Day="6" Month="10" Year="1999"/>
                <Author>LE</Author>
                <Comment>data changed to length and trans_data</Comment>
            </History>
            <History>
                <Date Day="2" Month="2" Year="2000"/>
                <Author>FK</Author>
                <Comment>source, offset changed to type USHORT</Comment>
            </History>
        </Primitive>
        <Primitive>
            <Description>
                <Section>The SIM_UPDATE_CNF primitive is the response to a previous SIM_UPDATE_REQ primitive. If the update request has failed an errorcode is given to the requesting party.</Section>
            </Description>
            <PrimDef>
                <Name>SIM_UPDATE_CNF</Name>
                <PrimID Direction="UPLINK" Number="1"/>
                <PrimUsage>
                    <Sender>SIM</Sender>
                    <Receiver>XX</Receiver>
                </PrimUsage>
            </PrimDef>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>datafield</Name>
                </ItemLink>
                <Comment>data field</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>cause</Name>
                </ItemLink>
                <Comment>error code</Comment>
            </PrimItem>
            <History>
                <Date Day="16" Month="12" Year="1996"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
            <History>
                <Date Day="30" Month="5" Year="1997"/>
                <Author>MS</Author>
                <Comment>Revised</Comment>
            </History>
        </Primitive>
        <Primitive>
            <Description>
                <Section>The SIM_READ_RECORD_REQ is used to read a record of a formatted datafield. It is used only for formatted datafields. If the record number is 1, the SIM application calculates the maximum number of records and the record length by itself and forwards this information with the confirmation of this request to the application.</Section>
            </Description>
            <PrimDef>
                <Name>SIM_READ_RECORD_REQ</Name>
                <PrimID Direction="DOWNLINK" Number="2"/>
                <PrimUsage>
                    <Sender>XX</Sender>
                    <Receiver>SIM</Receiver>
                </PrimUsage>
            </PrimDef>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>source</Name>
                </ItemLink>
                <Comment>source</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>datafield</Name>
                </ItemLink>
                <Comment>data field</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>record</Name>
                </ItemLink>
                <Comment>record number</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>length</Name>
                </ItemLink>
                <Comment>length</Comment>
            </PrimItem>
            <History>
                <Date Day="16" Month="12" Year="1996"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
            <History>
                <Date Day="30" Month="5" Year="1997"/>
                <Author>MS</Author>
                <Comment>Revised</Comment>
            </History>
        </Primitive>
        <Primitive>
            <Description>
                <Section>The SIM_READ_RECORD_CNF is used as response to a previous SIM_READ_RECORD_REQ. It contains the requested record.</Section>
            </Description>
            <PrimDef>
                <Name>SIM_READ_RECORD_CNF</Name>
                <PrimID Direction="UPLINK" Number="2"/>
                <PrimUsage>
                    <Sender>SIM</Sender>
                    <Receiver>XX</Receiver>
                </PrimUsage>
            </PrimDef>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>datafield</Name>
                </ItemLink>
                <Comment>data field</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>cause</Name>
                </ItemLink>
                <Comment>error code</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>record</Name>
                </ItemLink>
                <Comment>record number</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>max_record</Name>
                </ItemLink>
                <Comment>max record number</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>length</Name>
                </ItemLink>
                <Comment>Data</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>linear_data</Name>
                </ItemLink>
                <Control>[MAX_SIM_CMD]</Control>
                <Comment>send data</Comment>
            </PrimItem>
            <History>
                <Date Day="16" Month="12" Year="1996"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
            <History>
                <Date Day="30" Month="5" Year="1997"/>
                <Author>MS</Author>
                <Comment>Revised</Comment>
            </History>
            <History>
                <Date Day="12" Month="10" Year="1998"/>
                <Author>LE</Author>
                <Comment>max_record added</Comment>
            </History>
            <History>
                <Date Day="6" Month="10" Year="1999"/>
                <Author>LE</Author>
                <Comment>length and linear data replaces data.</Comment>
            </History>
        </Primitive>
        <Primitive>
            <Description>
                <Section>The SIM_UPDATE_RECORD_REQ is used for updating the contents of a datafield. It is possible only to write to formatted datafields.</Section>
            </Description>
            <PrimDef>
                <Name>SIM_UPDATE_RECORD_REQ</Name>
                <PrimID Direction="DOWNLINK" Number="4"/>
                <PrimUsage>
                    <Sender>XX</Sender>
                    <Receiver>SIM</Receiver>
                </PrimUsage>
            </PrimDef>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>source</Name>
                </ItemLink>
                <Comment>source</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>datafield</Name>
                </ItemLink>
                <Comment>data field</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>record</Name>
                </ItemLink>
                <Comment>record</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>length</Name>
                </ItemLink>
                <Comment>Data</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>linear_data</Name>
                </ItemLink>
                <Control>[MAX_SIM_CMD]</Control>
                <Comment>send data</Comment>
            </PrimItem>
            <History>
                <Date Day="16" Month="12" Year="1996"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
            <History>
                <Date Day="30" Month="5" Year="1997"/>
                <Author>MS</Author>
                <Comment>Revised</Comment>
            </History>
            <History>
                <Date Day="6" Month="10" Year="1999"/>
                <Author>LE</Author>
                <Comment>data changed to length plus linear data</Comment>
            </History>
        </Primitive>
        <Primitive>
            <Description>
                <Section>The SIM_UPDATE_RECORD_CNF primitive is the response to a previous SIM_UPDATE_RECORD_REQ primitive. If the update request has failed an errorcode is given to the requesting party.</Section>
            </Description>
            <PrimDef>
                <Name>SIM_UPDATE_RECORD_CNF</Name>
                <PrimID Direction="UPLINK" Number="4"/>
                <PrimUsage>
                    <Sender>SIM</Sender>
                    <Receiver>XX</Receiver>
                </PrimUsage>
            </PrimDef>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>datafield</Name>
                </ItemLink>
                <Comment>data field</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>record</Name>
                </ItemLink>
                <Comment>record</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>cause</Name>
                </ItemLink>
                <Comment>error code</Comment>
            </PrimItem>
            <History>
                <Date Day="16" Month="12" Year="1996"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
            <History>
                <Date Day="30" Month="5" Year="1997"/>
                <Author>MS</Author>
                <Comment>Revised</Comment>
            </History>
            <History>
                <Date Day="8" Month="5" Year="1998"/>
                <Author>LE</Author>
                <Comment>record added</Comment>
            </History>
        </Primitive>
        <Primitive>
            <Description>
                <Section>The SIM_INCREMENT_REQ is used to process an INCREMENT operation on a datafield.</Section>
            </Description>
            <PrimDef>
                <Name>SIM_INCREMENT_REQ</Name>
                <PrimID Direction="DOWNLINK" Number="8"/>
                <PrimUsage>
                    <Sender>XX</Sender>
                    <Receiver>SIM</Receiver>
                </PrimUsage>
            </PrimDef>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>source</Name>
                </ItemLink>
                <Comment>source</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>datafield</Name>
                </ItemLink>
                <Comment>data field</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>length</Name>
                </ItemLink>
                <Comment>Data</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>linear_data</Name>
                </ItemLink>
                <Control>[MAX_SIM_CMD]</Control>
                <Comment>send data</Comment>
            </PrimItem>
            <History>
                <Date Day="16" Month="12" Year="1996"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
            <History>
                <Date Day="30" Month="5" Year="1997"/>
                <Author>MS</Author>
                <Comment>Revised</Comment>
            </History>
            <History>
                <Date Day="6" Month="10" Year="1999"/>
                <Author>LE</Author>
                <Comment>data replaced by length and linear data</Comment>
            </History>
        </Primitive>
        <Primitive>
            <Description>
                <Section>The SIM_INCREMENT_CNF primitive is the response to a previous SIM_INCREMENT_REQ primitive. An error code is forwarded to the requesting party and if the operation was successful the increased value is given back.</Section>
            </Description>
            <PrimDef>
                <Name>SIM_INCREMENT_CNF</Name>
                <PrimID Direction="UPLINK" Number="8"/>
                <PrimUsage>
                    <Sender>SIM</Sender>
                    <Receiver>XX</Receiver>
                </PrimUsage>
            </PrimDef>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>datafield</Name>
                </ItemLink>
                <Comment>data field</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>cause</Name>
                </ItemLink>
                <Comment>error code</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>length</Name>
                </ItemLink>
                <Comment>Data</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>linear_data</Name>
                </ItemLink>
                <Control>[MAX_SIM_CMD]</Control>
                <Comment>send data</Comment>
            </PrimItem>
            <History>
                <Date Day="16" Month="12" Year="1996"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
            <History>
                <Date Day="30" Month="5" Year="1997"/>
                <Author>MS</Author>
                <Comment>Revised</Comment>
            </History>
            <History>
                <Date Day="6" Month="10" Year="1999"/>
                <Author>LE</Author>
                <Comment>data replaced by length and linear data</Comment>
            </History>
        </Primitive>
        <Primitive>
            <Description>
                <Section>The SIM_VERIFY_PIN_REQ is used to verify a personal identity number stored on the SIM card. If the PIN is wrong the internal chipcard counter is decreased. If the counter is zero the card is blocked.</Section>
            </Description>
            <PrimDef>
                <Name>SIM_VERIFY_PIN_REQ</Name>
                <PrimID Direction="DOWNLINK" Number="9"/>
                <PrimUsage>
                    <Sender>XX</Sender>
                    <Receiver>SIM</Receiver>
                </PrimUsage>
            </PrimDef>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>source</Name>
                </ItemLink>
                <Comment>source</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>pin</Name>
                </ItemLink>
                <Control>[MAX_PIN_LEN]</Control>
                <Comment>personal identity number</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>pin_id</Name>
                </ItemLink>
                <Comment>pin identification</Comment>
            </PrimItem>
            <History>
                <Date Day="16" Month="12" Year="1996"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
            <History>
                <Date Day="30" Month="5" Year="1997"/>
                <Author>MS</Author>
                <Comment>Revised</Comment>
            </History>
        </Primitive>
        <Primitive>
            <Description>
                <Section>The SIM_VERIFY_PIN_CNF primitive is the response to a previous SIM_VERIFY_PIN_REQ primitive. An error code is forwarded to the requesting party.</Section>
            </Description>
            <PrimDef>
                <Name>SIM_VERIFY_PIN_CNF</Name>
                <PrimID Direction="UPLINK" Number="9"/>
                <PrimUsage>
                    <Sender>SIM</Sender>
                    <Receiver>XX</Receiver>
                </PrimUsage>
            </PrimDef>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>cause</Name>
                </ItemLink>
                <Comment>error code</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>pin_id</Name>
                </ItemLink>
                <Comment>pin identification</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>pin_cnt</Name>
                </ItemLink>
                <Comment>pin count</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>puk_cnt</Name>
                </ItemLink>
                <Comment>puk count</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>pin2_cnt</Name>
                </ItemLink>
                <Comment>pin 2 count</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>puk2_cnt</Name>
                </ItemLink>
                <Comment>puk 2 count</Comment>
            </PrimItem>
            <History>
                <Date Day="16" Month="12" Year="1996"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
            <History>
                <Date Day="30" Month="5" Year="1997"/>
                <Author>MS</Author>
                <Comment>Revised</Comment>
            </History>
            <History>
                <Date Day="3" Month="12" Year="1999"/>
                <Author>LE</Author>
                <Comment>counter added</Comment>
            </History>
        </Primitive>
        <Primitive>
            <Description>
                <Section>The SIM_CHANGE_PIN_REQ is used to change a personal identity number stored on the SIM card.</Section>
            </Description>
            <PrimDef>
                <Name>SIM_CHANGE_PIN_REQ</Name>
                <PrimID Direction="DOWNLINK" Number="10"/>
                <PrimUsage>
                    <Sender>XX</Sender>
                    <Receiver>SIM</Receiver>
                </PrimUsage>
            </PrimDef>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>source</Name>
                </ItemLink>
                <Comment>source</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>old_pin</Name>
                </ItemLink>
                <Control>[MAX_PIN_LEN]</Control>
                <Comment>old personal identity number</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>new_pin</Name>
                </ItemLink>
                <Control>[MAX_PIN_LEN]</Control>
                <Comment>new personal identity number</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>pin_id</Name>
                </ItemLink>
                <Comment>pin identification</Comment>
            </PrimItem>
            <History>
                <Date Day="16" Month="12" Year="1996"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
            <History>
                <Date Day="30" Month="5" Year="1997"/>
                <Author>MS</Author>
                <Comment>Revised</Comment>
            </History>
        </Primitive>
        <Primitive>
            <Description>
                <Section>The SIM_CHANGE_PIN_CNF primitive is the response to a previous SIM_CHANGE_PIN_REQ primitive. An error code is forwarded to the requesting party.</Section>
            </Description>
            <PrimDef>
                <Name>SIM_CHANGE_PIN_CNF</Name>
                <PrimID Direction="UPLINK" Number="10"/>
                <PrimUsage>
                    <Sender>SIM</Sender>
                    <Receiver>XX</Receiver>
                </PrimUsage>
            </PrimDef>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>cause</Name>
                </ItemLink>
                <Comment>error code</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>pin_id</Name>
                </ItemLink>
                <Comment>pin identification</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>pin_cnt</Name>
                </ItemLink>
                <Comment>pin count</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>puk_cnt</Name>
                </ItemLink>
                <Comment>puk count</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>pin2_cnt</Name>
                </ItemLink>
                <Comment>pin 2 count</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>puk2_cnt</Name>
                </ItemLink>
                <Comment>puk 2 count</Comment>
            </PrimItem>
            <History>
                <Date Day="16" Month="12" Year="1996"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
            <History>
                <Date Day="30" Month="5" Year="1997"/>
                <Author>MS</Author>
                <Comment>Revised</Comment>
            </History>
        </Primitive>
        <Primitive>
            <Description>
                <Section>The SIM_DISABLE_PIN_REQ is used to disable the protection of the SIM card by a personal identity number, that means entering of a PIN is not necessary in future.</Section>
            </Description>
            <PrimDef>
                <Name>SIM_DISABLE_PIN_REQ</Name>
                <PrimID Direction="DOWNLINK" Number="11"/>
                <PrimUsage>
                    <Sender>XX</Sender>
                    <Receiver>SIM</Receiver>
                </PrimUsage>
            </PrimDef>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>source</Name>
                </ItemLink>
                <Comment>source</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>pin</Name>
                </ItemLink>
                <Control>[MAX_PIN_LEN]</Control>
                <Comment>personal identity number</Comment>
            </PrimItem>
            <History>
                <Date Day="16" Month="12" Year="1996"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
            <History>
                <Date Day="30" Month="5" Year="1997"/>
                <Author>MS</Author>
                <Comment>Revised</Comment>
            </History>
        </Primitive>
        <Primitive>
            <Description>
                <Section>The SIM_DISABLE_PIN_CNF primitive is the response to a previous SIM_DISABLE_PIN_REQ primitive. An error code is forwarded to the requesting party.</Section>
            </Description>
            <PrimDef>
                <Name>SIM_DISABLE_PIN_CNF</Name>
                <PrimID Direction="UPLINK" Number="11"/>
                <PrimUsage>
                    <Sender>SIM</Sender>
                    <Receiver>XX</Receiver>
                </PrimUsage>
            </PrimDef>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>cause</Name>
                </ItemLink>
                <Comment>error code</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>pin_cnt</Name>
                </ItemLink>
                <Comment>pin count</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>puk_cnt</Name>
                </ItemLink>
                <Comment>puk count</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>pin2_cnt</Name>
                </ItemLink>
                <Comment>pin 2 count</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>puk2_cnt</Name>
                </ItemLink>
                <Comment>puk 2 count</Comment>
            </PrimItem>
            <History>
                <Date Day="16" Month="12" Year="1996"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
            <History>
                <Date Day="30" Month="5" Year="1997"/>
                <Author>MS</Author>
                <Comment>Revised</Comment>
            </History>
        </Primitive>
        <Primitive>
            <Description>
                <Section>The SIM_ENABLE_PIN_REQ is used to enable the protection of the SIM card by a personal identity number, that means entering of a PIN is necessary in future.</Section>
            </Description>
            <PrimDef>
                <Name>SIM_ENABLE_PIN_REQ</Name>
                <PrimID Direction="DOWNLINK" Number="12"/>
                <PrimUsage>
                    <Sender>XX</Sender>
                    <Receiver>SIM</Receiver>
                </PrimUsage>
            </PrimDef>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>source</Name>
                </ItemLink>
                <Comment>source</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>pin</Name>
                </ItemLink>
                <Control>[MAX_PIN_LEN]</Control>
                <Comment>personal identity number</Comment>
            </PrimItem>
            <History>
                <Date Day="16" Month="12" Year="1996"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
            <History>
                <Date Day="30" Month="5" Year="1997"/>
                <Author>MS</Author>
                <Comment>Revised</Comment>
            </History>
        </Primitive>
        <Primitive>
            <Description>
                <Section>The SIM_ENABLE_PIN_CNF primitive is the response to a previous SIM_ENABLE_PIN_REQ primitive. An error code is forwarded to the requesting party.</Section>
            </Description>
            <PrimDef>
                <Name>SIM_ENABLE_PIN_CNF</Name>
                <PrimID Direction="UPLINK" Number="12"/>
                <PrimUsage>
                    <Sender>SIM</Sender>
                    <Receiver>XX</Receiver>
                </PrimUsage>
            </PrimDef>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>cause</Name>
                </ItemLink>
                <Comment>error code</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>pin_cnt</Name>
                </ItemLink>
                <Comment>pin count</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>puk_cnt</Name>
                </ItemLink>
                <Comment>puk count</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>pin2_cnt</Name>
                </ItemLink>
                <Comment>pin 2 count</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>puk2_cnt</Name>
                </ItemLink>
                <Comment>puk 2 count</Comment>
            </PrimItem>
            <History>
                <Date Day="16" Month="12" Year="1996"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
            <History>
                <Date Day="30" Month="5" Year="1997"/>
                <Author>MS</Author>
                <Comment>Revised</Comment>
            </History>
        </Primitive>
        <Primitive>
            <Description>
                <Section>The SIM_UNBLOCK_REQ is used to unblock a blocked SIM card. A SIM card is blocked after entering some erroneous PINs. Therefore a special unblocking key is used. If a wrong unblocking key is used sometimes the SIM card is blocked permanently.</Section>
            </Description>
            <PrimDef>
                <Name>SIM_UNBLOCK_REQ</Name>
                <PrimID Direction="DOWNLINK" Number="13"/>
                <PrimUsage>
                    <Sender>XX</Sender>
                    <Receiver>SIM</Receiver>
                </PrimUsage>
            </PrimDef>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>source</Name>
                </ItemLink>
                <Comment>source</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>unblock_key</Name>
                </ItemLink>
                <Control>[MAX_PIN_LEN]</Control>
                <Comment>unkblocking key</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>pin</Name>
                </ItemLink>
                <Control>[MAX_PIN_LEN]</Control>
                <Comment>personal identity number</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>pin_id</Name>
                </ItemLink>
                <Comment>personal identity number identification</Comment>
            </PrimItem>
            <History>
                <Date Day="16" Month="12" Year="1996"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
            <History>
                <Date Day="30" Month="5" Year="1997"/>
                <Author>MS</Author>
                <Comment>Revised</Comment>
            </History>
        </Primitive>
        <Primitive>
            <Description>
                <Section>The SIM_UNBLOCK_CNF primitive is the response to a previous SIM_UNBLOCK_REQ primitive. An error code is forwarded to the requesting party.</Section>
            </Description>
            <PrimDef>
                <Name>SIM_UNBLOCK_CNF</Name>
                <PrimID Direction="UPLINK" Number="13"/>
                <PrimUsage>
                    <Sender>SIM</Sender>
                    <Receiver>XX</Receiver>
                </PrimUsage>
            </PrimDef>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>cause</Name>
                </ItemLink>
                <Comment>error code</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>pin_id</Name>
                </ItemLink>
                <Comment>personal identity number identification</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>pin_cnt</Name>
                </ItemLink>
                <Comment>pin count</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>puk_cnt</Name>
                </ItemLink>
                <Comment>puk count</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>pin2_cnt</Name>
                </ItemLink>
                <Comment>pin 2 count</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>puk2_cnt</Name>
                </ItemLink>
                <Comment>puk 2 count</Comment>
            </PrimItem>
            <History>
                <Date Day="16" Month="12" Year="1996"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
            <History>
                <Date Day="30" Month="5" Year="1997"/>
                <Author>MS</Author>
                <Comment>Revised</Comment>
            </History>
            <History>
                <Date Day="3" Month="12" Year="1999"/>
                <Author>LE</Author>
                <Comment>pin/puk counts added</Comment>
            </History>
        </Primitive>
        <Primitive>
            <Description>
                <Section>The SIM_AUTHENTICATION_REQ is used to start the GSM authentication algorithm on the SIM card.</Section>
            </Description>
            <PrimDef>
                <Name>SIM_AUTHENTICATION_REQ</Name>
                <PrimID Direction="DOWNLINK" Number="14"/>
                <PrimUsage>
                    <Sender>XX</Sender>
                    <Receiver>SIM</Receiver>
                </PrimUsage>
            </PrimDef>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>source</Name>
                </ItemLink>
                <Comment>source</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>rand</Name>
                </ItemLink>
                <Control>[MAX_RAND]</Control>
                <Comment>rand</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>cksn</Name>
                </ItemLink>
                <Comment>ciphering key sequence number</Comment>
            </PrimItem>
            <History>
                <Date Day="16" Month="12" Year="1996"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
            <History>
                <Date Day="30" Month="5" Year="1997"/>
                <Author>MS</Author>
                <Comment>Revised</Comment>
            </History>
        </Primitive>
        <Primitive>
            <Description>
                <Section>The SIM_AUTHENTICATION_CNF primitive is the response to a previous authentication request. The parameter Sres is forwarded to the infrastructure by mobility management and the parameter Kc is used by the physical layer for encryption.</Section>
            </Description>
            <PrimDef>
                <Name>SIM_AUTHENTICATION_CNF</Name>
                <PrimID Direction="UPLINK" Number="14"/>
                <PrimUsage>
                    <Sender>SIM</Sender>
                    <Receiver>XX</Receiver>
                </PrimUsage>
            </PrimDef>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>sres</Name>
                </ItemLink>
                <Control>[MAX_SRES]</Control>
                <Comment>Sres</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>kc</Name>
                </ItemLink>
                <Control>[MAX_KC]</Control>
                <Comment>Kc</Comment>
            </PrimItem>
            <History>
                <Date Day="16" Month="12" Year="1996"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
            <History>
                <Date Day="30" Month="5" Year="1997"/>
                <Author>MS</Author>
                <Comment>Revised</Comment>
            </History>
        </Primitive>
        <Primitive>
            <Description>
                <Section>The SIM_MMI_INSERT_IND is used by the SIM process to inform MMI that a SIM card has been inserted and whether it is necessary to enter a PIN.</Section>
            </Description>
            <PrimDef>
                <Name>SIM_MMI_INSERT_IND</Name>
                <PrimID Direction="UPLINK" Number="15"/>
                <PrimUsage>
                    <Sender>SIM</Sender>
                    <Receiver>MMI</Receiver>
                </PrimUsage>
            </PrimDef>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>func</Name>
                </ItemLink>
                <Comment>sim card functionality</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>sim_serv</Name>
                </ItemLink>
                <Control>[MAX_SRV_TBL]</Control>
                <Comment>sim service table</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>imsi_field</Name>
                </ItemLink>
                <Comment>international mobile subscriber identity</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>pref_plmn</Name>
                </ItemLink>
                <Comment>preferred plmns</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>phase</Name>
                </ItemLink>
                <Comment>phase</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>access_acm</Name>
                </ItemLink>
                <Comment>access conditions ACM</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>access_acmmax</Name>
                </ItemLink>
                <Comment>access conditions ACMMAX</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>access_puct</Name>
                </ItemLink>
                <Comment>access conditions PUCT</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>cbmid_rec</Name>
                </ItemLink>
                <Comment>cbmid</Comment>
            </PrimItem>
            <History>
                <Date Day="16" Month="12" Year="1996"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
            <History>
                <Date Day="30" Month="5" Year="1997"/>
                <Author>MS</Author>
                <Comment>Revised</Comment>
            </History>
            <History>
                <Date Day="20" Month="10" Year="1997"/>
                <Author>LE</Author>
                <Comment>hplmn removed</Comment>
            </History>
            <History>
                <Date Day="28" Month="9" Year="1998"/>
                <Author>LE</Author>
                <Comment>adapted for optimisations</Comment>
            </History>
            <History>
                <Date Day="7" Month="7" Year="1999"/>
                <Author>LE</Author>
                <Comment>access conditions added</Comment>
            </History>
            <History>
                <Date Day="6" Month="10" Year="1999"/>
                <Author>LE</Author>
                <Comment>cbmid and deper_key removed</Comment>
            </History>
            <History>
                <Date Day="1" Month="2" Year="2000"/>
                <Author>FK</Author>
                <Comment>New constant MAX_SRV_TBL</Comment>
            </History>
        </Primitive>
        <Primitive>
            <Description>
                <Section>The SIM_MM_INSERT_IND is used by the SIM process to inform MM that a SIM card has been inserted and a successful PIN check has been processed. MM starts the registration.</Section>
            </Description>
            <PrimDef>
                <Name>SIM_MM_INSERT_IND</Name>
                <PrimID Direction="UPLINK" Number="16"/>
                <PrimUsage>
                    <Sender>SIM</Sender>
                    <Receiver>MM</Receiver>
                </PrimUsage>
            </PrimDef>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>ad</Name>
                </ItemLink>
                <Control>[1..MAX_AD]</Control>
                <Comment>administrative data</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>imsi_field</Name>
                </ItemLink>
                <Comment>international mobile subscriber identity</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>loc_info</Name>
                </ItemLink>
                <Comment>location info</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>acc_ctrl</Name>
                </ItemLink>
                <Comment>access control</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>bcch_inf</Name>
                </ItemLink>
                <Comment>bcch information</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>kc_n</Name>
                </ItemLink>
                <Comment>last Kc value</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>pref_plmn</Name>
                </ItemLink>
                <Comment>preferred plmns</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>forb_plmn</Name>
                </ItemLink>
                <Comment>forbidden plmns</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>phase</Name>
                </ItemLink>
                <Comment>phase</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>hplmn</Name>
                </ItemLink>
                <Comment>hplmn time</Comment>
            </PrimItem>
            <PrimItem Presentation="OPTIONAL">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>act_hplmn</Name>
                </ItemLink>
                <Control>[MAX_SIM_PLMN_SIZE]</Control>
                <Comment>acting hplmn</Comment>
            </PrimItem>
            <History>
                <Date Day="16" Month="12" Year="1996"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
            <History>
                <Date Day="30" Month="5" Year="1997"/>
                <Author>MS</Author>
                <Comment>Revised</Comment>
            </History>
            <History>
                <Date Day="08" Month="09" Year="2004"/>
                <Author>xkramamu</Author>
                <Comment>added act_hplmn, ad elements and deleted op_mode element</Comment>
            </History>
        </Primitive>
        <Primitive>
            <Description>
                <Section>The SIM_REMOVE_IND is used by the SIM process to inform MM, SMS and ACI (MMI) that the SIM card is no longer valid. MM starts the de-registration. The error codes are interpreted as follows:</Section>
                <Section>SIM_NO_ERROR SIM Application Toolkit REFRESH command with SIM Reset Option</Section>
                <Section>SIM_CAUSE_CARD_REMOVED A physical change of the SIM has occurred</Section>
                <Section>any other code No valid card available</Section>
                <Section>The error code SIM_NO_ERROR allows for immediate re-activation of the SIM, for all other codes this is not applicable.</Section>
            </Description>
            <PrimDef>
                <Name>SIM_REMOVE_IND</Name>
                <PrimID Direction="UPLINK" Number="17"/>
                <PrimUsage>
                    <Sender>SIM</Sender>
                    <Receiver>MM</Receiver>
                </PrimUsage>
            </PrimDef>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>cause</Name>
                </ItemLink>
                <Comment>Error code</Comment>
            </PrimItem>
            <History>
                <Date Day="16" Month="12" Year="1996"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
            <History>
                <Date Day="30" Month="5" Year="1997"/>
                <Author>MS</Author>
                <Comment>Revised</Comment>
            </History>
            <History>
                <Date Day="28" Month="5" Year="1998"/>
                <Author>VK</Author>
                <Comment>add param</Comment>
            </History>
            <History>
                <Date Day="1" Month="2" Year="2000"/>
                <Author>FK</Author>
                <Comment>param changed to error</Comment>
            </History>
        </Primitive>
        <Primitive>
            <Description>
                <Section>The SIM_MM_UPDATE_REQ is used by mobility management to update registration information on the SIM card.</Section>
            </Description>
            <PrimDef>
                <Name>SIM_MM_UPDATE_REQ</Name>
                <PrimID Direction="DOWNLINK" Number="15"/>
                <PrimUsage>
                    <Sender>MM</Sender>
                    <Receiver>SIM</Receiver>
                </PrimUsage>
            </PrimDef>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>loc_info</Name>
                </ItemLink>
                <Comment>location info</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>bcch_inf</Name>
                </ItemLink>
                <Comment>bcch information</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>forb_plmn</Name>
                </ItemLink>
                <Comment>forbidden plmns</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>cksn</Name>
                </ItemLink>
                <Comment>ciphering key sequence number</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>kc</Name>
                </ItemLink>
                <Control>[MAX_KC]</Control>
                <Comment>Kc</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>cell_identity</Name>
                </ItemLink>
                <Comment>cell identity</Comment>
            </PrimItem>
            <History>
                <Date Day="16" Month="12" Year="1996"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
            <History>
                <Date Day="30" Month="5" Year="1997"/>
                <Author>MS</Author>
                <Comment>Revised</Comment>
            </History>
            <History>
                <Date Day="20" Month="10" Year="1997"/>
                <Author>LE</Author>
                <Comment>preferred plmns and hplmn time removed</Comment>
            </History>
            <History>
                <Date Day="7" Month="10" Year="1998"/>
                <Author>LE</Author>
                <Comment>cell identity for SIM Toolkit included</Comment>
            </History>
        </Primitive>
        <Primitive>
            <Description>
                <Section>Depending on the value of its parameter, the primitive SIM_SYNC_REQ has the purpose to signal the begin (synccs = SYNC_START_CALL) or end (synccs = SYNC_STOP_CALL) of a call to start/stop the SIM Presence Detection Routine, or to deactivate/power off (synccs = SYNC_DEACTIVATE) the SIM card including saving parameters.</Section>
            </Description>
            <PrimDef>
                <Name>SIM_SYNC_REQ</Name>
                <PrimID Direction="DOWNLINK" Number="16"/>
                <PrimUsage>
                    <Sender>MMI</Sender>
                    <Receiver>SIM</Receiver>
                </PrimUsage>
            </PrimDef>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>synccs</Name>
                </ItemLink>
                <Comment>Sync cause</Comment>
            </PrimItem>
            <History>
                <Date Day="20" Month="10" Year="1997"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
            <History>
                <Date Day="28" Month="5" Year="1998"/>
                <Author>VK</Author>
                <Comment>add param</Comment>
            </History>
            <History>
                <Date Day="1" Month="10" Year="1999"/>
                <Author>LE</Author>
                <Comment>sync cause added</Comment>
            </History>
        </Primitive>
        <Primitive>
            <Description>
                <Section>The primitive SIM_SYNC_CNF indicates the outcome of a previous SIM_SYNC_REQ. A success is returned with cause SIM_NO_ERROR. The only possible error caise is cause SIM_CAUSE_PARAM_WRONG.</Section>
            </Description>
            <PrimDef>
                <Name>SIM_SYNC_CNF</Name>
                <PrimID Direction="UPLINK" Number="18"/>
                <PrimUsage>
                    <Sender>SIM</Sender>
                    <Receiver>MMI</Receiver>
                </PrimUsage>
            </PrimDef>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>cause</Name>
                </ItemLink>
                <Comment>Error code</Comment>
            </PrimItem>
            <History>
                <Date Day="20" Month="10" Year="1997"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
            <History>
                <Date Day="28" Month="5" Year="1998"/>
                <Author>VK</Author>
                <Comment>add param</Comment>
            </History>
            <History>
                <Date Day="16" Month="8" Year="2002"/>
                <Author>FK</Author>
                <Comment>Dummy parameter replaced by cause value</Comment>
            </History>
        </Primitive>
        <Primitive>
            <Description>
                <Section>The SIM_ACTIVATE_REQ shall be sent in the start up phase of the mobile from MMI (proc = SIM_INITIALISATION). This primitive initialises the SIM and leads to a SIM_ACTIVATE_CNF primitive. When using the primitive for enabling (proc = SIM_FDN_ENABLE) or disabling (proc = SIM_FDN_DISABLE) FDN service, then no other parameter is significant.</Section>
            </Description>
            <PrimDef>
                <Name>SIM_ACTIVATE_REQ</Name>
                <PrimID Direction="DOWNLINK" Number="17"/>
                <PrimUsage>
                    <Sender>MMI</Sender>
                    <Receiver>SIM</Receiver>
                </PrimUsage>
            </PrimDef>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>proc</Name>
                </ItemLink>
                <Comment>Procedure</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>mmi_pro_file</Name>
                </ItemLink>
                <Comment>Mmi profile</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>stk_pro_file</Name>
                </ItemLink>
                <Control>[MAX_STK_PRF]</Control>
                <Comment>SIM Toolkit Profile</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>cust_mode</Name>
                </ItemLink>
                <Comment>Customisation Mode</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>sim_num</Name>
                </ItemLink>
                <Comment>SIM Interface Identifier</Comment>
            </PrimItem>
            <PrimItem Presentation="OPTIONAL">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>trmst_file</Name>
                </ItemLink>
                <Control>[MAX_TRMST]</Control>
                <Comment>Terminal Support Table</Comment>
            </PrimItem>
            <History>
                <Date Day="6" Month="11" Year="1997"/>
                <Author>PZ</Author>
                <Comment>Initial</Comment>
            </History>
            <History>
                <Date Day="28" Month="5" Year="1998"/>
                <Author>VK</Author>
                <Comment>add param</Comment>
            </History>
            <History>
                <Date Day="28" Month="9" Year="1998"/>
                <Author>LE</Author>
                <Comment>adapted for optimisations</Comment>
            </History>
            <History>
                <Date Day="1" Month="10" Year="1999"/>
                <Author>LE</Author>
                <Comment>mmi profile added, stk profile increased</Comment>
            </History>
            <History>
                <Date Day="5" Month="10" Year="1999"/>
                <Author>FK</Author>
                <Comment>size of stk profile dependent of MAX_STK_PRF</Comment>
            </History>
            <History>
                <Date Day="08" Month="09" Year="2004"/>
                <Author>xkramamu</Author>
                <Comment>new element trmst_file of size MAX_TRMST added for Terminal Support table</Comment>
            </History>
            <History>
                <Date Day="16" Month="08" Year="2004"/>
                <Author>NDH</Author>
                <Comment>Added Customisation Mode for Series60</Comment>
            </History>
        </Primitive>
        <Primitive>
            <Description>
                <Section>The SIM_ACTIVATE_CNF is used to inform MMI about problems with the SIM card (read errors or SIM card blocked) after a SIM_ACTIVATE_CNF. Parameters ec_code and pref_lang are only given, when the card is initialised.</Section>
            </Description>
            <PrimDef>
                <Name>SIM_ACTIVATE_CNF</Name>
                <PrimID Direction="UPLINK" Number="19"/>
                <PrimUsage>
                    <Sender>SIM</Sender>
                    <Receiver>MMI</Receiver>
                </PrimUsage>
            </PrimDef>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>cause</Name>
                </ItemLink>
                <Comment>error code</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>pin_cnt</Name>
                </ItemLink>
                <Comment>pin count</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>puk_cnt</Name>
                </ItemLink>
                <Comment>puk count</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>pin2_cnt</Name>
                </ItemLink>
                <Comment>pin 2 count</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>puk2_cnt</Name>
                </ItemLink>
                <Comment>puk 2 count</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>ec_code</Name>
                </ItemLink>
                <Control>[MAX_ECC]</Control>
                <Comment>emergency call codes</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>pref_lang</Name>
                </ItemLink>
                <Control>[MAX_LNG_PREF]</Control>
                <Comment>preferred language</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>sim_num</Name>
                </ItemLink>
                <Comment>SIM Number</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>atr</Name>
                </ItemLink>
                <Control>[1..MAX_SIM_ATR]</Control>
                <Comment>ATR data</Comment>
            </PrimItem>
            <History>
                <Date Day="5" Month="2" Year="1998"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
            <History>
                <Date Day="28" Month="9" Year="1998"/>
                <Author>LE</Author>
                <Comment>adapted for optimisations</Comment>
            </History>
            <History>
                <Date Day="6" Month="7" Year="1999"/>
                <Author>LE</Author>
                <Comment>PIN2, PUK and PUK2 added</Comment>
            </History>
            <History>
                <Date Day="29" Month="7" Year="2003"/>
                <Author>FK</Author>
                <Comment>ATR data added</Comment>
            </History>
        </Primitive>
        <Primitive>
            <Description>
                <Section>The SIM_SMS_INSERT_IND is used to inform the short message service about the stored message reference and the memory capacity available flag after insertion of a SIM card.</Section>
            </Description>
            <PrimDef>
                <Name>SIM_SMS_INSERT_IND</Name>
                <PrimID Direction="UPLINK" Number="20"/>
                <PrimUsage>
                    <Sender>SIM</Sender>
                    <Receiver>SMS</Receiver>
                </PrimUsage>
            </PrimDef>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>phase</Name>
                </ItemLink>
                <Comment>Phase</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>tp_mr</Name>
                </ItemLink>
                <Comment>Message reference</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>mem_cap_avail</Name>
                </ItemLink>
                <Comment>Memory capacity available flag</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>download_sms</Name>
                </ItemLink>
                <Comment>Download SMS flag</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>smsr_mem_cap</Name>
                </ItemLink>
                <Comment>Status report storage capability</Comment>
            </PrimItem>
            <History>
                <Date Day="5" Month="2" Year="1998"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
            <History>
                <Date Day="8" Month="10" Year="1998"/>
                <Author>LE</Author>
                <Comment>download SMS for SIM toolkit added</Comment>
            </History>
            <History>
                <Date Day="7" Month="3" Year="2000"/>
                <Author>FK</Author>
                <Comment>Phase and Status Report Storage Capability added</Comment>
            </History>
        </Primitive>
        <Primitive>
            <Description>
                <Section>The SIM_TOOLKIT_REQ is used by the MMI or MM to start a SIM toolkit operation. The primitive is only processed if the SIM toolkit upgrade is linked.</Section>
            </Description>
            <PrimDef>
                <Name>SIM_TOOLKIT_REQ</Name>
                <PrimID Direction="DOWNLINK" Number="18"/>
                <PrimUsage>
                    <Sender>xxx</Sender>
                    <Receiver>SIM</Receiver>
                </PrimUsage>
            </PrimDef>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>source</Name>
                </ItemLink>
                <Comment>source</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>req_id</Name>
                </ItemLink>
                <Comment>request identifier</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>stk_cmd</Name>
                </ItemLink>
                <Comment>sim toolkit command</Comment>
            </PrimItem>
            <History>
                <Date Day="28" Month="9" Year="1998"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
            <History>
                <Date Day="8" Month="10" Year="1998"/>
                <Author>LE</Author>
                <Comment>source added</Comment>
            </History>
            <History>
                <Date Day="19" Month="10" Year="1999"/>
                <Author>FK</Author>
                <Comment>request identifier added</Comment>
            </History>
        </Primitive>
        <Primitive>
            <Description>
                <Section>The SIM_TOOLKIT_RES is used by the MMI to send a response to a SIM originated SIM toolkit operation. The primitive is only processed if the SIM toolkit upgrade is linked.</Section>
            </Description>
            <PrimDef>
                <Name>SIM_TOOLKIT_RES</Name>
                <PrimID Direction="DOWNLINK" Number="19"/>
                <PrimUsage>
                    <Sender>MMI</Sender>
                    <Receiver>SIM</Receiver>
                </PrimUsage>
            </PrimDef>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>stk_cmd</Name>
                </ItemLink>
                <Comment>sim toolkit command</Comment>
            </PrimItem>
            <History>
                <Date Day="28" Month="9" Year="1998"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
        </Primitive>
        <Primitive>
            <Description>
                <Section>The SIM_TOOLKIT_IND is used by the SIM application to start a SIM toolkit operation. The primitive is only processed if the SIM toolkit upgrade is linked.</Section>
            </Description>
            <PrimDef>
                <Name>SIM_TOOLKIT_IND</Name>
                <PrimID Direction="UPLINK" Number="21"/>
                <PrimUsage>
                    <Sender>SIM</Sender>
                    <Receiver>MMI</Receiver>
                </PrimUsage>
            </PrimDef>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>stk_cmd</Name>
                </ItemLink>
                <Comment>sim toolkit command</Comment>
            </PrimItem>
            <History>
                <Date Day="28" Month="9" Year="1998"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
        </Primitive>
        <Primitive>
            <Description>
                <Section>The SIM_TOOLKIT_CNF is used by the SIM application to confirm a previous SIM_TOOLKIT_REQ. The primitive is only processed if the SIM toolkit upgrade is linked.</Section>
            </Description>
            <PrimDef>
                <Name>SIM_TOOLKIT_CNF</Name>
                <PrimID Direction="UPLINK" Number="22"/>
                <PrimUsage>
                    <Sender>SIM</Sender>
                    <Receiver>xxx</Receiver>
                </PrimUsage>
            </PrimDef>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>cause</Name>
                </ItemLink>
                <Comment>error code</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>req_id</Name>
                </ItemLink>
                <Comment>request identifier</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>stk_cmd</Name>
                </ItemLink>
                <Comment>sim toolkit command</Comment>
            </PrimItem>
            <History>
                <Date Day="8" Month="10" Year="1998"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
            <History>
                <Date Day="19" Month="10" Year="1999"/>
                <Author>FK</Author>
                <Comment>request identifier added</Comment>
            </History>
        </Primitive>
        <Primitive>
            <Description>
                <Section>The SIM_ACTIVATE_IND is used to inform MMI about an inserted SIM card after power on.</Section>
            </Description>
            <PrimDef>
                <Name>SIM_ACTIVATE_IND</Name>
                <PrimID Direction="UPLINK" Number="23"/>
                <PrimUsage>
                    <Sender>SIM</Sender>
                    <Receiver>MMI</Receiver>
                </PrimUsage>
            </PrimDef>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>cause</Name>
                </ItemLink>
                <Comment>error code</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>pin_cnt</Name>
                </ItemLink>
                <Comment>pin count</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>puk_cnt</Name>
                </ItemLink>
                <Comment>puk count</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>pin2_cnt</Name>
                </ItemLink>
                <Comment>pin 2 count</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>puk2_cnt</Name>
                </ItemLink>
                <Comment>puk 2 count</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>ec_code</Name>
                </ItemLink>
                <Control>[MAX_ECC]</Control>
                <Comment>Emergency call codes</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>pref_lang</Name>
                </ItemLink>
                <Control>[MAX_LNG_PREF]</Control>
                <Comment>Preferred language</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>atr</Name>
                </ItemLink>
                <Control>[1..MAX_SIM_ATR]</Control>
                <Comment>ATR data</Comment>
            </PrimItem>
            <History>
                <Date Day="1" Month="10" Year="1999"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
            <History>
                <Date Day="29" Month="7" Year="2003"/>
                <Author>FK</Author>
                <Comment>ATR data added</Comment>
            </History>
        </Primitive>
        <Primitive>
            <Description>
                <Section>The SIM_MM_INFO_IND is used by the SIM process to inform MM about changed data contents.</Section>
            </Description>
            <PrimDef>
                <Name>SIM_MM_INFO_IND</Name>
                <PrimID Direction="UPLINK" Number="24"/>
                <PrimUsage>
                    <Sender>SIM</Sender>
                    <Receiver>MM</Receiver>
                </PrimUsage>
            </PrimDef>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>pref_plmn</Name>
                </ItemLink>
                <Comment>preferred plmns</Comment>
            </PrimItem>
            <History>
                <Date Day="16" Month="12" Year="1996"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
            <History>
                <Date Day="30" Month="5" Year="1997"/>
                <Author>MS</Author>
                <Comment>Revised</Comment>
            </History>
        </Primitive>
        <Primitive>
            <Description>
                <Section>The SIM_ACCESS_REQ is used by the MMI t have a restricted SIM access to some driver functions following the AT command AT+CRSM and AT+CSIM. For restricted SIM access (value 'sim_command NEQ SIM_TRANSP_CMD') all parameters are used, for transparent SIM access (value 'sim_command EQ SIM_TRANSP_CMD') parameters 'datafield', 'P1, 'P2', 'P3' have no meaning and should be set to zero.</Section>
            </Description>
            <PrimDef>
                <Name>SIM_ACCESS_REQ</Name>
                <PrimID Direction="DOWNLINK" Number="20"/>
                <PrimUsage>
                    <Sender>MMI</Sender>
                    <Receiver>SIM</Receiver>
                </PrimUsage>
            </PrimDef>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>source</Name>
                </ItemLink>
                <Comment>source</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>datafield</Name>
                </ItemLink>
                <Comment>datafield</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>sim_command</Name>
                </ItemLink>
                <Comment>sim command</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>p1</Name>
                </ItemLink>
                <Comment>P1</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>p2</Name>
                </ItemLink>
                <Comment>P2</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>p3</Name>
                </ItemLink>
                <Comment>P3</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>trans_data</Name>
                </ItemLink>
                <Control>[0..MAX_SIM_TRANSP]</Control>
                <Comment>Transparent data</Comment>
            </PrimItem>
            <History>
                <Date Day="6" Month="10" Year="1999"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
            <History>
                <Date Day="2" Month="2" Year="2000"/>
                <Author>FK</Author>
                <Comment>'source' changed to type 'USHORT'</Comment>
            </History>
            <History>
                <Date Day="29" Month="7" Year="2003"/>
                <Author>FK</Author>
                <Comment>element 'trans_data' changed</Comment>
            </History>
        </Primitive>
        <Primitive>
            <Description>
                <Section>The SIM_ACCESS_CNF is used to forwarded the results of restricted SIM access to the MMI. The status code of the card is not evaluated, i. e. parameter 'cause' gets the value SIM_NO_ERROR as long as the access to the referred is possible. A non-existent file, incorrect parameters and driver problems will create the appropriate error cause.</Section>
            </Description>
            <PrimDef>
                <Name>SIM_ACCESS_CNF</Name>
                <PrimID Direction="UPLINK" Number="25"/>
                <PrimUsage>
                    <Sender>SIM</Sender>
                    <Receiver>MMI</Receiver>
                </PrimUsage>
            </PrimDef>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>cause</Name>
                </ItemLink>
                <Comment>error</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>sw1</Name>
                </ItemLink>
                <Comment>sw1</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>sw2</Name>
                </ItemLink>
                <Comment>sw2</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>trans_data</Name>
                </ItemLink>
                <Control>[0..MAX_SIM_CMD]</Control>
                <Comment>Transparent data</Comment>
            </PrimItem>
            <History>
                <Date Day="6" Month="10" Year="1999"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
            <History>
                <Date Day="29" Month="7" Year="2003"/>
                <Author>FK</Author>
                <Comment>element 'length' eliminated, element 'trans_data' changed</Comment>
            </History>
        </Primitive>
        <Primitive>
            <Description>
                <Section>The primitive SIM_FILE_UPDATE_IND is used to deliver a list of Elementary Files which were changed outside the control of the ME and therefore have to be re-read, to the Entities MMI, SMS and MM.</Section>
            </Description>
            <PrimDef>
                <Name>SIM_FILE_UPDATE_IND</Name>
                <PrimID Direction="UPLINK" Number="26"/>
                <PrimUsage>
                    <Sender>SIM</Sender>
                    <Receiver>MMI</Receiver>
                </PrimUsage>
            </PrimDef>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>val_nr</Name>
                </ItemLink>
                <Comment>Number of file IDs</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>file_id</Name>
                </ItemLink>
                <Control>[MAX_FILE_ID]</Control>
                <Comment>File ID list</Comment>
            </PrimItem>
            <History>
                <Date Day="1" Month="2" Year="2000"/>
                <Author>FK</Author>
                <Comment>Initial</Comment>
            </History>
        </Primitive>
        <Primitive>
            <Description>
                <Section>The SIM_FILE_UPDATE_RES is used by the sending Entity (MMI, SMS, MM) to acknowledge that it has completed the file update indicated with the previous primitive SIM_FILE_UPDATE_IND.</Section>
            </Description>
            <PrimDef>
                <Name>SIM_FILE_UPDATE_RES</Name>
                <PrimID Direction="DOWNLINK" Number="21"/>
                <PrimUsage>
                    <Sender>SIM</Sender>
                    <Receiver>MMI</Receiver>
                </PrimUsage>
            </PrimDef>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>source</Name>
                </ItemLink>
                <Comment>Source</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>fu_rsc</Name>
                </ItemLink>
                <Comment>Result Code</Comment>
            </PrimItem>
            <History>
                <Date Day="10" Month="3" Year="2000"/>
                <Author>FK</Author>
                <Comment>Initial</Comment>
            </History>
            <History>
                <Date Day="24" Month="8" Year="2000"/>
                <Author>FK</Author>
                <Comment>Parameter 'Result' added</Comment>
            </History>
        </Primitive>
        <Primitive>
            <Description>
                <Section>The SIM_GMM_INSERT_IND is used by the SIM process to inform GMM that a SIM card has been inserted and a successful PIN check has been processed.</Section>
            </Description>
            <PrimDef>
                <Name>SIM_GMM_INSERT_IND</Name>
                <PrimID Direction="UPLINK" Number="27"/>
                <PrimUsage>
                    <Sender>SIM</Sender>
                    <Receiver>GMM</Receiver>
                </PrimUsage>
            </PrimDef>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>op_mode</Name>
                </ItemLink>
                <Comment>operation mode</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>imsi_field</Name>
                </ItemLink>
                <Comment>international mobile subscriber identity</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>loc_info</Name>
                </ItemLink>
                <Comment>location info</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>gprs_loc_info</Name>
                </ItemLink>
                <Comment>gprs location info</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>acc_ctrl</Name>
                </ItemLink>
                <Comment>access control</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>kc_n</Name>
                </ItemLink>
                <Comment>last GPRS Kc value</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>phase</Name>
                </ItemLink>
                <Comment>phase</Comment>
            </PrimItem>
            <History>
                <Date Day="4" Month="8" Year="2000"/>
                <Author>ANS</Author>
                <Comment>Initial</Comment>
            </History>
        </Primitive>
        <Primitive>
            <Description>
                <Section>The SIM_GMM_UPDATE_REQ is used by mobility management to update registration information on the SIM card.</Section>
            </Description>
            <PrimDef>
                <Name>SIM_GMM_UPDATE_REQ</Name>
                <PrimID Direction="DOWNLINK" Number="22"/>
                <PrimUsage>
                    <Sender>GMM</Sender>
                    <Receiver>SIM</Receiver>
                </PrimUsage>
            </PrimDef>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>gprs_loc_info</Name>
                </ItemLink>
                <Comment>GPRS location info</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>cksn</Name>
                </ItemLink>
                <Comment>ciphering key sequence number</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>kc</Name>
                </ItemLink>
                <Control>[MAX_KC]</Control>
                <Comment>Kc</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>att_status</Name>
                </ItemLink>
                <Comment>IMSI attach status</Comment>
            </PrimItem>
            <History>
                <Date Day="4" Month="8" Year="2000"/>
                <Author>ANS</Author>
                <Comment>Initial</Comment>
            </History>
            <History>
                <Date Day="13" Month="2" Year="2001"/>
                <Author>FK</Author>
                <Comment>IMSI attach atatus added</Comment>
            </History>
        </Primitive>
        <Primitive>
            <Description>
                <Section>The SIM_DTI_REQ requests an establishment or disconnection of a DTI connection. If a DTI connection establishment is requested then the parameters dti_direction, entity_name, con_type, and release_time are also valid. </Section>
            </Description>
            <PrimDef>
                <Name>SIM_DTI_REQ</Name>
                <PrimID Direction="DOWNLINK" Number="23"/>
                <PrimUsage>
                    <Sender>MMI</Sender>
                    <Receiver>SIM</Receiver>
                </PrimUsage>
            </PrimDef>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>link_id</Name>
                </ItemLink>
                <Comment>DTI link identifier</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>dti_conn</Name>
                </ItemLink>
                <Comment>connection qualifier</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>dti_direction</Name>
                </ItemLink>
                <Comment>DTI direction</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>entity_name</Name>
                </ItemLink>
                <Comment>DTI entity name</Comment>
            </PrimItem>
            <History>
                <Date Day="14" Month="3" Year="2002"/>
                <Author>STW</Author>
                <Comment>Initial</Comment>
            </History>
            <History>
                <Date Day="12" Month="4" Year="2002"/>
                <Author>STW</Author>
                <Comment>add suspension and resumption</Comment>
            </History>
            <History>
                <Date Day="23" Month="9" Year="2002"/>
                <Author>JK</Author>
                <Comment>tui parameter deleted</Comment>
            </History>
            <History>
                <Date Day="07" Month="05" Year="2004"/>
                <Author>MDF</Author>
                <Comment>The SIM_DTI_REQ is no longer a multi purpose primitive. The BIP channel activation and configuration has been moved to SIM_BIP_REQ and SIM_BIP_CONFIG_REQ</Comment>
            </History>
        </Primitive>
        <Primitive>
            <Description>
                <Section>This primitive is used to acknowledge a SIM_DTI_REQ primitive. Values and valid conditions of the parameters are the same as in the corresponding SIM_DTI_REQ. This primitive is sent if all requested actions have been done or an error has occured.</Section>
            </Description>
            <PrimDef>
                <Name>SIM_DTI_CNF</Name>
                <PrimID Direction="UPLINK" Number="28"/>
                <PrimUsage>
                    <Sender>SIM</Sender>
                    <Receiver>MMI</Receiver>
                </PrimUsage>
            </PrimDef>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>link_id</Name>
                </ItemLink>
                <Comment>DTI link identifier</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>dti_conn</Name>
                </ItemLink>
                <Comment>connection qualifier</Comment>
            </PrimItem>
            <History>
                <Date Day="14" Month="3" Year="2002"/>
                <Author>STW</Author>
                <Comment>Initial</Comment>
            </History>
            <History>
                <Date Day="07" Month="05" Year="2004"/>
                <Author>MDF</Author>
                <Comment>Removed bip channel id </Comment>
            </History>
        </Primitive>
        <Primitive>
            <Description>
                <Section>The primitive provides the connection of a BIP (Bearer Independent Protocol) channel for the SATK OPEN CHANNEL command. </Section>
            </Description>
            <PrimDef>
                <Name>SIM_BIP_REQ</Name>
                <PrimID Direction="DOWNLINK" Number="24"/>
                <PrimUsage>
                    <Sender>MMI</Sender>
                    <Receiver>SIM</Receiver>
                </PrimUsage>
            </PrimDef>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>bip_ch_id</Name>
                </ItemLink>
                <Comment>Primitive Item</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>bip_conn</Name>
                </ItemLink>
                <Comment>Primitive Item</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>release_time</Name>
                </ItemLink>
                <Comment>Primitive Item</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>add_info_result</Name>
                </ItemLink>
                <Comment>Primitive Item</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>general_result</Name>
                </ItemLink>
                <Comment>Primitive Item</Comment>
            </PrimItem>
            <History>
                <Date Day="30" Month="04" Year="2004"/>
                <Author>MDF</Author>
                <Comment>Initial</Comment>
            </History>
            <History>
                <Date Day="13" Month="05" Year="2004"/>
                <Author>JK</Author>
                <Comment>"release_time" element moved from SIM_BIP_CONFIG_REG to SIM_BIP_REQ</Comment>
            </History>
        </Primitive>
        <Primitive>
            <Description>
                <Section>This primitive is used to acknowledge a SIM_BIP_REQ primitive. Values and valid conditions of the parameters are the same as in the corresponding SIM_BIP_REQ. This primitive is sent if all requested actions have been done or an error has occured.</Section>
            </Description>
            <PrimDef>
                <Name>SIM_BIP_CNF</Name>
                <PrimID Direction="UPLINK" Number="29"/>
                <PrimUsage>
                    <Sender>SIM</Sender>
                    <Receiver>MMI</Receiver>
                </PrimUsage>
            </PrimDef>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>bip_ch_id</Name>
                </ItemLink>
                <Comment>Primitive Item</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>bip_conn</Name>
                </ItemLink>
                <Comment>Primitive Item</Comment>
            </PrimItem>
            <History>
                <Date Day="30" Month="04" Year="2004"/>
                <Author>MDF</Author>
                <Comment>Initial</Comment>
            </History>
        </Primitive>
        <Primitive>
            <Description>
                <Section>The primitive SIM_BIP_CONFIG_REQ is used to provide details of the BIP connection from MMI to SIM for a SAT Class E connection. </Section>
            </Description>
            <PrimDef>
                <Name>SIM_BIP_CONFIG_REQ</Name>
                <PrimID Direction="DOWNLINK" Number="25"/>
                <PrimUsage>
                    <Sender>MMI</Sender>
                    <Receiver>SIM</Receiver>
                </PrimUsage>
            </PrimDef>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>local_ip</Name>
                </ItemLink>
                <Comment>Primitive Item</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>destination_ip</Name>
                </ItemLink>
                <Comment>Primitive Item</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>destination_port</Name>
                </ItemLink>
                <Comment>Primitive Item</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>con_type</Name>
                </ItemLink>
                <Comment>Primitive Item</Comment>
            </PrimItem>
            <History>
                <Date Day="30" Month="04" Year="2004"/>
                <Author>MDF</Author>
                <Comment>Initial</Comment>
            </History>
            <History>
                <Date Day="13" Month="05" Year="2004"/>
                <Author>JK</Author>
                <Comment>"release_time" element moved from SIM_BIP_CONFIG_REG to SIM_BIP_REQ</Comment>
            </History>
        </Primitive>
        <Primitive>
            <Description>
                <Section>The primitive SIM_BIP_CONFIG_CNF acknowledges the configuration primitive SIM_BIP_CONFIG_REQ to MMI for an SAT Class E connection. </Section>
            </Description>
            <PrimDef>
                <Name>SIM_BIP_CONFIG_CNF</Name>
                <PrimID Direction="UPLINK" Number="30"/>
                <PrimUsage>
                    <Sender>SIM</Sender>
                    <Receiver>MMI</Receiver>
                </PrimUsage>
            </PrimDef>
            <History>
                <Date Day="30" Month="04" Year="2004"/>
                <Author>MDF</Author>
                <Comment>Initial</Comment>
            </History>
        </Primitive>
        <Primitive>
            <Description>
                <Section>This primitive indicates an error within the DTI or BIP channel that leads to a disconnection of SAT Class E data session. </Section>
            </Description>
            <PrimDef>
                <Name>SIM_DTI_BIP_IND</Name>
                <PrimID Direction="UPLINK" Number="31"/>
                <PrimUsage>
                    <Sender>SIM</Sender>
                    <Receiver>MMI</Receiver>
                </PrimUsage>
            </PrimDef>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>link_id</Name>
                </ItemLink>
                <Comment>Primitive Item</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>dti_conn</Name>
                </ItemLink>
                <Comment>Primitive Item</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>bip_ch_id</Name>
                </ItemLink>
                <Comment>Primitive Item</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>bip_conn</Name>
                </ItemLink>
                <Comment>Primitive Item</Comment>
            </PrimItem>
            <History>
                <Date Day="30" Month="04" Year="2004"/>
                <Author>MDF</Author>
                <Comment>Initial</Comment>
            </History>
            <History>
                <Date Day="13" Month="05" Year="2004"/>
                <Author>JK</Author>
                <Comment>Correction of element: bip_conn in place of second dti_conn</Comment>
            </History>
        </Primitive>
        <Primitive>
            <Description>
                <Section>This primitive is used enable or disable usage of ME events.</Section>
            </Description>
            <PrimDef>
                <Name>SIM_EVENTLIST_REQ</Name>
                <PrimID Direction="DOWNLINK" Number="26"/>
                <PrimUsage>
                    <Sender>MMI</Sender>
                    <Receiver>SIM</Receiver>
                </PrimUsage>
            </PrimDef>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>event_data_avail</Name>
                </ItemLink>
                <Comment>data available event</Comment>
            </PrimItem>
            <History>
                <Date Day="14" Month="3" Year="2002"/>
                <Author>STW</Author>
                <Comment>Initial</Comment>
            </History>
        </Primitive>
        <Primitive>
            <Description>
                <Section>This primitive is the confirm primitive to SIM_EVENTLIST_REQ.</Section>
            </Description>
            <PrimDef>
                <Name>SIM_EVENTLIST_CNF</Name>
                <PrimID Direction="UPLINK" Number="32"/>
                <PrimUsage>
                    <Sender>SIM</Sender>
                    <Receiver>MMI</Receiver>
                </PrimUsage>
            </PrimDef>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>event_data_avail</Name>
                </ItemLink>
                <Comment>data available event</Comment>
            </PrimItem>
            <History>
                <Date Day="14" Month="3" Year="2002"/>
                <Author>STW</Author>
                <Comment>Initial</Comment>
            </History>
        </Primitive>
        <Primitive>
            <Description>
                <Section>SIM_TEST_REQ is a test primitive to test the functionality of the SIM-entity of ME in the PC test environment. The sender is the SIM-entity of ME, the receiver is the test environment simulating the behaviour of the physical SIM-card.</Section>
            </Description>
            <PrimDef>
                <Name>SIM_TEST_REQ</Name>
                <PrimID Direction="UPLINK" Number="33"/>
                <PrimUsage>
                    <Sender>SIM</Sender>
                    <Receiver>CARD</Receiver>
                </PrimUsage>
            </PrimDef>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>cla</Name>
                </ItemLink>
                <Comment>class of instruction</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>ins_code</Name>
                </ItemLink>
                <Comment>instruction code</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>p1</Name>
                </ItemLink>
                <Comment>Parameter P1</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>p2</Name>
                </ItemLink>
                <Comment>Parameter P2</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>le</Name>
                </ItemLink>
                <Comment>length of response</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>stk_cmd</Name>
                </ItemLink>
                <Comment>test data</Comment>
            </PrimItem>
            <History>
                <Date Day="15" Month="4" Year="2002"/>
                <Author>JK</Author>
                <Comment>Initial</Comment>
            </History>
        </Primitive>
        <Primitive>
            <Description>
                <Section>SIM_TEST_IND is a primitive to test the functionality of the SIM-entity of ME in the PC test environment. The sender is the test environment simulating the behaviour of the physical SIM-card, the receiver the SIM-entity of ME.</Section>
            </Description>
            <PrimDef>
                <Name>SIM_TEST_CNF</Name>
                <PrimID Direction="DOWNLINK" Number="27"/>
                <PrimUsage>
                    <Sender>CARD</Sender>
                    <Receiver>SIM</Receiver>
                </PrimUsage>
            </PrimDef>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>sw1</Name>
                </ItemLink>
                <Comment>status byte 1</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>sw2</Name>
                </ItemLink>
                <Comment>status byte 2</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>stk_cmd</Name>
                </ItemLink>
                <Comment>test data</Comment>
            </PrimItem>
            <History>
                <Date Day="16" Month="4" Year="2002"/>
                <Author>JK</Author>
                <Comment>Initial</Comment>
            </History>
        </Primitive>
        <Primitive>
            <Description>
                <Section>Sent from the MMI to the SIM to provide the User Response to a Refresh Request Serie60 Customisation </Section>
            </Description>
            <PrimDef>
                <Name>SIM_REFRESH_USER_RES</Name>
                <PrimID Direction="DOWNLINK" Number="7"/>
                <PrimUsage>
                    <Sender>MMI</Sender>
                    <Receiver>SIM</Receiver>
                </PrimUsage>
            </PrimDef>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>user_accepts</Name>
                </ItemLink>
                <Comment>Primitive Item</Comment>
            </PrimItem>
            <PrimItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>stk_cmd</Name>
                </ItemLink>
                <Comment>Primitive Item</Comment>
            </PrimItem>
            <History>
                <Date Day="16" Month="08" Year="2004"/>
                <Author/>
                <Comment>Initial</Comment>
            </History>
        </Primitive>
    </PrimitivesSection>
    <PrimStructElementsSection>
        <Description>
            <Section>Parameters shall be part of the primitives described below and if applied the parameters shall contain the values specified here. These values are selected to correspond element values used in the air interface protocol.</Section>
        </Description>
        <PrimStructElem>
            <Description>
                <Section>The parameter defines the international mobile subscriber identity (IMSI) in the format of the SIM data field IMSI. Format and coding is described in GSM 11.11.</Section>
            </Description>
            <PrimStructElemDef Type="STRUCT">
                <Name>imsi_field</Name>
                <Comment>international mobile subscriber identity</Comment>
            </PrimStructElemDef>
            <PrimStructElemItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>c_field</Name>
                </ItemLink>
                <Comment>length of imsi</Comment>
            </PrimStructElemItem>
            <PrimStructElemItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>field</Name>
                </ItemLink>
                <Control>[MAX_IMSI]</Control>
                <Comment>imsi</Comment>
            </PrimStructElemItem>
            <History>
                <Date Day="16" Month="12" Year="1996"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
            <History>
                <Date Day="30" Month="5" Year="1997"/>
                <Author>MS</Author>
                <Comment>Revised</Comment>
            </History>
        </PrimStructElem>
        <PrimStructElem>
            <Description>
                <Section>The parameter defines the location information in the format of the SIM data field LOCATION_INFO. Format and coding is described in GSM 11.11.</Section>
            </Description>
            <PrimStructElemDef Type="STRUCT">
                <Name>loc_info</Name>
                <Comment>location information</Comment>
            </PrimStructElemDef>
            <PrimStructElemItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>c_loc</Name>
                </ItemLink>
                <Comment>length of location information</Comment>
            </PrimStructElemItem>
            <PrimStructElemItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>loc</Name>
                </ItemLink>
                <Control>[MAX_LOCIGSM]</Control>
                <Comment>location information</Comment>
            </PrimStructElemItem>
            <History>
                <Date Day="16" Month="12" Year="1996"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
            <History>
                <Date Day="30" Month="5" Year="1997"/>
                <Author>MS</Author>
                <Comment>Revised</Comment>
            </History>
        </PrimStructElem>
        <PrimStructElem>
            <Description>
                <Section>The parameter defines the access control classes in the format of the SIM data field ACCESS_CLASSES. Format and coding is described in GSM 11.11.</Section>
            </Description>
            <PrimStructElemDef Type="STRUCT">
                <Name>acc_ctrl</Name>
                <Comment>access control classes</Comment>
            </PrimStructElemDef>
            <PrimStructElemItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>c_acc</Name>
                </ItemLink>
                <Comment>length of access control classes</Comment>
            </PrimStructElemItem>
            <PrimStructElemItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>acc</Name>
                </ItemLink>
                <Control>[2]</Control>
                <Comment>access control classes</Comment>
            </PrimStructElemItem>
            <History>
                <Date Day="16" Month="12" Year="1996"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
            <History>
                <Date Day="30" Month="5" Year="1997"/>
                <Author>MS</Author>
                <Comment>Revised</Comment>
            </History>
        </PrimStructElem>
        <PrimStructElem>
            <Description>
                <Section>The parameter defines the BCCH information in the format of the SIM data field BCCH_INFORMATION. Format and coding is described in GSM 11.11.</Section>
            </Description>
            <PrimStructElemDef Type="STRUCT">
                <Name>bcch_inf</Name>
                <Comment>BCCH information</Comment>
            </PrimStructElemDef>
            <PrimStructElemItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>c_bcch</Name>
                </ItemLink>
                <Comment>Length of bcch information</Comment>
            </PrimStructElemItem>
            <PrimStructElemItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>bcch</Name>
                </ItemLink>
                <Control>[16]</Control>
                <Comment>bcch information</Comment>
            </PrimStructElemItem>
            <History>
                <Date Day="16" Month="12" Year="1996"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
            <History>
                <Date Day="30" Month="5" Year="1997"/>
                <Author>MS</Author>
                <Comment>Revised</Comment>
            </History>
        </PrimStructElem>
        <PrimStructElem>
            <Description>
                <Section>The parameter defines the Kc and the ciphering key sequence number in the format of the SIM data field KC_N. Format and coding is described in GSM 11.11.</Section>
            </Description>
            <PrimStructElemDef Type="STRUCT">
                <Name>kc_n</Name>
                <Comment>Kc and cipher key sequence number</Comment>
            </PrimStructElemDef>
            <PrimStructElemItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>c_kc</Name>
                </ItemLink>
                <Comment>Length of data field</Comment>
            </PrimStructElemItem>
            <PrimStructElemItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>kc</Name>
                </ItemLink>
                <Control>[MAX_KC+1]</Control>
                <Comment>Kc and ciphering key sequence number</Comment>
            </PrimStructElemItem>
            <History>
                <Date Day="16" Month="12" Year="1996"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
            <History>
                <Date Day="30" Month="5" Year="1997"/>
                <Author>MS</Author>
                <Comment>Revised</Comment>
            </History>
            <History>
                <Date Day="8" Month="10" Year="2002"/>
                <Author>FK</Author>
                <Comment>Column 'ref' added</Comment>
            </History>
        </PrimStructElem>
        <PrimStructElem>
            <Description>
                <Section>The parameter defines the preferred PLMN list in the format of the SIM data field PREF_PLMN. The field stores up to eight PLMN identifications each in three bytes. Format and coding is described in GSM 11.11.</Section>
            </Description>
            <PrimStructElemDef Type="STRUCT">
                <Name>pref_plmn</Name>
                <Comment>Preferred PLMN list</Comment>
            </PrimStructElemDef>
            <PrimStructElemItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>c_pref</Name>
                </ItemLink>
                <Comment>Length of preferred PLMN list</Comment>
            </PrimStructElemItem>
            <PrimStructElemItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>pref</Name>
                </ItemLink>
                <Control>[MAX_PREF_PLMN]</Control>
                <Comment>Preferred PLMN list</Comment>
            </PrimStructElemItem>
            <History>
                <Date Day="16" Month="12" Year="1996"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
            <History>
                <Date Day="30" Month="5" Year="1997"/>
                <Author>MS</Author>
                <Comment>Revised</Comment>
            </History>
        </PrimStructElem>
        <PrimStructElem>
            <Description>
                <Section>The parameter defines the forbidden PLMN list in the format of the SIM data field FORBIDDEN_PLMN. The field stores up to four PLMN identifications each in three bytes. Format and coding is described in GSM 11.11.</Section>
            </Description>
            <PrimStructElemDef Type="STRUCT">
                <Name>forb_plmn</Name>
                <Comment>Forbidden PLMN list</Comment>
            </PrimStructElemDef>
            <PrimStructElemItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>c_forb</Name>
                </ItemLink>
                <Comment>length of forbidden PLMN list</Comment>
            </PrimStructElemItem>
            <PrimStructElemItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>forb</Name>
                </ItemLink>
                <Control>[12]</Control>
                <Comment>Forbidden PLMN list</Comment>
            </PrimStructElemItem>
            <History>
                <Date Day="16" Month="12" Year="1996"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
            <History>
                <Date Day="30" Month="5" Year="1997"/>
                <Author>MS</Author>
                <Comment>Revised</Comment>
            </History>
        </PrimStructElem>
        <PrimStructElem>
            <Description>
                <Section>The parameter defines a SIM toolkit command.</Section>
            </Description>
            <PrimStructElemDef Type="STRUCT">
                <Name>stk_cmd</Name>
                <Comment>SIM toolkit command</Comment>
            </PrimStructElemDef>
            <PrimStructElemItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>l_cmd</Name>
                </ItemLink>
                <Comment>command length</Comment>
            </PrimStructElemItem>
            <PrimStructElemItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>o_cmd</Name>
                </ItemLink>
                <Comment>command offset</Comment>
            </PrimStructElemItem>
            <PrimStructElemItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>cmd</Name>
                </ItemLink>
                <Control>[MAX_STK_CMD]</Control>
                <Comment>command data</Comment>
            </PrimStructElemItem>
            <History>
                <Date Day="28" Month="9" Year="1998"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
            <History>
                <Date Day="19" Month="7" Year="1999"/>
                <Author>AK</Author>
                <Comment>structure aligned to T_sdu for decoding in MMI</Comment>
            </History>
        </PrimStructElem>
        <PrimStructElem>
            <Description>
                <Section>The parameter defines the location information in the format of the SIM data field GPRS_LOCATION_INFO. Format and coding is described in GSM 11.11.</Section>
            </Description>
            <PrimStructElemDef Type="STRUCT">
                <Name>gprs_loc_info</Name>
                <Comment>location information</Comment>
            </PrimStructElemDef>
            <PrimStructElemItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>c_loc</Name>
                </ItemLink>
                <Comment>length of location information</Comment>
            </PrimStructElemItem>
            <PrimStructElemItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>loc</Name>
                </ItemLink>
                <Control>[MAX_LOCIGPRS]</Control>
                <Comment>location information</Comment>
            </PrimStructElemItem>
            <History>
                <Date Day="4" Month="8" Year="2000"/>
                <Author>ANS</Author>
                <Comment>Initial</Comment>
            </History>
            <History>
                <Date Day="8" Month="10" Year="2002"/>
                <Author>FK</Author>
                <Comment>Column 'ref' added</Comment>
            </History>
        </PrimStructElem>
        <PrimStructElem>
            <Description>
                <Section>This structure defines the structure used for reading EF(CBMID) file</Section>
            </Description>
            <PrimStructElemDef Type="STRUCT">
                <Name>cbmid_rec</Name>
                <Comment>This structure contains the CBMID records</Comment>
            </PrimStructElemDef>
            <PrimStructElemItem Presentation="MANDATORY">
                <ItemLink>
                    <DocName DocType="SAP">sim</DocName>
                    <Name>rec</Name>
                </ItemLink>
                <Control>[1..MAX_CBMID_REC]</Control>
                <Comment>Primitive structure element item</Comment>
            </PrimStructElemItem>
            <History>
                <Date Day="30" Month="05" Year="2005"/>
                <Author/>
                <Comment>Initial</Comment>
            </History>
        </PrimStructElem>
    </PrimStructElementsSection>
    <PrimBasicElementsSection>
        <Description>
            <Section>Parameters shall be part of the primitives described below and if applied the parameters shall contain the values specified here. These values are selected to correspond element values used in the air interface protocol.</Section>
        </Description>
        <PrimBasicElem>
            <Description>
                <Section>The parameter data field defines an identification for read or write access to the SIM card. The data fields are binary or formatted data fields. '(M)' indicates mandatory files for Phase 2 SIMs</Section>
            </Description>
            <PrimBasicElemDef>
                <Name>datafield</Name>
                <Type>U16</Type>
                <Comment>data field identification</Comment>
            </PrimBasicElemDef>
            <ValuesLink>
                <DocName DocType="SAP">sim</DocName>
                <Name>VAL_datafield</Name>
            </ValuesLink>
            <History>
                <Date Day="16" Month="12" Year="1996"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
            <History>
                <Date Day="30" Month="5" Year="1997"/>
                <Author>MS</Author>
                <Comment>Revised</Comment>
            </History>
            <History>
                <Date Day="29" Month="9" Year="1998"/>
                <Author>LE</Author>
                <Comment>datafield codes adapted</Comment>
            </History>
            <History>
                <Date Day="22" Month="8" Year="2000"/>
                <Author>FK</Author>
                <Comment>CPHS and SoLSA datafields added</Comment>
            </History>
            <History>
                <Date Day="18" Month="10" Year="2001"/>
                <Author>VO</Author>
                <Comment>CPHS information numbers for old SIMs added (temp patch)</Comment>
            </History>
            <History>
                <Date Day="10" Month="4" Year="2002"/>
                <Author>DL</Author>
                <Comment>Viag 1st level DF and EF names added</Comment>
            </History>
        </PrimBasicElem>
        <PrimBasicElem>
            <Description>
                <Section>The parameter defines a cause value about the outcome ofr the related operation. The value SIM_NO_ERROR defines a successful end of operation. All other value specify the reason for an unsuccesful result. Cause values derived from SIM Status Codes are standardized and defined as coming from the network (the source of the cause is extern to the ME), cause values derived from error codes provided by the SIM driver are internally specified and defined as coming from the MS (the source of the cause is the ME).</Section>
            </Description>
            <PrimBasicElemDef>
                <Name>cause</Name>
                <Type>U16</Type>
                <Comment>error code</Comment>
            </PrimBasicElemDef>
            <ValuesLink>
                <DocName DocType="SAP">sim</DocName>
                <Name>VAL_cause</Name>
            </ValuesLink>
            <History>
                <Date Day="16" Month="12" Year="1996"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
            <History>
                <Date Day="30" Month="5" Year="1997"/>
                <Author>MS</Author>
                <Comment>Revised</Comment>
            </History>
            <History>
                <Date Day="20" Month="12" Year="1999"/>
                <Author>LE</Author>
                <Comment>SIM_INIT_NO_ERROR added</Comment>
            </History>
            <History>
                <Date Day="1" Month="2" Year="2000"/>
                <Author>FK</Author>
                <Comment>SIM_DNL_ERROR added</Comment>
            </History>
            <History>
                <Date Day="13" Month="8" Year="2002"/>
                <Author>FK</Author>
                <Comment>Adaption to Cause Concept</Comment>
            </History>
            <History>
                <Date Day="24" Month="1" Year="2003"/>
                <Author>FK</Author>
                <Comment>SIM_CAUSE_DRV_TEMPFAIL added</Comment>
            </History>
        </PrimBasicElem>
        <PrimBasicElem>
            <Description>
                <Section>The parameter defines the number of bytes to read from or write to the SIM card. If an access to a formatted data field is carried out the length must be in the range of the data field.</Section>
            </Description>
            <PrimBasicElemDef>
                <Name>length</Name>
                <Type>U8</Type>
                <Comment>length of data field</Comment>
            </PrimBasicElemDef>
            <History>
                <Date Day="16" Month="12" Year="1996"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
            <History>
                <Date Day="30" Month="5" Year="1997"/>
                <Author>MS</Author>
                <Comment>Revised</Comment>
            </History>
        </PrimBasicElem>
        <PrimBasicElem>
            <Description>
                <Section>The parameter defines the number of bytes to read from or write to the SIM card. If an access to a formatted data field is carried out the length must be in the range of the data field.</Section>
            </Description>
            <PrimBasicElemDef>
                <Name>max_length</Name>
                <Type>U8</Type>
                <Comment>Maximum of length</Comment>
            </PrimBasicElemDef>
            <History>
                <Date Day="16" Month="12" Year="1996"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
            <History>
                <Date Day="30" Month="5" Year="1997"/>
                <Author>MS</Author>
                <Comment>Revised</Comment>
            </History>
        </PrimBasicElem>
        <PrimBasicElem>
            <Description>
                <Section>The parameter defines an offset for accessing a data field.</Section>
            </Description>
            <PrimBasicElemDef>
                <Name>offset</Name>
                <Type>U16</Type>
                <Comment>offset of data field</Comment>
            </PrimBasicElemDef>
            <History>
                <Date Day="16" Month="12" Year="1996"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
            <History>
                <Date Day="30" Month="5" Year="1997"/>
                <Author>MS</Author>
                <Comment>Revised</Comment>
            </History>
            <History>
                <Date Day="2" Month="2" Year="2000"/>
                <Author>FK</Author>
                <Comment>Type changed to USHORT (better alignment)</Comment>
            </History>
        </PrimBasicElem>
        <PrimBasicElem>
            <Description>
                <Section>The parameter PIN has a fixed length of eight bytes. The used bytes are ASCII coded. Unused bytes are filled with 0xFF.</Section>
            </Description>
            <PrimBasicElemDef>
                <Name>pin</Name>
                <Type>U8</Type>
                <Comment>personal identification number</Comment>
            </PrimBasicElemDef>
            <History>
                <Date Day="16" Month="12" Year="1996"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
            <History>
                <Date Day="30" Month="5" Year="1997"/>
                <Author>MS</Author>
                <Comment>Revised</Comment>
            </History>
        </PrimBasicElem>
        <PrimBasicElem>
            <Description>
                <Section>The parameter PIN has a fixed length of eight bytes. The used bytes are ASCII coded. Unused bytes are filled with 0xFF.</Section>
            </Description>
            <PrimBasicElemDef>
                <Name>old_pin</Name>
                <Type>U8</Type>
                <Comment>personal identification number</Comment>
            </PrimBasicElemDef>
            <History>
                <Date Day="16" Month="12" Year="1996"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
            <History>
                <Date Day="30" Month="5" Year="1997"/>
                <Author>MS</Author>
                <Comment>Revised</Comment>
            </History>
        </PrimBasicElem>
        <PrimBasicElem>
            <Description>
                <Section>The parameter PIN has a fixed length of eight bytes. The used bytes are ASCII coded. Unused bytes are filled with 0xFF.</Section>
            </Description>
            <PrimBasicElemDef>
                <Name>new_pin</Name>
                <Type>U8</Type>
                <Comment>personal identification number</Comment>
            </PrimBasicElemDef>
            <History>
                <Date Day="16" Month="12" Year="1996"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
            <History>
                <Date Day="30" Month="5" Year="1997"/>
                <Author>MS</Author>
                <Comment>Revised</Comment>
            </History>
        </PrimBasicElem>
        <PrimBasicElem>
            <Description>
                <Section>The parameter record is used for the access to formatted data fields. It defines the record number within in a data field. The record number is in the range 1, 2 ...max. The maximum depends on the chip card.</Section>
            </Description>
            <PrimBasicElemDef>
                <Name>record</Name>
                <Type>U8</Type>
                <Comment>record number</Comment>
            </PrimBasicElemDef>
            <History>
                <Date Day="16" Month="12" Year="1996"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
            <History>
                <Date Day="30" Month="5" Year="1997"/>
                <Author>MS</Author>
                <Comment>Revised</Comment>
            </History>
            <History>
                <Date Day="12" Month="10" Year="1998"/>
                <Author>LE</Author>
                <Comment>max_record added</Comment>
            </History>
        </PrimBasicElem>
        <PrimBasicElem>
            <Description>
                <Section>The parameter record is used for the access to formatted data fields. It defines the record number within in a data field. The record number is in the range 1, 2 ...max. The maximum depends on the chip card.</Section>
            </Description>
            <PrimBasicElemDef>
                <Name>max_record</Name>
                <Type>U8</Type>
                <Comment>Maximum record number</Comment>
            </PrimBasicElemDef>
            <History>
                <Date Day="16" Month="12" Year="1996"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
            <History>
                <Date Day="30" Month="5" Year="1997"/>
                <Author>MS</Author>
                <Comment>Revised</Comment>
            </History>
            <History>
                <Date Day="12" Month="10" Year="1998"/>
                <Author>LE</Author>
                <Comment>max_record added</Comment>
            </History>
        </PrimBasicElem>
        <PrimBasicElem>
            <Description>
                <Section>The parameter unblocking key has a fixed length of eight bytes. The used bytes are ASCII coded. Unused bytes are filled with 0xFF.</Section>
            </Description>
            <PrimBasicElemDef>
                <Name>unblock_key</Name>
                <Type>U8</Type>
                <Comment>unblocking key</Comment>
            </PrimBasicElemDef>
            <History>
                <Date Day="16" Month="12" Year="1996"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
            <History>
                <Date Day="30" Month="5" Year="1997"/>
                <Author>MS</Author>
                <Comment>Revised</Comment>
            </History>
        </PrimBasicElem>
        <PrimBasicElem>
            <Description>
                <Section>The parameter rand is a random number of 128 bits, which is forwarded from the infrastructure to the mobile station as an input parameter for the authentication algorithm of GSM. The format and coding is described in GSM 4.08.</Section>
            </Description>
            <PrimBasicElemDef>
                <Name>rand</Name>
                <Type>U8</Type>
                <Comment>authentication parameter rand</Comment>
            </PrimBasicElemDef>
            <History>
                <Date Day="16" Month="12" Year="1996"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
            <History>
                <Date Day="30" Month="5" Year="1997"/>
                <Author>MS</Author>
                <Comment>Revised</Comment>
            </History>
        </PrimBasicElem>
        <PrimBasicElem>
            <Description>
                <Section>The parameter ciphering key sequence number consists of 3 bits and is used as an identification for the authentication parameter Kc. Both values are stored together in the KC_N data field of the SIM card.</Section>
            </Description>
            <PrimBasicElemDef>
                <Name>cksn</Name>
                <Type>U8</Type>
                <Comment>ciphering key sequence number</Comment>
            </PrimBasicElemDef>
            <History>
                <Date Day="16" Month="12" Year="1996"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
            <History>
                <Date Day="30" Month="5" Year="1997"/>
                <Author>MS</Author>
                <Comment>Revised</Comment>
            </History>
        </PrimBasicElem>
        <PrimBasicElem>
            <Description>
                <Section>The parameter Sres is the 32 bit result of the GSM authentication algorithm. The value is forwarded to the infrastructure. The format and coding is described in GSM 4.08.</Section>
            </Description>
            <PrimBasicElemDef>
                <Name>sres</Name>
                <Type>U8</Type>
                <Comment>authentication parameter Sres</Comment>
            </PrimBasicElemDef>
            <History>
                <Date Day="16" Month="12" Year="1996"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
            <History>
                <Date Day="30" Month="5" Year="1997"/>
                <Author>MS</Author>
                <Comment>Revised</Comment>
            </History>
        </PrimBasicElem>
        <PrimBasicElem>
            <Description>
                <Section>The parameter Kc is the 64 bit result of the GSM authentication algorithm. The value is forwarded to the physical layer for encryption purposes. The format and coding is described in GSM 4.08.</Section>
            </Description>
            <PrimBasicElemDef>
                <Name>kc</Name>
                <Type>U8</Type>
                <Comment>authentication parameter Kc</Comment>
            </PrimBasicElemDef>
            <History>
                <Date Day="16" Month="12" Year="1996"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
            <History>
                <Date Day="30" Month="5" Year="1997"/>
                <Author>MS</Author>
                <Comment>Revised</Comment>
            </History>
        </PrimBasicElem>
        <PrimBasicElem>
            <Description>
                <Section>The parameter operation mode defines the type of chip card.</Section>
            </Description>
            <PrimBasicElemDef>
                <Name>op_mode</Name>
                <Type>U8</Type>
                <Comment>operation mode</Comment>
            </PrimBasicElemDef>
            <ValuesLink>
                <DocName DocType="SAP">sim</DocName>
                <Name>VAL_op_mode</Name>
            </ValuesLink>
            <History>
                <Date Day="16" Month="12" Year="1996"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
            <History>
                <Date Day="30" Month="5" Year="1997"/>
                <Author>MS</Author>
                <Comment>Revised</Comment>
            </History>
        </PrimBasicElem>
        <PrimBasicElem>
            <Description>
                <Section>The parameter defines the international mobile subscriber identity (IMSI) in the format of the SIM data field IMSI. Format and coding is described in GSM 11.11.</Section>
            </Description>
            <PrimBasicElemDef>
                <Name>c_field</Name>
                <Type>U8</Type>
                <Comment>length of imsi</Comment>
            </PrimBasicElemDef>
            <History>
                <Date Day="16" Month="12" Year="1996"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
            <History>
                <Date Day="30" Month="5" Year="1997"/>
                <Author>MS</Author>
                <Comment>Revised</Comment>
            </History>
        </PrimBasicElem>
        <PrimBasicElem>
            <Description>
                <Section>The parameter defines the international mobile subscriber identity (IMSI) in the format of the SIM data field IMSI. Format and coding is described in GSM 11.11.</Section>
            </Description>
            <PrimBasicElemDef>
                <Name>field</Name>
                <Type>U8</Type>
                <Comment>imsi</Comment>
            </PrimBasicElemDef>
            <History>
                <Date Day="16" Month="12" Year="1996"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
            <History>
                <Date Day="30" Month="5" Year="1997"/>
                <Author>MS</Author>
                <Comment>Revised</Comment>
            </History>
        </PrimBasicElem>
        <PrimBasicElem>
            <Description>
                <Section>The parameter defines the access control classes in the format of the SIM data field ACCESS_CLASSES. Format and coding is described in GSM 11.11.</Section>
            </Description>
            <PrimBasicElemDef>
                <Name>c_acc</Name>
                <Type>U8</Type>
                <Comment>length of access control classes</Comment>
            </PrimBasicElemDef>
            <History>
                <Date Day="16" Month="12" Year="1996"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
            <History>
                <Date Day="30" Month="5" Year="1997"/>
                <Author>MS</Author>
                <Comment>Revised</Comment>
            </History>
        </PrimBasicElem>
        <PrimBasicElem>
            <Description>
                <Section>The parameter defines the access control classes in the format of the SIM data field ACCESS_CLASSES. Format and coding is described in GSM 11.11.</Section>
            </Description>
            <PrimBasicElemDef>
                <Name>acc</Name>
                <Type>U8</Type>
                <Comment>access control classes</Comment>
            </PrimBasicElemDef>
            <History>
                <Date Day="16" Month="12" Year="1996"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
            <History>
                <Date Day="30" Month="5" Year="1997"/>
                <Author>MS</Author>
                <Comment>Revised</Comment>
            </History>
        </PrimBasicElem>
        <PrimBasicElem>
            <Description>
                <Section>The parameter defines the BCCH information in the format of the SIM data field BCCH_INFORMATION. Format and coding is described in GSM 11.11.</Section>
            </Description>
            <PrimBasicElemDef>
                <Name>c_bcch</Name>
                <Type>U8</Type>
                <Comment>Length of bcch information</Comment>
            </PrimBasicElemDef>
            <History>
                <Date Day="16" Month="12" Year="1996"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
            <History>
                <Date Day="30" Month="5" Year="1997"/>
                <Author>MS</Author>
                <Comment>Revised</Comment>
            </History>
        </PrimBasicElem>
        <PrimBasicElem>
            <Description>
                <Section>The parameter defines the BCCH information in the format of the SIM data field BCCH_INFORMATION. Format and coding is described in GSM 11.11.</Section>
            </Description>
            <PrimBasicElemDef>
                <Name>bcch</Name>
                <Type>U8</Type>
                <Comment>bcch information</Comment>
            </PrimBasicElemDef>
            <History>
                <Date Day="16" Month="12" Year="1996"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
            <History>
                <Date Day="30" Month="5" Year="1997"/>
                <Author>MS</Author>
                <Comment>Revised</Comment>
            </History>
        </PrimBasicElem>
        <PrimBasicElem>
            <Description>
                <Section>The parameter defines the Kc and the ciphering key sequence number in the format of the SIM data field KC_N. Format and coding is described in GSM 11.11.</Section>
            </Description>
            <PrimBasicElemDef>
                <Name>c_kc</Name>
                <Type>U8</Type>
                <Comment>Length of data field</Comment>
            </PrimBasicElemDef>
            <History>
                <Date Day="16" Month="12" Year="1996"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
            <History>
                <Date Day="30" Month="5" Year="1997"/>
                <Author>MS</Author>
                <Comment>Revised</Comment>
            </History>
            <History>
                <Date Day="8" Month="10" Year="2002"/>
                <Author>FK</Author>
                <Comment>Column 'ref' added</Comment>
            </History>
        </PrimBasicElem>
        <PrimBasicElem>
            <Description>
                <Section>The parameter defines the preferred PLMN list in the format of the SIM data field PREF_PLMN. The field stores up to eight PLMN identifications each in three bytes. Format and coding is described in GSM 11.11.</Section>
            </Description>
            <PrimBasicElemDef>
                <Name>c_pref</Name>
                <Type>U8</Type>
                <Comment>Length of preferred PLMN list</Comment>
            </PrimBasicElemDef>
            <History>
                <Date Day="16" Month="12" Year="1996"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
            <History>
                <Date Day="30" Month="5" Year="1997"/>
                <Author>MS</Author>
                <Comment>Revised</Comment>
            </History>
        </PrimBasicElem>
        <PrimBasicElem>
            <Description>
                <Section>The parameter defines the preferred PLMN list in the format of the SIM data field PREF_PLMN. The field stores up to eight PLMN identifications each in three bytes. Format and coding is described in GSM 11.11.</Section>
            </Description>
            <PrimBasicElemDef>
                <Name>pref</Name>
                <Type>U8</Type>
                <Comment>Preferred PLMN list</Comment>
            </PrimBasicElemDef>
            <History>
                <Date Day="16" Month="12" Year="1996"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
            <History>
                <Date Day="30" Month="5" Year="1997"/>
                <Author>MS</Author>
                <Comment>Revised</Comment>
            </History>
        </PrimBasicElem>
        <PrimBasicElem>
            <Description>
                <Section>The parameter defines the forbidden PLMN list in the format of the SIM data field FORBIDDEN_PLMN. The field stores up to four PLMN identifications each in three bytes. Format and coding is described in GSM 11.11.</Section>
            </Description>
            <PrimBasicElemDef>
                <Name>c_forb</Name>
                <Type>U8</Type>
                <Comment>length of forbidden PLMN list</Comment>
            </PrimBasicElemDef>
            <History>
                <Date Day="16" Month="12" Year="1996"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
            <History>
                <Date Day="30" Month="5" Year="1997"/>
                <Author>MS</Author>
                <Comment>Revised</Comment>
            </History>
        </PrimBasicElem>
        <PrimBasicElem>
            <Description>
                <Section>The parameter defines the forbidden PLMN list in the format of the SIM data field FORBIDDEN_PLMN. The field stores up to four PLMN identifications each in three bytes. Format and coding is described in GSM 11.11.</Section>
            </Description>
            <PrimBasicElemDef>
                <Name>forb</Name>
                <Type>U8</Type>
                <Comment>Forbidden PLMN list</Comment>
            </PrimBasicElemDef>
            <History>
                <Date Day="16" Month="12" Year="1996"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
            <History>
                <Date Day="30" Month="5" Year="1997"/>
                <Author>MS</Author>
                <Comment>Revised</Comment>
            </History>
        </PrimBasicElem>
        <PrimBasicElem>
            <Description>
                <Section>The parameter defines the value of the PIN and PUK counters. These counters are decreased each time a wrong PIN or PUK is entered. The value zero defines that the chip card is blocked.</Section>
            </Description>
            <PrimBasicElemDef>
                <Name>pin_cnt</Name>
                <Type>U8</Type>
                <Comment>PIN counter</Comment>
            </PrimBasicElemDef>
            <ValuesLink>
                <DocName DocType="SAP">sim</DocName>
                <Name>VAL_pin_cnt</Name>
            </ValuesLink>
            <History>
                <Date Day="16" Month="12" Year="1996"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
            <History>
                <Date Day="30" Month="5" Year="1997"/>
                <Author>MS</Author>
                <Comment>Revised</Comment>
            </History>
            <History>
                <Date Day="6" Month="7" Year="1999"/>
                <Author>LE</Author>
                <Comment>PIN2, PUK and PUK2 added</Comment>
            </History>
        </PrimBasicElem>
        <PrimBasicElem>
            <Description>
                <Section>The parameter defines the value of the PIN and PUK counters. These counters are decreased each time a wrong PIN or PUK is entered. The value zero defines that the chip card is blocked.</Section>
            </Description>
            <PrimBasicElemDef>
                <Name>pin2_cnt</Name>
                <Type>U8</Type>
                <Comment>PIN 2 counter</Comment>
            </PrimBasicElemDef>
            <ValuesLink>
                <DocName DocType="SAP">sim</DocName>
                <Name>VAL_pin_cnt</Name>
            </ValuesLink>
            <History>
                <Date Day="16" Month="12" Year="1996"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
            <History>
                <Date Day="30" Month="5" Year="1997"/>
                <Author>MS</Author>
                <Comment>Revised</Comment>
            </History>
            <History>
                <Date Day="6" Month="7" Year="1999"/>
                <Author>LE</Author>
                <Comment>PIN2, PUK and PUK2 added</Comment>
            </History>
        </PrimBasicElem>
        <PrimBasicElem>
            <Description>
                <Section>The parameter defines the value of the PIN and PUK counters. These counters are decreased each time a wrong PIN or PUK is entered. The value zero defines that the chip card is blocked.</Section>
            </Description>
            <PrimBasicElemDef>
                <Name>puk_cnt</Name>
                <Type>U8</Type>
                <Comment>PUK counter</Comment>
            </PrimBasicElemDef>
            <ValuesLink>
                <DocName DocType="SAP">sim</DocName>
                <Name>VAL_pin_cnt</Name>
            </ValuesLink>
            <History>
                <Date Day="16" Month="12" Year="1996"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
            <History>
                <Date Day="30" Month="5" Year="1997"/>
                <Author>MS</Author>
                <Comment>Revised</Comment>
            </History>
            <History>
                <Date Day="6" Month="7" Year="1999"/>
                <Author>LE</Author>
                <Comment>PIN2, PUK and PUK2 added</Comment>
            </History>
        </PrimBasicElem>
        <PrimBasicElem>
            <Description>
                <Section>The parameter defines the value of the PIN and PUK counters. These counters are decreased each time a wrong PIN or PUK is entered. The value zero defines that the chip card is blocked.</Section>
            </Description>
            <PrimBasicElemDef>
                <Name>puk2_cnt</Name>
                <Type>U8</Type>
                <Comment>PUK 2 counter</Comment>
            </PrimBasicElemDef>
            <ValuesLink>
                <DocName DocType="SAP">sim</DocName>
                <Name>VAL_pin_cnt</Name>
            </ValuesLink>
            <History>
                <Date Day="16" Month="12" Year="1996"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
            <History>
                <Date Day="30" Month="5" Year="1997"/>
                <Author>MS</Author>
                <Comment>Revised</Comment>
            </History>
            <History>
                <Date Day="6" Month="7" Year="1999"/>
                <Author>LE</Author>
                <Comment>PIN2, PUK and PUK2 added</Comment>
            </History>
        </PrimBasicElem>
        <PrimBasicElem>
            <Description>
                <Section>The parameter defines whether it is a phase 1 or phase 2 SIM card.</Section>
            </Description>
            <PrimBasicElemDef>
                <Name>phase</Name>
                <Type>U8</Type>
                <Comment>phase  of SIM card</Comment>
            </PrimBasicElemDef>
            <ValuesLink>
                <DocName DocType="SAP">sim</DocName>
                <Name>VAL_phase</Name>
            </ValuesLink>
            <History>
                <Date Day="16" Month="12" Year="1996"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
            <History>
                <Date Day="30" Month="5" Year="1997"/>
                <Author>MS</Author>
                <Comment>Revised</Comment>
            </History>
        </PrimBasicElem>
        <PrimBasicElem>
            <Description>
                <Section>The parameter defines the HPLMN search period in multiples of n minutes. The value is used by radio resource management for searching the HPLMN if located outside the HPLMN.</Section>
            </Description>
            <PrimBasicElemDef>
                <Name>hplmn</Name>
                <Type>U8</Type>
                <Comment>HPLMN search period</Comment>
            </PrimBasicElemDef>
            <ValuesLink>
                <DocName DocType="SAP">sim</DocName>
                <Name>VAL_hplmn</Name>
            </ValuesLink>
            <History>
                <Date Day="16" Month="12" Year="1996"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
            <History>
                <Date Day="30" Month="5" Year="1997"/>
                <Author>MS</Author>
                <Comment>Revised</Comment>
            </History>
            <History>
                <Date Day="12" Month="11" Year="2002"/>
                <Author>FK</Author>
                <Comment>Value definition added</Comment>
            </History>
        </PrimBasicElem>
        <PrimBasicElem>
            <Description>
                <Section>The parameter defines the type of SIM card. For phase 1 SIM cards the parameter is ignored.</Section>
            </Description>
            <PrimBasicElemDef>
                <Name>pin_id</Name>
                <Type>U8</Type>
                <Comment>PIN identification</Comment>
            </PrimBasicElemDef>
            <ValuesLink>
                <DocName DocType="SAP">sim</DocName>
                <Name>VAL_pin_id</Name>
            </ValuesLink>
            <History>
                <Date Day="16" Month="12" Year="1996"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
            <History>
                <Date Day="30" Month="5" Year="1997"/>
                <Author>MS</Author>
                <Comment>Revised</Comment>
            </History>
            <History>
                <Date Day="11" Month="5" Year="1999"/>
                <Author>LE</Author>
                <Comment>PUK1/2 added</Comment>
            </History>
        </PrimBasicElem>
        <PrimBasicElem>
            <Description>
                <Section>The parameter defines the sending process of the SIM request.</Section>
            </Description>
            <PrimBasicElemDef>
                <Name>source</Name>
                <Type>U16</Type>
                <Comment>source process</Comment>
            </PrimBasicElemDef>
            <ValuesLink>
                <DocName DocType="SAP">sim</DocName>
                <Name>VAL_source</Name>
            </ValuesLink>
            <History>
                <Date Day="16" Month="12" Year="1996"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
            <History>
                <Date Day="30" Month="5" Year="1997"/>
                <Author>MS</Author>
                <Comment>Revised</Comment>
            </History>
            <History>
                <Date Day="2" Month="2" Year="2000"/>
                <Author>FK</Author>
                <Comment>Type changed to USHORT (better alignment)</Comment>
            </History>
            <History>
                <Date Day="4" Month="8" Year="2000"/>
                <Author>ANS</Author>
                <Comment>GMM added</Comment>
            </History>
            <History>
                <Date Day="12" Month="11" Year="2002"/>
                <Author>FK</Author>
                <Comment>RR added (ffs)</Comment>
            </History>
        </PrimBasicElem>
        <PrimBasicElem>
            <Description>
                <Section>The parameter references a SIM Toolkit request. The SIM has to return the value given in a SIM_TOOLKIT_REQ primitive with the corresponding SIM_TOOLKIT_CNF to allow the sender proper association in case of overlapping procedures.</Section>
            </Description>
            <PrimBasicElemDef>
                <Name>req_id</Name>
                <Type>U8</Type>
                <Comment>identifies a certain SIM toolkit procedure</Comment>
            </PrimBasicElemDef>
            <History>
                <Date Day="18" Month="10" Year="1999"/>
                <Author>FK</Author>
                <Comment>Initial</Comment>
            </History>
        </PrimBasicElem>
        <PrimBasicElem>
            <Description>
                <Section>The parameter contains the message reference used for mobile originated short message service.</Section>
            </Description>
            <PrimBasicElemDef>
                <Name>tp_mr</Name>
                <Type>U8</Type>
                <Comment>message reference</Comment>
            </PrimBasicElemDef>
            <History>
                <Date Day="5" Month="2" Year="1998"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
        </PrimBasicElem>
        <PrimBasicElem>
            <Description>
                <Section>The parameter defines whether memory capacity is available on the SIM card to store short messages.</Section>
            </Description>
            <PrimBasicElemDef>
                <Name>mem_cap_avail</Name>
                <Type>U8</Type>
                <Comment>memory capacity available flag</Comment>
            </PrimBasicElemDef>
            <ValuesLink>
                <DocName DocType="SAP">sim</DocName>
                <Name>VAL_mem_cap_avail</Name>
            </ValuesLink>
            <History>
                <Date Day="5" Month="2" Year="1998"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
            <History>
                <Date Day="29" Month="3" Year="2000"/>
                <Author>FK</Author>
                <Comment>Value definitions added</Comment>
            </History>
        </PrimBasicElem>
        <PrimBasicElem>
            <Description>
                <Section>This parameter designates the length of the Location Information for GSM or GPRS.</Section>
            </Description>
            <PrimBasicElemDef>
                <Name>c_loc</Name>
                <Type>U8</Type>
                <Comment>Length of Location Information</Comment>
            </PrimBasicElemDef>
            <History>
                <Date Day="8" Month="10" Year="2002"/>
                <Author>FK</Author>
                <Comment>Initial</Comment>
            </History>
        </PrimBasicElem>
        <PrimBasicElem>
            <Description>
                <Section>The parameter contains the SIM Toolkit profile of the mobile. It matches to the definition of profile command described in GSM 11.14. It will be used for profile download to pro-active SIM cards.</Section>
                <Section>The values table provides definitions for all relevant flags. SAT_TPx_yyy indicates flag yyy of byte n? x.</Section>
            </Description>
            <PrimBasicElemDef>
                <Name>stk_pro_file</Name>
                <Type>U8</Type>
                <Comment>SIM toolkit profile</Comment>
            </PrimBasicElemDef>
            <ValuesLink>
                <DocName DocType="SAP">sim</DocName>
                <Name>VAL_stk_pro_file</Name>
            </ValuesLink>
            <History>
                <Date Day="28" Month="9" Year="1998"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
            <History>
                <Date Day="1" Month="10" Year="1999"/>
                <Author>LE</Author>
                <Comment>Increased to 10 Bytes</Comment>
            </History>
            <History>
                <Date Day="1" Month="2" Year="2000"/>
                <Author>FK</Author>
                <Comment>Definitions for SIM Terminal Profile entries added</Comment>
            </History>
            <History>
                <Date Day="31" Month="10" Year="2001"/>
                <Author>FK</Author>
                <Comment>TP definitions for Class 3 &amp; C added</Comment>
            </History>
            <History>
                <Date Day="2" Month="5" Year="2002"/>
                <Author>AK</Author>
                <Comment>Missing definitions for byte 10,11,14,15,16 and 19 added</Comment>
            </History>
        </PrimBasicElem>
        <PrimBasicElem>
            <Description>
                <Section>The parameter contains the emergency call codes read from the SIM card. Format and coding matches to the equivalent field on the SIM card described in GSM 11.11.</Section>
            </Description>
            <PrimBasicElemDef>
                <Name>ec_code</Name>
                <Type>U8</Type>
                <Comment>Emergency call codes</Comment>
            </PrimBasicElemDef>
            <History>
                <Date Day="28" Month="9" Year="1998"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
        </PrimBasicElem>
        <PrimBasicElem>
            <Description>
                <Section>The parameter contains the preferred languages read from the SIM card. Format and coding matches to the equivalent field on the SIM card described in GSM 11.11.</Section>
            </Description>
            <PrimBasicElemDef>
                <Name>pref_lang</Name>
                <Type>U8</Type>
                <Comment>preferred languages</Comment>
            </PrimBasicElemDef>
            <History>
                <Date Day="28" Month="9" Year="1998"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
        </PrimBasicElem>
        <PrimBasicElem>
            <Description>
                <Section>The parameter defines a SIM toolkit command.</Section>
            </Description>
            <PrimBasicElemDef>
                <Name>l_cmd</Name>
                <Type>U16</Type>
                <Comment>command length</Comment>
            </PrimBasicElemDef>
            <History>
                <Date Day="28" Month="9" Year="1998"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
            <History>
                <Date Day="19" Month="7" Year="1999"/>
                <Author>AK</Author>
                <Comment>structure aligned to T_sdu for decoding in MMI</Comment>
            </History>
        </PrimBasicElem>
        <PrimBasicElem>
            <Description>
                <Section>The parameter defines a SIM toolkit command.</Section>
            </Description>
            <PrimBasicElemDef>
                <Name>o_cmd</Name>
                <Type>U16</Type>
                <Comment>command offset</Comment>
            </PrimBasicElemDef>
            <History>
                <Date Day="28" Month="9" Year="1998"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
            <History>
                <Date Day="19" Month="7" Year="1999"/>
                <Author>AK</Author>
                <Comment>structure aligned to T_sdu for decoding in MMI</Comment>
            </History>
        </PrimBasicElem>
        <PrimBasicElem>
            <Description>
                <Section>The parameter defines a SIM toolkit command.</Section>
            </Description>
            <PrimBasicElemDef>
                <Name>cmd</Name>
                <Type>U8</Type>
                <Comment>command data</Comment>
            </PrimBasicElemDef>
            <History>
                <Date Day="28" Month="9" Year="1998"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
            <History>
                <Date Day="19" Month="7" Year="1999"/>
                <Author>AK</Author>
                <Comment>structure aligned to T_sdu for decoding in MMI</Comment>
            </History>
        </PrimBasicElem>
        <PrimBasicElem>
            <Description>
                <Section>The parameter defines the kind of activation procedure: initialisation, FDN enabling or FDN disabling.</Section>
            </Description>
            <PrimBasicElemDef>
                <Name>proc</Name>
                <Type>U8</Type>
                <Comment>procedure type</Comment>
            </PrimBasicElemDef>
            <ValuesLink>
                <DocName DocType="SAP">sim</DocName>
                <Name>VAL_proc</Name>
            </ValuesLink>
            <History>
                <Date Day="28" Month="9" Year="1998"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
        </PrimBasicElem>
        <PrimBasicElem>
            <Description>
                <Section>The parameter defines SIM card operation mode after initialisation.</Section>
            </Description>
            <PrimBasicElemDef>
                <Name>func</Name>
                <Type>U8</Type>
                <Comment>SIM card functionality</Comment>
            </PrimBasicElemDef>
            <ValuesLink>
                <DocName DocType="SAP">sim</DocName>
                <Name>VAL_func</Name>
            </ValuesLink>
            <History>
                <Date Day="29" Month="9" Year="1998"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
        </PrimBasicElem>
        <PrimBasicElem>
            <Description>
                <Section>The parameter contains the SIM service table read from the SIM card. Format and coding matches to the equivalent field on the SIM card described in GSM 11.11.</Section>
            </Description>
            <PrimBasicElemDef>
                <Name>sim_serv</Name>
                <Type>U8</Type>
                <Comment>SIM service table</Comment>
            </PrimBasicElemDef>
            <History>
                <Date Day="29" Month="9" Year="1998"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
            <History>
                <Date Day="1" Month="2" Year="2000"/>
                <Author>FK</Author>
                <Comment>New constant MAX_SRV_TBL</Comment>
            </History>
        </PrimBasicElem>
        <PrimBasicElem>
            <Description>
                <Section>The parameter contains the cell identity of the current used cell.</Section>
            </Description>
            <PrimBasicElemDef>
                <Name>cell_identity</Name>
                <Type>U16</Type>
                <Comment>cell identity</Comment>
            </PrimBasicElemDef>
            <History>
                <Date Day="6" Month="10" Year="1998"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
        </PrimBasicElem>
        <PrimBasicElem>
            <Description>
                <Section>The parameter defines whether download via SMS is supported by the SIM card (only for SIM toolkit).</Section>
            </Description>
            <PrimBasicElemDef>
                <Name>download_sms</Name>
                <Type>U8</Type>
                <Comment>Download SMS Flag</Comment>
            </PrimBasicElemDef>
            <ValuesLink>
                <DocName DocType="SAP">sim</DocName>
                <Name>VAL_download_sms</Name>
            </ValuesLink>
            <History>
                <Date Day="6" Month="10" Year="1998"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
        </PrimBasicElem>
        <PrimBasicElem>
            <Description>
                <Section>The parameter defines the access conditions for updating some advice of charge fields.</Section>
            </Description>
            <PrimBasicElemDef>
                <Name>access_acm</Name>
                <Type>U8</Type>
                <Comment>Access ACM</Comment>
            </PrimBasicElemDef>
            <ValuesLink>
                <DocName DocType="SAP">sim</DocName>
                <Name>VAL_access_acm</Name>
            </ValuesLink>
            <History>
                <Date Day="7" Month="7" Year="1999"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
        </PrimBasicElem>
        <PrimBasicElem>
            <Description>
                <Section>The parameter defines the access conditions for updating some advice of charge fields.</Section>
            </Description>
            <PrimBasicElemDef>
                <Name>access_acmmax</Name>
                <Type>U8</Type>
                <Comment>Access ACMMAX</Comment>
            </PrimBasicElemDef>
            <ValuesLink>
                <DocName DocType="SAP">sim</DocName>
                <Name>VAL_access_acm</Name>
            </ValuesLink>
            <History>
                <Date Day="7" Month="7" Year="1999"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
        </PrimBasicElem>
        <PrimBasicElem>
            <Description>
                <Section>The parameter defines the access conditions for updating some advice of charge fields.</Section>
            </Description>
            <PrimBasicElemDef>
                <Name>access_puct</Name>
                <Type>U8</Type>
                <Comment>Access PUCT</Comment>
            </PrimBasicElemDef>
            <ValuesLink>
                <DocName DocType="SAP">sim</DocName>
                <Name>VAL_access_acm</Name>
            </ValuesLink>
            <History>
                <Date Day="7" Month="7" Year="1999"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
        </PrimBasicElem>
        <PrimBasicElem>
            <Description>
                <Section>The parameter defines the number of bytes to read from or write to the SIM card. If an access to a formatted data field is carried out the length must be in the range of the data field.</Section>
            </Description>
            <PrimBasicElemDef>
                <Name>trans_data</Name>
                <Type>U8</Type>
                <Comment>Transparent data content</Comment>
            </PrimBasicElemDef>
            <History>
                <Date Day="30" Month="9" Year="1999"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
        </PrimBasicElem>
        <PrimBasicElem>
            <Description>
                <Section>The parameter defines the number of bytes to read from or write to the SIM card. If an access to a formatted data field is carried out the length must be in the range of the data field.</Section>
            </Description>
            <PrimBasicElemDef>
                <Name>linear_data</Name>
                <Type>U8</Type>
                <Comment>Linear fixed data content</Comment>
            </PrimBasicElemDef>
            <History>
                <Date Day="30" Month="9" Year="1999"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
        </PrimBasicElem>
        <PrimBasicElem>
            <Description>
                <Section>The parameter contains the MMI  profile of the mobile. The three highest bits of byte 0 have a special meaning which are used during ADN/FDN checking during power on. Bit 8 indicates ADN support, bit 7 indicates FDN support and bit 6 indicates BDN support (1 = supported, 0 = not supported).</Section>
            </Description>
            <PrimBasicElemDef>
                <Name>mmi_pro_file</Name>
                <Type>U8</Type>
                <Comment>MMI profile</Comment>
            </PrimBasicElemDef>
            <ValuesLink>
                <DocName DocType="SAP">sim</DocName>
                <Name>VAL_mmi_pro_file</Name>
            </ValuesLink>
            <History>
                <Date Day="1" Month="10" Year="1999"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
        </PrimBasicElem>
        <PrimBasicElem>
            <Description>
                <Section>The parameter defines the synchronisation cause.</Section>
            </Description>
            <PrimBasicElemDef>
                <Name>synccs</Name>
                <Type>U8</Type>
                <Comment>Synchronisation Cause</Comment>
            </PrimBasicElemDef>
            <ValuesLink>
                <DocName DocType="SAP">sim</DocName>
                <Name>VAL_synccs</Name>
            </ValuesLink>
            <History>
                <Date Day="1" Month="10" Year="1999"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
        </PrimBasicElem>
        <PrimBasicElem>
            <Description>
                <Section>The parameter defines the SIM command for restricted and transparent SIM access.</Section>
            </Description>
            <PrimBasicElemDef>
                <Name>sim_command</Name>
                <Type>U8</Type>
                <Comment>SIM Command</Comment>
            </PrimBasicElemDef>
            <ValuesLink>
                <DocName DocType="SAP">sim</DocName>
                <Name>VAL_sim_command</Name>
            </ValuesLink>
            <History>
                <Date Day="6" Month="10" Year="1999"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
            <History>
                <Date Day="29" Month="7" Year="2003"/>
                <Author>FK</Author>
                <Comment>Definition for transparent SIM command added</Comment>
            </History>
        </PrimBasicElem>
        <PrimBasicElem>
            <Description>
                <Section>The parameter defines the parameters P1, P2 or P3 according GSM 11.11.</Section>
            </Description>
            <PrimBasicElemDef>
                <Name>p1</Name>
                <Type>U8</Type>
                <Comment>P1 Parameter</Comment>
            </PrimBasicElemDef>
            <History>
                <Date Day="6" Month="10" Year="1999"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
        </PrimBasicElem>
        <PrimBasicElem>
            <Description>
                <Section>The parameter defines the parameters P1, P2 or P3 according GSM 11.11.</Section>
            </Description>
            <PrimBasicElemDef>
                <Name>p2</Name>
                <Type>U8</Type>
                <Comment>P2 Parameter</Comment>
            </PrimBasicElemDef>
            <History>
                <Date Day="6" Month="10" Year="1999"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
        </PrimBasicElem>
        <PrimBasicElem>
            <Description>
                <Section>The parameter defines the parameters P1, P2 or P3 according GSM 11.11.</Section>
            </Description>
            <PrimBasicElemDef>
                <Name>p3</Name>
                <Type>U8</Type>
                <Comment>P3 Parameter</Comment>
            </PrimBasicElemDef>
            <History>
                <Date Day="6" Month="10" Year="1999"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
        </PrimBasicElem>
        <PrimBasicElem>
            <Description>
                <Section>The parameter defines the low level result of the SIM driver sw1 and sw2.</Section>
            </Description>
            <PrimBasicElemDef>
                <Name>sw1</Name>
                <Type>U8</Type>
                <Comment>SW1 Parameter</Comment>
            </PrimBasicElemDef>
            <ValuesLink>
                <DocName DocType="SAP">sim</DocName>
                <Name>VAL_sw1</Name>
            </ValuesLink>
            <History>
                <Date Day="6" Month="10" Year="1999"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
            <History>
                <Date Day="11" Month="11" Year="2002"/>
                <Author>FK</Author>
                <Comment>Merge with G23M-S103: Values table for SW1, SW2 added</Comment>
            </History>
        </PrimBasicElem>
        <PrimBasicElem>
            <Description>
                <Section>The parameter defines the low level result of the SIM driver sw1 and sw2.</Section>
            </Description>
            <PrimBasicElemDef>
                <Name>sw2</Name>
                <Type>U8</Type>
                <Comment>SW2 Parameter</Comment>
            </PrimBasicElemDef>
            <ValuesLink>
                <DocName DocType="SAP">sim</DocName>
                <Name>VAL_sw1</Name>
            </ValuesLink>
            <History>
                <Date Day="6" Month="10" Year="1999"/>
                <Author>LE</Author>
                <Comment>Initial</Comment>
            </History>
            <History>
                <Date Day="11" Month="11" Year="2002"/>
                <Author>FK</Author>
                <Comment>Merge with G23M-S103: Values table for SW1, SW2 added</Comment>
            </History>
        </PrimBasicElem>
        <PrimBasicElem>
            <Description>
                <Section>The parameter indicates whether EF(SMSR) is allocated and activated on the SIM to provide storage for SM status reports.</Section>
            </Description>
            <PrimBasicElemDef>
                <Name>smsr_mem_cap</Name>
                <Type>U8</Type>
                <Comment>Indicator for short message status report storage</Comment>
            </PrimBasicElemDef>
            <ValuesLink>
                <DocName DocType="SAP">sim</DocName>
                <Name>VAL_smsr_mem_cap</Name>
            </ValuesLink>
            <History>
                <Date Day="7" Month="3" Year="2000"/>
                <Author>FK</Author>
                <Comment>Initial</Comment>
            </History>
        </PrimBasicElem>
        <PrimBasicElem>
            <Description>
                <Section>The parameter defines a list of elementary files which have to be updated by the receiving entity. One entry consists of the ID of an EF, the path is not included. The list is filled from the beginning without gaps. Fields beyond the number of valid entries are undefined.</Section>
            </Description>
            <PrimBasicElemDef>
                <Name>file_id</Name>
                <Type>U16</Type>
                <Comment>Identifier of an EF</Comment>
            </PrimBasicElemDef>
            <History>
                <Date Day="1" Month="2" Year="2000"/>
                <Author>FK</Author>
                <Comment>Initial</Comment>
            </History>
        </PrimBasicElem>
        <PrimBasicElem>
            <Description>
                <Section>The parameter defines how many entries in a list of elementary files are valid. If the number N is given, then the entries with indices 0 ... N-1 are valid.</Section>
            </Description>
            <PrimBasicElemDef>
                <Name>val_nr</Name>
                <Type>U16</Type>
                <Comment>valid entries of a file ID list</Comment>
            </PrimBasicElemDef>
            <History>
                <Date Day="1" Month="2" Year="2000"/>
                <Author>FK</Author>
                <Comment>Initial</Comment>
            </History>
        </PrimBasicElem>
        <PrimBasicElem>
            <Description>
                <Section>The parameter defines the result codes in a SIM_FILE_UPDATE_RES procedure to indicate the outcome of SIM_FILE_UPDATE_IND primitive.</Section>
            </Description>
            <PrimBasicElemDef>
                <Name>fu_rsc</Name>
                <Type>U16</Type>
                <Comment>result code for SIM_FILE_UPDATE_IND</Comment>
            </PrimBasicElemDef>
            <ValuesLink>
                <DocName DocType="SAP">sim</DocName>
                <Name>VAL_fu_rsc</Name>
            </ValuesLink>
            <History>
                <Date Day="24" Month="8" Year="2000"/>
                <Author>FK</Author>
                <Comment>Initial</Comment>
            </History>
        </PrimBasicElem>
        <PrimBasicElem>
            <Description>
                <Section>The parameter indicates whether the MS has successfully performed a GPRS Attach with the current IMSI. This is used for the validation check of GPRS Location Information and GPRS Ciphering Key stored in ME memory according to GSM 03.60, clause 13.4.</Section>
                <Section>The value of the parameter shall be FALSE initially and shall change to TRUE after a successful GPRS Attach. This state shell be kept until a power cycle or until a changed IMSI is recognized.</Section>
            </Description>
            <PrimBasicElemDef>
                <Name>att_status</Name>
                <Type>U8</Type>
                <Comment>GPRS IMSI attach status</Comment>
            </PrimBasicElemDef>
            <History>
                <Date Day="13" Month="2" Year="2001"/>
                <Author>FK</Author>
                <Comment>Initial</Comment>
            </History>
        </PrimBasicElem>
        <PrimBasicElem>
            <Description>
                <Section>This parameter provides the Location Information for GSM or GPRS.</Section>
            </Description>
            <PrimBasicElemDef>
                <Name>loc</Name>
                <Type>U8</Type>
                <Comment>Location Information</Comment>
            </PrimBasicElemDef>
            <History>
                <Date Day="8" Month="10" Year="2002"/>
                <Author>FK</Author>
                <Comment>Initial</Comment>
            </History>
        </PrimBasicElem>
        <PrimBasicElem>
            <Description>
                <Section>The parameter is a bit-field to define if SIM shall be connected via the DTI or disconnected and to define if an bearer independent protocol channel shall be opened or closed.</Section>
            </Description>
            <PrimBasicElemDef>
                <Name>dti_conn</Name>
                <Type>U8</Type>
                <Comment>connection qualifier</Comment>
            </PrimBasicElemDef>
            <ValuesLink>
                <DocName DocType="SAP">sim</DocName>
                <Name>VAL_dti_conn</Name>
            </ValuesLink>
            <History>
                <Date Day="14" Month="3" Year="2002"/>
                <Author>STW</Author>
                <Comment>Initial</Comment>
            </History>
            <History>
                <Date Day="12" Month="4" Year="2002"/>
                <Author>STW</Author>
                <Comment>add suspension and resumption</Comment>
            </History>
        </PrimBasicElem>
        <PrimBasicElem>
            <Description>
                <Section>This parameter controls if SIM uses the DTI in the normal way or if the primitives are inverted. In the normal way data are sent as DTI_DATA_REQ and received as DTI_DATA_IND. In the inverted mode data are send as DTI_DATA_IND and received as DTI_DATA_REQ (relay functionality). Values are defined in the DTILIB related header file.</Section>
            </Description>
            <PrimBasicElemDef>
                <Name>dti_direction</Name>
                <Type>U8</Type>
                <Comment>DTI direction</Comment>
            </PrimBasicElemDef>
            <ValuesLink>
                <DocName DocType="SAP">sim</DocName>
                <Name>VAL_dti_direction</Name>
            </ValuesLink>
            <History>
                <Date Day="14" Month="3" Year="2002"/>
                <Author>STW</Author>
                <Comment>Initial</Comment>
            </History>
        </PrimBasicElem>
        <PrimBasicElem>
            <Description>
                <Section>This parameter is a pointer to a string (zero terminated) which is the name of a neighbour entity. The parameter is used to open the communication channel to this entity.</Section>
            </Description>
            <PrimBasicElemDef>
                <Name>entity_name</Name>
                <Type>U32</Type>
                <Comment>DTI entity name</Comment>
            </PrimBasicElemDef>
            <History>
                <Date Day="14" Month="3" Year="2002"/>
                <Author>STW</Author>
                <Comment>Initial</Comment>
            </History>
        </PrimBasicElem>
        <PrimBasicElem>
            <Description>
                <Section>This parameter is the identifier of the DTI link.</Section>
            </Description>
            <PrimBasicElemDef>
                <Name>link_id</Name>
                <Type>U32</Type>
                <Comment>DTI link identifier</Comment>
            </PrimBasicElemDef>
            <History>
                <Date Day="14" Month="3" Year="2002"/>
                <Author>STW</Author>
                <Comment>Initial</Comment>
            </History>
        </PrimBasicElem>
        <PrimBasicElem>
            <Description>
                <Section>This parameter selects the type of data send via the DTI link. If UPD is selected the UDP SAP must be used by SIM.</Section>
            </Description>
            <PrimBasicElemDef>
                <Name>con_type</Name>
                <Type>U8</Type>
                <Comment>connection type</Comment>
            </PrimBasicElemDef>
            <ValuesLink>
                <DocName DocType="SAP">sim</DocName>
                <Name>VAL_con_type</Name>
            </ValuesLink>
            <History>
                <Date Day="14" Month="3" Year="2002"/>
                <Author>STW</Author>
                <Comment>Initial</Comment>
            </History>
        </PrimBasicElem>
        <PrimBasicElem>
            <Description>
                <Section>This parameter sets the local IP address of the UDP connection.</Section>
            </Description>
            <PrimBasicElemDef>
                <Name>local_ip</Name>
                <Type>U32</Type>
                <Comment>local IP address</Comment>
            </PrimBasicElemDef>
            <ValuesLink>
                <DocName DocType="SAP">sim</DocName>
                <Name>VAL_local_ip</Name>
            </ValuesLink>
            <History>
                <Date Day="14" Month="3" Year="2002"/>
                <Author>STW</Author>
                <Comment>Initial</Comment>
            </History>
        </PrimBasicElem>
        <PrimBasicElem>
            <Description>
                <Section>This parameter sets the destination IP address of the UDP connection.</Section>
            </Description>
            <PrimBasicElemDef>
                <Name>destination_ip</Name>
                <Type>U32</Type>
                <Comment>destination IP address</Comment>
            </PrimBasicElemDef>
            <History>
                <Date Day="14" Month="3" Year="2002"/>
                <Author>STW</Author>
                <Comment>Initial</Comment>
            </History>
        </PrimBasicElem>
        <PrimBasicElem>
            <Description>
                <Section>This is the identifier for an bearer independent protocol (BIP) channel.</Section>
            </Description>
            <PrimBasicElemDef>
                <Name>bip_ch_id</Name>
                <Type>U8</Type>
                <Comment>BIP channel identifier</Comment>
            </PrimBasicElemDef>
            <History>
                <Date Day="14" Month="3" Year="2002"/>
                <Author>STW</Author>
                <Comment>Initial</Comment>
            </History>
        </PrimBasicElem>
        <PrimBasicElem>
            <Description>
                <Section>This parameter determines wether the usage of the Data available event is allowed or not.</Section>
            </Description>
            <PrimBasicElemDef>
                <Name>event_data_avail</Name>
                <Type>U8</Type>
                <Comment>data available event</Comment>
            </PrimBasicElemDef>
            <ValuesLink>
                <DocName DocType="SAP">sim</DocName>
                <Name>VAL_event_data_avail</Name>
            </ValuesLink>
            <History>
                <Date Day="14" Month="3" Year="2002"/>
                <Author>STW</Author>
                <Comment>Initial</Comment>
            </History>
            <History>
                <Date Day="29" Month="7" Year="2003"/>
                <Author>FK</Author>
                <Comment>reserved value added</Comment>
            </History>
        </PrimBasicElem>
        <PrimBasicElem>
            <Description>
                <Section>This parameter indicates the timeout value before the SIM entity releases the DTI connection and the BIP channel if there is no data exchange on the link. If SIM_NO_AUTO_RELEASE is selected then the link is not released automatically by the SIM entity. The parameter is given in units of tenths of seconds.</Section>
            </Description>
            <PrimBasicElemDef>
                <Name>release_time</Name>
                <Type>U32</Type>
                <Comment>link release timeout</Comment>
            </PrimBasicElemDef>
            <ValuesLink>
                <DocName DocType="SAP">sim</DocName>
                <Name>VAL_release_time</Name>
            </ValuesLink>
            <History>
                <Date Day="14" Month="3" Year="2002"/>
                <Author>STW</Author>
                <Comment>Initial</Comment>
            </History>
        </PrimBasicElem>
        <PrimBasicElem>
            <Description>
                <Section>This parameter sets the destination port number of the UDP connection.</Section>
            </Description>
            <PrimBasicElemDef>
                <Name>destination_port</Name>
                <Type>U16</Type>
                <Comment>destination port number</Comment>
            </PrimBasicElemDef>
            <History>
                <Date Day="14" Month="3" Year="2002"/>
                <Author>STW</Author>
                <Comment>Initial</Comment>
            </History>
        </PrimBasicElem>
        <PrimBasicElem>
            <Description>
                <Section>This parameter determines the general result code of the Terminal Response message in case of on demand link establishment.</Section>
            </Description>
            <PrimBasicElemDef>
                <Name>general_result</Name>
                <Type>U8</Type>
                <Comment>general result code</Comment>
            </PrimBasicElemDef>
            <History>
                <Date Day="14" Month="3" Year="2002"/>
                <Author>STW</Author>
                <Comment>Initial</Comment>
            </History>
        </PrimBasicElem>
        <PrimBasicElem>
            <Description>
                <Section>This parameter determines the additional information on result code of the Terminal Response message in case of on demand link establishment.</Section>
            </Description>
            <PrimBasicElemDef>
                <Name>add_info_result</Name>
                <Type>U8</Type>
                <Comment>additional information on result code</Comment>
            </PrimBasicElemDef>
            <History>
                <Date Day="14" Month="3" Year="2002"/>
                <Author>STW</Author>
                <Comment>Initial</Comment>
            </History>
        </PrimBasicElem>
        <PrimBasicElem>
            <Description>
                <Section>This parameter determines the instuction class of the test primitive.</Section>
            </Description>
            <PrimBasicElemDef>
                <Name>cla</Name>
                <Type>U8</Type>
                <Comment>class of instruction</Comment>
            </PrimBasicElemDef>
            <ValuesLink>
                <DocName DocType="SAP">sim</DocName>
                <Name>VAL_cla</Name>
            </ValuesLink>
            <History>
                <Date Day="15" Month="3" Year="2002"/>
                <Author>JK</Author>
                <Comment>Initial</Comment>
            </History>
        </PrimBasicElem>
        <PrimBasicElem>
            <Description>
                <Section>The parameter defines the SIM instruction code for SIM access.</Section>
            </Description>
            <PrimBasicElemDef>
                <Name>ins_code</Name>
                <Type>U8</Type>
                <Comment>instruction code</Comment>
            </PrimBasicElemDef>
            <ValuesLink>
                <DocName DocType="SAP">sim</DocName>
                <Name>VAL_ins_code</Name>
            </ValuesLink>
            <History>
                <Date Day="24" Month="4" Year="2002"/>
                <Author>JK</Author>
                <Comment>Initial</Comment>
            </History>
        </PrimBasicElem>
        <PrimBasicElem>
            <Description>
                <Section>The parameter defines the maximum number of bytes expected by ME to be received from the SIM card  in response of the command previously sent.</Section>
            </Description>
            <PrimBasicElemDef>
                <Name>le</Name>
                <Type>U8</Type>
                <Comment>length of response</Comment>
            </PrimBasicElemDef>
            <History>
                <Date Day="16" Month="4" Year="2002"/>
                <Author>JK</Author>
                <Comment>Initial</Comment>
            </History>
        </PrimBasicElem>
        <PrimBasicElem>
            <Description>
                <Section>The parameter delivers the SIM's 'Answer to Reset' to the MMI.</Section>
            </Description>
            <PrimBasicElemDef>
                <Name>atr</Name>
                <Type>U8</Type>
                <Comment>Answer to Reset</Comment>
            </PrimBasicElemDef>
            <History>
                <Date Day="29" Month="7" Year="2003"/>
                <Author>FK</Author>
                <Comment>Initial</Comment>
            </History>
        </PrimBasicElem>
        <PrimBasicElem>
            <Description>
                <Section/>
            </Description>
            <PrimBasicElemDef>
                <Name>bip_conn</Name>
                <Type>U8</Type>
                <Comment>bip connection qualifier</Comment>
            </PrimBasicElemDef>
            <ValuesLink>
                <DocName DocType="SAP">sim</DocName>
                <Name>VAL_bip_conn</Name>
            </ValuesLink>
            <History>
                <Date Day="30" Month="04" Year="2004"/>
                <Author>MDF</Author>
                <Comment>Initial - Introduced while cleaning up SAT E implementation </Comment>
            </History>
        </PrimBasicElem>
        <PrimBasicElem>
            <Description>
                <Section/>
            </Description>
            <PrimBasicElemDef>
                <Name>act_hplmn</Name>
                <Type>U8</Type>
                <Comment>Acting HPLMN</Comment>
            </PrimBasicElemDef>
            <History>
                <Date Day="21" Month="08" Year="2004"/>
                <Author/>
                <Comment>Initial</Comment>
            </History>
        </PrimBasicElem>
        <PrimBasicElem>
            <Description>
                <Section/>
            </Description>
            <PrimBasicElemDef>
                <Name>ad</Name>
                <Type>U8</Type>
                <Comment>Contents of Administrative Data file</Comment>
            </PrimBasicElemDef>
            <History>
                <Date Day="24" Month="08" Year="2004"/>
                <Author/>
                <Comment>Initial</Comment>
            </History>
        </PrimBasicElem>
        <PrimBasicElem>
            <Description>
                <Section/>
            </Description>
            <PrimBasicElemDef>
                <Name>trmst_file</Name>
                <Type>U8</Type>
                <Comment>Terminal Support Table EF</Comment>
            </PrimBasicElemDef>
            <History>
                <Date Day="29" Month="08" Year="2004"/>
                <Author>xkramamu</Author>
                <Comment>Initial - element for Terminal Support Table</Comment>
            </History>
        </PrimBasicElem>
        <PrimBasicElem>
            <Description>
                <Section>Customisation Mode for the SIM_CUST_IND primitive from the MMI to the SIM entity</Section>
            </Description>
            <PrimBasicElemDef>
                <Name>cust_mode</Name>
                <Type>U8</Type>
                <Comment>Customisation Mode</Comment>
            </PrimBasicElemDef>
            <ValuesLink>
                <DocName DocType="SAP">sim</DocName>
                <Name>VAL_cust_mode</Name>
            </ValuesLink>
            <History>
                <Date Day="16" Month="08" Year="2004"/>
                <Author>NDH</Author>
                <Comment>Initial</Comment>
            </History>
        </PrimBasicElem>
        <PrimBasicElem>
            <Description>
                <Section>User Response in SIM_REFRESH_USER_RES primitive from the MMI to the SIM entity</Section>
            </Description>
            <PrimBasicElemDef>
                <Name>user_accepts</Name>
                <Type>U8</Type>
                <Comment>User Response</Comment>
            </PrimBasicElemDef>
            <ValuesLink>
                <DocName DocType="SAP">sim</DocName>
                <Name>VAL_user_accepts</Name>
            </ValuesLink>
            <History>
                <Date Day="16" Month="08" Year="2004"/>
                <Author>NDH</Author>
                <Comment>Initial</Comment>
            </History>
        </PrimBasicElem>
        <PrimBasicElem>
            <Description>
                <Section/>
            </Description>
            <PrimBasicElemDef>
                <Name>sim_num</Name>
                <Type>U8</Type>
                <Comment>SIM Interface Identifier</Comment>
            </PrimBasicElemDef>
            <ValuesLink>
                <DocName DocType="SAP">sim</DocName>
                <Name>VAL_sim_num</Name>
            </ValuesLink>
            <History>
                <Date Day="26" Month="11" Year="2004"/>
                <Author/>
                <Comment>Initial</Comment>
            </History>
        </PrimBasicElem>
        <PrimBasicElem>
            <Description>
                <Section/>
            </Description>
            <PrimBasicElemDef>
                <Name>c_rec</Name>
                <Type>U8</Type>
                <Comment>Length of records in EF(CBMID)</Comment>
            </PrimBasicElemDef>
            <History>
                <Date Day="30" Month="05" Year="2005"/>
                <Author/>
                <Comment>Initial</Comment>
            </History>
        </PrimBasicElem>
        <PrimBasicElem>
            <Description>
                <Section/>
            </Description>
            <PrimBasicElemDef>
                <Name>rec</Name>
                <Type>U8</Type>
                <Comment>Records in the EF(CBMID)</Comment>
            </PrimBasicElemDef>
            <History>
                <Date Day="30" Month="05" Year="2005"/>
                <Author/>
                <Comment>Initial</Comment>
            </History>
        </PrimBasicElem>
    </PrimBasicElementsSection>
    <ValuesSection>
        <Description>
            <Section>This section contains all sets of values that are defined for the SIM SAP</Section>
        </Description>
        <Values>
            <Description>
                <Section>This former local values table was generated by the doc2XML converter tool. Please exchange this description by a more meaningful one !!!</Section>
            </Description>
            <ValuesDef>
                <Name>VAL_datafield</Name>
                <Comment>values for datafield</Comment>
            </ValuesDef>
            <ValuesItem>
                <Value ValueType="HEX">3F00</Value>
                <Alias>SIM_MF</Alias>
                <Comment>main file directory (M)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">2FE2</Value>
                <Alias>SIM_ICCID</Alias>
                <Comment>ICC identification (M)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">2F05</Value>
                <Alias>SIM_ELP</Alias>
                <Comment>extended language preference</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">7F10</Value>
                <Alias>SIM_DF_TELECOM</Alias>
                <Comment>telecom directory</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">6F3A</Value>
                <Alias>SIM_ADN</Alias>
                <Comment>abbreviated dialling numbers</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">6F3B</Value>
                <Alias>SIM_FDN</Alias>
                <Comment>fixed dialling numbers</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">6F3C</Value>
                <Alias>SIM_SMS</Alias>
                <Comment>short messages</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">6F3D</Value>
                <Alias>SIM_CCP</Alias>
                <Comment>capability configuration parameters</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">6F40</Value>
                <Alias>SIM_MSISDN</Alias>
                <Comment>MSISDN</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">6F42</Value>
                <Alias>SIM_SMSP</Alias>
                <Comment>short message service parameters</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">6F43</Value>
                <Alias>SIM_SMSS</Alias>
                <Comment>short message status</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">6F44</Value>
                <Alias>SIM_LND</Alias>
                <Comment>last number dialled</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">6F47</Value>
                <Alias>SIM_SMSR</Alias>
                <Comment>short message status reports</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">6F49</Value>
                <Alias>SIM_SDN</Alias>
                <Comment>service dialling numbers</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">6F4A</Value>
                <Alias>SIM_EXT1</Alias>
                <Comment>extension 1</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">6F4B</Value>
                <Alias>SIM_EXT2</Alias>
                <Comment>extension 2</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">6F4C</Value>
                <Alias>SIM_EXT3</Alias>
                <Comment>extension 3</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">6F4D</Value>
                <Alias>SIM_BDN</Alias>
                <Comment>barred dialling numbers</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">6F4E</Value>
                <Alias>SIM_EXT4</Alias>
                <Comment>extension 4</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">6F92</Value>
                <Alias>SIM_ORANGE_DYN2_FLAG</Alias>
                <Comment>Orange Proprietary</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">6F98</Value>
                <Alias>SIM_ORANGE_CSP2</Alias>
                <Comment>Orange Proprietary</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">6F9C</Value>
                <Alias>SIM_ORANGE_ACM2</Alias>
                <Comment>Orange Proprietary</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">6F9F</Value>
                <Alias>SIM_ORANGE_DYN_FLAGS</Alias>
                <Comment>Orange Proprietary</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">7F40</Value>
                <Alias>SIM_DF_ORANGE</Alias>
                <Comment>Orange Proprietary</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">5F50</Value>
                <Alias>SIM_DF_GRAPHICS</Alias>
                <Comment>icon graphics directory (subdirectory of 'telecom')</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">4F20</Value>
                <Alias>SIM_IMG</Alias>
                <Comment>icon images</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">7F20</Value>
                <Alias>SIM_DF_GSM</Alias>
                <Comment>gsm directory (M)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">7F21</Value>
                <Alias>SIM_DF_1800</Alias>
                <Comment>dcs 1800 directory</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">7F43</Value>
                <Alias>SIM_DF_VI</Alias>
                <Comment>Viag directory</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">6F05</Value>
                <Alias>SIM_LP</Alias>
                <Comment>language preference (M)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">6F60</Value>
                <Alias>SIM_VI_HZ_PARAM</Alias>
                <Comment>Viag home zone parameters</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">6F61</Value>
                <Alias>SIM_VI_HZ_CACHE_1</Alias>
                <Comment>Viag home zone Cache 1</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">6F62</Value>
                <Alias>SIM_VI_HZ_CACHE_2</Alias>
                <Comment>Viag home zone Cache 2</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">6F63</Value>
                <Alias>SIM_VI_HZ_CACHE_3</Alias>
                <Comment>Viag home zone Cache 3</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">6F64</Value>
                <Alias>SIM_VI_HZ_CACHE_4</Alias>
                <Comment>Viag home zone Cache 4</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">6F07</Value>
                <Alias>SIM_IMSI</Alias>
                <Comment>international mobile subscriber identity (M)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">6F20</Value>
                <Alias>SIM_KC</Alias>
                <Comment>ciphering key Kc (M)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">6F2C</Value>
                <Alias>SIM_DCK</Alias>
                <Comment>De-personalization Control Keys</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">6F30</Value>
                <Alias>SIM_PLMNSEL</Alias>
                <Comment>preferred PLMN selector</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">6F31</Value>
                <Alias>SIM_HPLMN</Alias>
                <Comment>HPLMN search period (M)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">6F32</Value>
                <Alias>SIM_CNL</Alias>
                <Comment>Co-operative Network List</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">6F37</Value>
                <Alias>SIM_ACMMAX</Alias>
                <Comment>ACM maximum value</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">6F38</Value>
                <Alias>SIM_SST</Alias>
                <Comment>SIM service table (M)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">6F39</Value>
                <Alias>SIM_ACM</Alias>
                <Comment>accumulated call meter</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">6F3E</Value>
                <Alias>SIM_GID1</Alias>
                <Comment>group identifier level 1</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">6F3F</Value>
                <Alias>SIM_GID2</Alias>
                <Comment>group identifier level 2</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">6F41</Value>
                <Alias>SIM_PUCT</Alias>
                <Comment>price per unit and currency</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">6F45</Value>
                <Alias>SIM_CBMI</Alias>
                <Comment>cell broadcast message identifier selection</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">6F46</Value>
                <Alias>SIM_SPN</Alias>
                <Comment>service provider name</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">6F48</Value>
                <Alias>SIM_CBMID</Alias>
                <Comment>cell broadcast message identifier for data download</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">6F74</Value>
                <Alias>SIM_BCCH</Alias>
                <Comment>broadcast control channels (M)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">6F78</Value>
                <Alias>SIM_ACC</Alias>
                <Comment>access control classes (M)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">6F7B</Value>
                <Alias>SIM_FPLMN</Alias>
                <Comment>forbidden PLMNs (M)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">6F7E</Value>
                <Alias>SIM_LOCI</Alias>
                <Comment>location information (M)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">6FAD</Value>
                <Alias>SIM_AD</Alias>
                <Comment>administrative data (M)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">6FAE</Value>
                <Alias>SIM_PHASE</Alias>
                <Comment>phase identification (M)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">6FB1</Value>
                <Alias>SIM_VGCS</Alias>
                <Comment>voice group call service</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">6FB2</Value>
                <Alias>SIM_VGCSS</Alias>
                <Comment>voice group call service status</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">6FB3</Value>
                <Alias>SIM_VBS</Alias>
                <Comment>voice broadcast service</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">6FB4</Value>
                <Alias>SIM_VBSS</Alias>
                <Comment>voice broadcast service status</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">6FB5</Value>
                <Alias>SIM_EMLPP</Alias>
                <Comment>enhanced multi level pre-emption and priority</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">6FB6</Value>
                <Alias>SIM_AAEM</Alias>
                <Comment>automatic answer for eMLPP service</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">6FB7</Value>
                <Alias>SIM_ECC</Alias>
                <Comment>emergency call codes</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">6F50</Value>
                <Alias>SIM_CBMIR</Alias>
                <Comment>cell broadcast message identifier range selection</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">6F51</Value>
                <Alias>SIM_NIA</Alias>
                <Comment>network's indication of alerting</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">6F52</Value>
                <Alias>SIM_KCGPRS</Alias>
                <Comment>ciphering key (GPRS)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">6F53</Value>
                <Alias>SIM_LOCGPRS</Alias>
                <Comment>location information (GPRS)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">6F54</Value>
                <Alias>SIM_SUME</Alias>
                <Comment>setup menu elements</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">6FC5</Value>
                <Alias>SIM_PNN</Alias>
                <Comment>PLMN network name (3GPP release 4)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">6FC6</Value>
                <Alias>SIM_OPL</Alias>
                <Comment>operator PLMN list (3GPP release 4)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">6F11</Value>
                <Alias>SIM_CPHS_VMW</Alias>
                <Comment>voice message waiting (CPHS)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">6F12</Value>
                <Alias>SIM_CPHS_SST</Alias>
                <Comment>service string table (CPHS)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">6F13</Value>
                <Alias>SIM_CPHS_CFF</Alias>
                <Comment>call forwarding flags (CPHS)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">6F14</Value>
                <Alias>SIM_CPHS_ONSTR</Alias>
                <Comment>operator string name (CPHS)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">6F15</Value>
                <Alias>SIM_CPHS_CSP</Alias>
                <Comment>customer service profile (CPHS)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">6F16</Value>
                <Alias>SIM_CPHS_CINF</Alias>
                <Comment>CPHS information (CPHS)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">6F17</Value>
                <Alias>SIM_CPHS_MBXN</Alias>
                <Comment>mailbox numbers (CPHS)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">6F18</Value>
                <Alias>SIM_CPHS_ONSHF</Alias>
                <Comment>operator name shortform (CPHS)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">6F19</Value>
                <Alias>SIM_CPHS_INFN</Alias>
                <Comment>information numbers (CPHS)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">5F70</Value>
                <Alias>SIM_DF_SOLSA</Alias>
                <Comment>SoLSA directory (subdirectory of 'gsm')</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">4F30</Value>
                <Alias>SIM_SAI</Alias>
                <Comment>SoLSA access indicator</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">4F31</Value>
                <Alias>SIM_SLL</Alias>
                <Comment>SoLSA LSA list</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">EA01</Value>
                <Alias>SIM_CPHS_INFN2</Alias>
                <Comment>information numbers (CPHS) 2 (old SIMs)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">7F66</Value>
                <Alias>SIM_DF_CING</Alias>
                <Comment>1st level Directory(CINGULAR specific)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">5F30</Value>
                <Alias>SIM_DF2_CING</Alias>
                <Comment>2nd level Directory(CINGULAR specific)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">4F34</Value>
                <Alias>SIM_CING_AHPLMN</Alias>
                <Comment>Acting Home PLMN(CINGULAR specific)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">6FD2</Value>
                <Alias>SIM_CING_TRMST</Alias>
                <Comment>terminal support table </Comment>
            </ValuesItem>
            <History>
                <Date Day="26" Month="11" Year="2003"/>
                <Author>doc2XML</Author>
                <Comment>Initial</Comment>
            </History>
        </Values>
        <Values>
            <Description>
                <Section>This former local values table was generated by the doc2XML converter tool. Please exchange this description by a more meaningful one !!!</Section>
            </Description>
            <ValuesDef>
                <Name>VAL_cause</Name>
                <Comment>values for cause</Comment>
            </ValuesDef>
            <ValuesItem>
                <Value ValueType="BIN">1000000011111111</Value>
                <Alias>SIM_NO_ERROR</Alias>
                <Comment>No error (Status Code 9000, 91XX, 9FXX, 920X; USIM 63CX)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="BIN">0000000000000001</Value>
                <Alias>SIM_CAUSE_NO_SELECT</Alias>
                <Comment>No EF selected (SC 9400; USIM 6986)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="BIN">0000000000000010</Value>
                <Alias>SIM_CAUSE_UNKN_FILE_ID</Alias>
                <Comment>file id not found (SC 9404; USIM 6A82)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="BIN">0000000000000011</Value>
                <Alias>SIM_CAUSE_EF_INVALID</Alias>
                <Comment>EF invalidated (SC 9810; USIM 6283, 6984)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="BIN">0000000000000100</Value>
                <Alias>SIM_CAUSE_ADDR_WRONG</Alias>
                <Comment>Address of data invalid (SC 9402; USIM 6A83)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="BIN">0000000000000101</Value>
                <Alias>SIM_CAUSE_CMD_INCONSIST</Alias>
                <Comment>Command inconsistent with file type (SC 9408; USIM 6981)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="BIN">0000000000000110</Value>
                <Alias>SIM_CAUSE_MAX_INCREASE</Alias>
                <Comment>Increase: maximum reached (SC 9850)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="BIN">0000000000001000</Value>
                <Alias>SIM_CAUSE_CLA_WRONG</Alias>
                <Comment>Wrong class parameter (SC 6EXX)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="BIN">0000000000001001</Value>
                <Alias>SIM_CAUSE_INS_WRONG</Alias>
                <Comment>Unknown instruction code (SC 6DXX; USIM 6A81)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="BIN">0000000000001010</Value>
                <Alias>SIM_CAUSE_P1P2_WRONG</Alias>
                <Comment>Incorrect parameter P1, P2 (SC 6BXX; USIM 6A86. 6A88)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="BIN">0000000000001011</Value>
                <Alias>SIM_CAUSE_P3_WRONG</Alias>
                <Comment>Incorrect parameter P3 (SC 67XX; USIM 6282, 6A87)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="BIN">0000000000001100</Value>
                <Alias>SIM_CAUSE_CHV_NOTSET</Alias>
                <Comment>No CHV active (SC 9802; USIM 6982)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="BIN">0000000000001101</Value>
                <Alias>SIM_CAUSE_CHV_VALIDATED</Alias>
                <Comment>CHV already validated (SC 9808; USIM 6982)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="BIN">0000000000001110</Value>
                <Alias>SIM_CAUSE_ACCESS_PROHIBIT</Alias>
                <Comment>Access conditions not fulfilled (SC 9804; USIM 6985)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="BIN">0000000000001111</Value>
                <Alias>SIM_CAUSE_OTHER_ERROR</Alias>
                <Comment>Any other SIM error</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="BIN">0000000000010000</Value>
                <Alias>SIM_CAUSE_PUK1_BLOCKED</Alias>
                <Comment>PUK1 blocked (SC 9840; USIM 63C0)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="BIN">0000000000010001</Value>
                <Alias>SIM_CAUSE_PUK1_REMAIN1</Alias>
                <Comment>Wrong PUK1, 1 attempt left (SC 9804; USIM 63C1)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="BIN">0000000000010010</Value>
                <Alias>SIM_CAUSE_PUK1_REMAIN2</Alias>
                <Comment>Wrong PUK1, 2 attempts left (USIM 63C2)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="BIN">0000000000010011</Value>
                <Alias>SIM_CAUSE_PUK1_REMAIN3</Alias>
                <Comment>Wrong PUK1, 3 attempts left (USIM 63C3)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="BIN">0000000000010100</Value>
                <Alias>SIM_CAUSE_PUK1_REMAIN4</Alias>
                <Comment>Wrong PUK1, 4 attempts left (USIM 63C4)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="BIN">0000000000010101</Value>
                <Alias>SIM_CAUSE_PUK1_REMAIN5</Alias>
                <Comment>Wrong PUK1, 5 attempts left (USIM 63C5)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="BIN">0000000000010110</Value>
                <Alias>SIM_CAUSE_PUK1_REMAIN6</Alias>
                <Comment>Wrong PUK1, 6 attempts left (USIM 63C6)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="BIN">0000000000010111</Value>
                <Alias>SIM_CAUSE_PUK1_REMAIN7</Alias>
                <Comment>Wrong PUK1, 7 attempts left (USIM 63C7)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="BIN">0000000000011000</Value>
                <Alias>SIM_CAUSE_PUK1_REMAIN8</Alias>
                <Comment>Wrong PUK1, 8 attempts left (USIM 63C8)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="BIN">0000000000011001</Value>
                <Alias>SIM_CAUSE_PUK1_REMAIN9</Alias>
                <Comment>Wrong PUK1, 9 attempts left (USIM 63C9)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="BIN">0000000000011010</Value>
                <Alias>SIM_CAUSE_PUK1_EXPECT</Alias>
                <Comment>PUK1 required (SC 9804, 9808; USIM 6982, 6985)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="BIN">0000000000011100</Value>
                <Alias>SIM_CAUSE_PIN1_BLOCKED</Alias>
                <Comment>PIN1 blocked (SC 9840; USIM 63C0, 6983)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="BIN">0000000000011101</Value>
                <Alias>SIM_CAUSE_PIN1_REMAIN1</Alias>
                <Comment>Wrong PIN1, 1 attempt left (USIM 63C1)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="BIN">0000000000011110</Value>
                <Alias>SIM_CAUSE_PIN1_REMAIN2</Alias>
                <Comment>Wrong PIN1, 2 attempts left (USIM 63C2)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="BIN">0000000000011111</Value>
                <Alias>SIM_CAUSE_PIN1_EXPECT</Alias>
                <Comment>PIN1 required (SC 9804, 9808; USIM 6982, 6985)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="BIN">0000000000100000</Value>
                <Alias>SIM_CAUSE_PUK2_BLOCKED</Alias>
                <Comment>PUK2 blocked (SC 9840; USIM 63C0)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="BIN">0000000000100001</Value>
                <Alias>SIM_CAUSE_PUK2_REMAIN1</Alias>
                <Comment>Wrong PUK2, 1 attempt left (USIM 63C1)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="BIN">0000000000100010</Value>
                <Alias>SIM_CAUSE_PUK2_REMAIN2</Alias>
                <Comment>Wrong PUK2, 2 attempts left (USIM 63C2)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="BIN">0000000000100011</Value>
                <Alias>SIM_CAUSE_PUK2_REMAIN3</Alias>
                <Comment>Wrong PUK2, 3 attempts left (USIM 63C3)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="BIN">0000000000100100</Value>
                <Alias>SIM_CAUSE_PUK2_REMAIN4</Alias>
                <Comment>Wrong PUK2, 4 attempts left (USIM 63C4)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="BIN">0000000000100101</Value>
                <Alias>SIM_CAUSE_PUK2_REMAIN5</Alias>
                <Comment>Wrong PUK2, 5 attempts left (USIM 63C5)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="BIN">0000000000100110</Value>
                <Alias>SIM_CAUSE_PUK2_REMAIN6</Alias>
                <Comment>Wrong PUK2, 6 attempts left (USIM 63C6)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="BIN">0000000000100111</Value>
                <Alias>SIM_CAUSE_PUK2_REMAIN7</Alias>
                <Comment>Wrong PUK2, 7 attempts left (USIM 63C7)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="BIN">0000000000101000</Value>
                <Alias>SIM_CAUSE_PUK2_REMAIN8</Alias>
                <Comment>Wrong PUK2, 8 attempts left (USIM 63C8)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="BIN">0000000000101001</Value>
                <Alias>SIM_CAUSE_PUK2_REMAIN9</Alias>
                <Comment>Wrong PUK2, 9 attempts left (USIM 63C9)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="BIN">0000000000101010</Value>
                <Alias>SIM_CAUSE_PUK2_EXPECT</Alias>
                <Comment>PUK2 required (SC 9804, 9808; USIM 6982, 6985)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="BIN">0000000000101100</Value>
                <Alias>SIM_CAUSE_PIN2_BLOCKED</Alias>
                <Comment>PIN2 blocked (SC 9840; USIM 63C0, 6983)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="BIN">0000000000101101</Value>
                <Alias>SIM_CAUSE_PIN2_REMAIN1</Alias>
                <Comment>Wrong PIN2, 1 attempt left (USIM 63C1)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="BIN">0000000000101110</Value>
                <Alias>SIM_CAUSE_PIN2_REMAIN2</Alias>
                <Comment>Wrong PIN2, 2 attempts left (USIM 63C2)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="BIN">0000000000101111</Value>
                <Alias>SIM_CAUSE_PIN2_EXPECT</Alias>
                <Comment>PIN1 required (SC 9804, 9808; USIM 6982, 6985)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="BIN">0000000000110001</Value>
                <Alias>SIM_CAUSE_SAT_BUSY</Alias>
                <Comment>SIM Application Toolkit busy (SC 9300)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="BIN">0000000000110010</Value>
                <Alias>SIM_CAUSE_DNL_ERROR</Alias>
                <Comment>SAT download error (SC 9EXX; USIM 62XX, 63XX)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="BIN">1000000000000000</Value>
                <Alias>SIM_CAUSE_CARD_REMOVED</Alias>
                <Comment>SIM card removed or exchanged</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="BIN">1100000000000000</Value>
                <Alias>SIM_CAUSE_PARAM_WRONG</Alias>
                <Comment>Wrong parameter in primitive</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="BIN">1100000000000001</Value>
                <Alias>SIM_CAUSE_DRV_NOCARD</Alias>
                <Comment>SIM driver error: no card detected</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="BIN">1100000000000010</Value>
                <Alias>SIM_CAUSE_DRV_NOINT</Alias>
                <Comment>SIM driver error: no interrupt</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="BIN">1100000000000011</Value>
                <Alias>SIM_CAUSE_DRV_NOATR</Alias>
                <Comment>SIM driver error: no answer to reset</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="BIN">1100000000000100</Value>
                <Alias>SIM_CAUSE_DRV_READ</Alias>
                <Comment>SIM driver error: invalid response</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="BIN">1100000000000101</Value>
                <Alias>SIM_CAUSE_DRV_XMIT</Alias>
                <Comment>SIM driver error: unsuccessful transmission</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="BIN">1100000000000110</Value>
                <Alias>SIM_CAUSE_DRV_OVF</Alias>
                <Comment>SIM driver error: interrupt overflow</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="BIN">1100000000000111</Value>
                <Alias>SIM_CAUSE_DRV_LEN</Alias>
                <Comment>SIM driver error: incorrect size of response</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="BIN">1100000000001000</Value>
                <Alias>SIM_CAUSE_DRV_CARDREJ</Alias>
                <Comment>SIM driver error: card rejected (invalid properties)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="BIN">1100000000001001</Value>
                <Alias>SIM_CAUSE_DRV_WAIT</Alias>
                <Comment>SIM driver error: timeout</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="BIN">1100000000001010</Value>
                <Alias>SIM_CAUSE_DRV_ABNCASE1</Alias>
                <Comment>SIM driver error: abnormal case 1</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="BIN">1100000000001011</Value>
                <Alias>SIM_CAUSE_DRV_ABNCASE2</Alias>
                <Comment>SIM driver error: abnormal case 2</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="BIN">1100000000001100</Value>
                <Alias>SIM_CAUSE_DRV_RCVOVFL</Alias>
                <Comment>SIM driver error: more than 256 bytes received</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="BIN">1100000000001101</Value>
                <Alias>SIM_CAUSE_DRV_HWFAIL</Alias>
                <Comment>SIM driver error: hardware failure</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="BIN">1100000000001110</Value>
                <Alias>SIM_CAUSE_DRV_TEMPFAIL</Alias>
                <Comment>SIM driver error: temprary failure, SIM reset required</Comment>
            </ValuesItem>
            <History>
                <Date Day="26" Month="11" Year="2003"/>
                <Author>doc2XML</Author>
                <Comment>Initial</Comment>
            </History>
        </Values>
        <Values>
            <Description>
                <Section>This former local values table was generated by the doc2XML converter tool. Please exchange this description by a more meaningful one !!!</Section>
            </Description>
            <ValuesDef>
                <Name>VAL_op_mode</Name>
                <Comment>values for op_mode</Comment>
            </ValuesDef>
            <ValuesItem>
                <Value ValueType="DEC">0</Value>
                <Alias>OP_NORMAL_SIM</Alias>
                <Comment>normal SIM card</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="DEC">1</Value>
                <Alias>OP_TEST_SIM</Alias>
                <Comment>test SIM card</Comment>
            </ValuesItem>
            <History>
                <Date Day="26" Month="11" Year="2003"/>
                <Author>doc2XML</Author>
                <Comment>Initial</Comment>
            </History>
        </Values>
        <Values>
            <Description>
                <Section>This former local values table was generated by the doc2XML converter tool. Please exchange this description by a more meaningful one !!!</Section>
            </Description>
            <ValuesDef>
                <Name>VAL_pin_cnt</Name>
                <Comment>values for pin_cnt</Comment>
            </ValuesDef>
            <ValuesItem>
                <Value ValueType="DEC">0</Value>
                <Alias>CARD_BLOCKED</Alias>
                <Comment>SIM card is blocked</Comment>
            </ValuesItem>
            <History>
                <Date Day="26" Month="11" Year="2003"/>
                <Author>doc2XML</Author>
                <Comment>Initial</Comment>
            </History>
        </Values>
        <Values>
            <Description>
                <Section>This former local values table was generated by the doc2XML converter tool. Please exchange this description by a more meaningful one !!!</Section>
            </Description>
            <ValuesDef>
                <Name>VAL_phase</Name>
                <Comment>values for phase</Comment>
            </ValuesDef>
            <ValuesItem>
                <Value ValueType="DEC">0</Value>
                <Alias>PHASE_2_AS_1_SIM</Alias>
                <Comment>phase 2 card configured as phase 1 card</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="DEC">1</Value>
                <Alias>PHASE_1_SIM</Alias>
                <Comment>phase 1 card</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="DEC">2</Value>
                <Alias>PHASE_2_SIM</Alias>
                <Comment>phase 2 card</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="DEC">3</Value>
                <Alias>PHASE_2PLUS_SIM</Alias>
                <Comment>phase 2+ card, TP download required</Comment>
            </ValuesItem>
            <History>
                <Date Day="26" Month="11" Year="2003"/>
                <Author>doc2XML</Author>
                <Comment>Initial</Comment>
            </History>
        </Values>
        <Values>
            <Description>
                <Section>This former local values table was generated by the doc2XML converter tool. Please exchange this description by a more meaningful one !!!</Section>
            </Description>
            <ValuesDef>
                <Name>VAL_hplmn</Name>
                <Comment>values for hplmn</Comment>
            </ValuesDef>
            <ValuesItem>
                <Value ValueType="DEC">10</Value>
                <Alias>HPLMN_DEF</Alias>
                <Comment>default time period for home PLMN search</Comment>
            </ValuesItem>
            <History>
                <Date Day="26" Month="11" Year="2003"/>
                <Author>doc2XML</Author>
                <Comment>Initial</Comment>
            </History>
        </Values>
        <Values>
            <Description>
                <Section>This former local values table was generated by the doc2XML converter tool. Please exchange this description by a more meaningful one !!!</Section>
            </Description>
            <ValuesDef>
                <Name>VAL_pin_id</Name>
                <Comment>values for pin_id</Comment>
            </ValuesDef>
            <ValuesItem>
                <Value ValueType="DEC">1</Value>
                <Alias>PHASE_2_PIN_1</Alias>
                <Comment>phase 2 card, PIN 1</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="DEC">2</Value>
                <Alias>PHASE_2_PIN_2</Alias>
                <Comment>phase 2 card, PIN 2</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="DEC">3</Value>
                <Alias>PHASE_2_PUK_1</Alias>
                <Comment>phase 2 card, PUK 1</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="DEC">4</Value>
                <Alias>PHASE_2_PUK_2</Alias>
                <Comment>phase 2 card, PUK 2</Comment>
            </ValuesItem>
            <History>
                <Date Day="26" Month="11" Year="2003"/>
                <Author>doc2XML</Author>
                <Comment>Initial</Comment>
            </History>
        </Values>
        <Values>
            <Description>
                <Section>This former local values table was generated by the doc2XML converter tool. Please exchange this description by a more meaningful one !!!</Section>
            </Description>
            <ValuesDef>
                <Name>VAL_source</Name>
                <Comment>values for source</Comment>
            </ValuesDef>
            <ValuesItem>
                <Value ValueType="DEC">0</Value>
                <Alias>SRC_MMI</Alias>
                <Comment>from man machine interface</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="DEC">1</Value>
                <Alias>SRC_MM</Alias>
                <Comment>from mobility management</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="DEC">2</Value>
                <Alias>SRC_SMS</Alias>
                <Comment>from short message service</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="DEC">3</Value>
                <Alias>SRC_GMM</Alias>
                <Comment>from GPRS mobile management</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="DEC">4</Value>
                <Alias>SRC_RR</Alias>
                <Comment>from radio resource management</Comment>
            </ValuesItem>
            <History>
                <Date Day="26" Month="11" Year="2003"/>
                <Author>doc2XML</Author>
                <Comment>Initial</Comment>
            </History>
        </Values>
        <Values>
            <Description>
                <Section>This former local values table was generated by the doc2XML converter tool. Please exchange this description by a more meaningful one !!!</Section>
            </Description>
            <ValuesDef>
                <Name>VAL_mem_cap_avail</Name>
                <Comment>values for mem_cap_avail</Comment>
            </ValuesDef>
            <ValuesItem>
                <Value ValueType="HEX">00</Value>
                <Alias>SIM_SMS_MEM_FULL</Alias>
                <Comment>SMS storage on SIM execeeded</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">01</Value>
                <Alias>SIM_SMS_MEM_AVAIL</Alias>
                <Comment>SMS storage on SIM available</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">FF</Value>
                <Alias>SIM_SMS_NO_MEM</Alias>
                <Comment>SMS storage on SIM not present</Comment>
            </ValuesItem>
            <History>
                <Date Day="26" Month="11" Year="2003"/>
                <Author>doc2XML</Author>
                <Comment>Initial</Comment>
            </History>
        </Values>
        <Values>
            <Description>
                <Section>This former local values table was generated by the doc2XML converter tool. Please exchange this description by a more meaningful one !!!</Section>
            </Description>
            <ValuesDef>
                <Name>VAL_stk_pro_file</Name>
                <Comment>values for stk_pro_file</Comment>
            </ValuesDef>
            <ValuesItem>
                <Value ValueType="HEX">01</Value>
                <Alias>SAT_TP1_PRF_DNL</Alias>
                <Comment>Profile download (redundant definition)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">02</Value>
                <Alias>SAT_TP1_SMS_DNL</Alias>
                <Comment>SMS-PP data download</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">04</Value>
                <Alias>SAT_TP1_CB_DNL</Alias>
                <Comment>Cell Broadcast data download</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">08</Value>
                <Alias>SAT_TP1_MENU_SEL</Alias>
                <Comment>Menu selection</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">10</Value>
                <Alias>SAT_TP1_9E_XX</Alias>
                <Comment>'9E XX' response code for SIM data download error</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">20</Value>
                <Alias>SAT_TP1_TIMER_EXP</Alias>
                <Comment>Timer expiration (Class 3)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">40</Value>
                <Alias>SAT_TP1_CC_USSD</Alias>
                <Comment>USSD string data object supported in Call Control</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">80</Value>
                <Alias>SAT_TP1_CC_ON_REDIAL</Alias>
                <Comment>Call Control by SIM always performed on automatic redial</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">01</Value>
                <Alias>SAT_TP2_CMD_RES</Alias>
                <Comment>Command result (generic)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">02</Value>
                <Alias>SAT_TP2_CC</Alias>
                <Comment>Call Control by SIM</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">04</Value>
                <Alias>SAT_TP2_CC_CELL_ID</Alias>
                <Comment>Cell Identity included in Call Control by SIM</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">08</Value>
                <Alias>SAT_TP2_MOSMC</Alias>
                <Comment>MO SM Control by SIM (Class 3)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">10</Value>
                <Alias>SAT_TP2_ALPHA_ID</Alias>
                <Comment>Alpha identifier according to clause 9</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">20</Value>
                <Alias>SAT_TP2_UCS2_ENTRY</Alias>
                <Comment>UCS2 entry supported</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">40</Value>
                <Alias>SAT_TP2_UCS2_DSPL</Alias>
                <Comment>UCS2 display supported</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">80</Value>
                <Alias>SAT_TP2_DSPL_EXT</Alias>
                <Comment>extended display length supported (Class 3)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">01</Value>
                <Alias>SAT_TP3_DSPL_TXT</Alias>
                <Comment>Proactive SIM: Display Text</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">02</Value>
                <Alias>SAT_TP3_GET_INKEY</Alias>
                <Comment>Proactive SIM: Get Inkey</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">04</Value>
                <Alias>SAT_TP3_GET_INPUT</Alias>
                <Comment>Proactive SIM: Get Input</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">08</Value>
                <Alias>SAT_TP3_MORE_TIME</Alias>
                <Comment>Proactive SIM: More Time</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">10</Value>
                <Alias>SAT_TP3_PLAY_TONE</Alias>
                <Comment>Proactive SIM: Play Tone</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">20</Value>
                <Alias>SAT_TP3_POLL_ITV</Alias>
                <Comment>Proactive SIM: Poll Interval</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">40</Value>
                <Alias>SAT_TP3_POLL_OFF</Alias>
                <Comment>Proactive SIM: Polling Off</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">80</Value>
                <Alias>SAT_TP3_REFRESH</Alias>
                <Comment>Proactive SIM: Refresh</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">01</Value>
                <Alias>SAT_TP4_SEL_ITEM</Alias>
                <Comment>Proactive SIM: Select Item</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">02</Value>
                <Alias>SAT_TP4_SEND_SMS</Alias>
                <Comment>Proactive SIM: Send SM</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">04</Value>
                <Alias>SAT_TP4_SEND_SS</Alias>
                <Comment>Proactive SIM: Send SS</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">08</Value>
                <Alias>SAT_TP4_SEND_USSD</Alias>
                <Comment>Proactive SIM: Send USSD (Class 3)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">10</Value>
                <Alias>SAT_TP4_SETUP_CALL</Alias>
                <Comment>Proactive SIM: Set up Call</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">20</Value>
                <Alias>SAT_TP4_SETUP_MENU</Alias>
                <Comment>Proactive SIM: Set up Menu</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">40</Value>
                <Alias>SAT_TP4_PLI_PLMN_IMEI</Alias>
                <Comment>Proactive SIM: Provide Local Informaton (PLMN, Cell ID, IMEI)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">80</Value>
                <Alias>SAT_TP4_PLI_NMR</Alias>
                <Comment>Proactive SIM: Provide Local Informaton (NMR)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">01</Value>
                <Alias>SAT_TP5_EVENT_LIST</Alias>
                <Comment>Proactive SIM: Set up Event List (Class 3)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">02</Value>
                <Alias>SAT_TP5_MT_CALL</Alias>
                <Comment>Event: Moblile Terminated Call (Class 3)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">04</Value>
                <Alias>SAT_TP5_CALL_CONN</Alias>
                <Comment>Event: Call connected (Class 3)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">08</Value>
                <Alias>SAT_TP5_CALL_DISC</Alias>
                <Comment>Event: Call disconnected (Class 3)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">10</Value>
                <Alias>SAT_TP5_LOC_STATUS</Alias>
                <Comment>Event: Location status (Class 3)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">20</Value>
                <Alias>SAT_TP5_USER_ACT</Alias>
                <Comment>Event: User activity (Class 3)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">40</Value>
                <Alias>SAT_TP5_SCR_AVAIL</Alias>
                <Comment>Event: Idle screen available (Class 3)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">80</Value>
                <Alias>SAT_TP5_CDR_STATUS</Alias>
                <Comment>Event: Card reader status (Class a)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">01</Value>
                <Alias>SAT_TP6_LANG_SEL</Alias>
                <Comment>Event: Language Selection (Class 3)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">02</Value>
                <Alias>SAT_TP6_BROWS_TERM</Alias>
                <Comment>Event: Browser Termination (Class c)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">04</Value>
                <Alias>SAT_TP6_DATA_AVAIL</Alias>
                <Comment>Event: Data available (Class e)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">08</Value>
                <Alias>SAT_TP6_CHANNEL_STAT</Alias>
                <Comment>Event: Channel status (Class e)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">01</Value>
                <Alias>SAT_TP7_PW_ON_CD</Alias>
                <Comment>Proactive SIM: Power on Card (Class a)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">02</Value>
                <Alias>SAT_TP7_PW_OFF_CD</Alias>
                <Comment>Proactive SIM: Power off Card (Class a)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">04</Value>
                <Alias>SAT_TP7_PF_CD_ADPU</Alias>
                <Comment>Proactive SIM: Perform Card ADPU (Class a)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">08</Value>
                <Alias>SAT_TP7_GET_CDR_STATUS</Alias>
                <Comment>Proactive SIM: Get Card Reader Status (Class a)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">10</Value>
                <Alias>SAT_TP7_GET_CDR_IDENT</Alias>
                <Comment>Proactive SIM: Get Card Reader Identifier (Class a)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">01</Value>
                <Alias>SAT_TP8_TMNG_ST</Alias>
                <Comment>Proactive SIM: Timer Management (start, stop) (Class 3)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">02</Value>
                <Alias>SAT_TP8_TMNG_VAL</Alias>
                <Comment>Proactive SIM: Timer Management (get current value) (Class 3)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">04</Value>
                <Alias>SAT_TP8_PLI_DTT</Alias>
                <Comment>Proactive SIM: Provide Local Information (date, time, tz) (Class 3)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">08</Value>
                <Alias>SAT_TP8_BIN_GET_INKEY</Alias>
                <Comment>Binary choice in Get Inkey (Class 3)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">10</Value>
                <Alias>SAT_TP8_IDLE_TXT</Alias>
                <Comment>Proactive SIM: Set up Idle Mode Text (Class 3)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">20</Value>
                <Alias>SAT_TP8_AT_CMD</Alias>
                <Comment>Proactive SIM: Run AT command (Class b)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">40</Value>
                <Alias>SAT_TP8_AI2_SETUP_CALL</Alias>
                <Comment>2nd alpha identifier in Set up Call (Class 3)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">80</Value>
                <Alias>SAT_TP8_CCP2_CC</Alias>
                <Comment>2nd capability configuration parameter with Call Control (Class 3)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">01</Value>
                <Alias>SAT_TP9_SUST_DSPL_TXT</Alias>
                <Comment>Sustained Display Text (Class 3)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">02</Value>
                <Alias>SAT_TP9_DTMF_CMD</Alias>
                <Comment>Send DTMF Command (Class 3)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">04</Value>
                <Alias>SAT_TP9_BCCH_COD</Alias>
                <Comment>BCCH coding according to subclause 12.19 (Class 3)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">08</Value>
                <Alias>SAT_TP9_PLI_LANG</Alias>
                <Comment>Proactive SIM: Provide Local Information (Language) (Rel. 99)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">10</Value>
                <Alias>SAT_TP9_PLI_TIMING_ADV</Alias>
                <Comment>Proactive SIM: Provide Local Information (Timing Adv ance) (Rel. 99)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">20</Value>
                <Alias>SAT_TP9_LANG_NOTIFY</Alias>
                <Comment>Proactive SIM: Language Notification (Class 3)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">40</Value>
                <Alias>SAT_TP9_LAUNCH_BROWSER</Alias>
                <Comment>Proactive SIM: Launch Browser (Class c)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">01</Value>
                <Alias>SAT_TP10_SFTKEY_SEL_ITEM</Alias>
                <Comment>Soft key support for SELECT ITEM</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">02</Value>
                <Alias>SAT_TP10_SFTKEY_SETUP_MENU</Alias>
                <Comment>Soft key support for SET UP MENU</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">FF</Value>
                <Alias>SAT_TP11_MAX_NR_SFTKEY</Alias>
                <Comment>Maximum number of soft keys available</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">01</Value>
                <Alias>SAT_TP12_OPEN_CHANNEL</Alias>
                <Comment>Proactive SIM: OPEN CHANNEL (Class e)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">02</Value>
                <Alias>SAT_TP12_CLOSE_CHANNEL</Alias>
                <Comment>Proactive SIM: CLOSE CHANNEL (Class e)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">04</Value>
                <Alias>SAT_TP12_RECEIVE_DATA</Alias>
                <Comment>Proactive SIM: RECEIVE DATA (Class e)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">08</Value>
                <Alias>SAT_TP12_SEND_DATA</Alias>
                <Comment>Proactive SIM: SEND DATA (Class e)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">10</Value>
                <Alias>SAT_TP12_GET_CHANNEL_STAT</Alias>
                <Comment>Proactive SIM: GET CHANNEL STATUS (Class e)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">01</Value>
                <Alias>SAT_TP13_CSD_SUPP_BY_ME</Alias>
                <Comment>CSD supported by ME (Class e)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">02</Value>
                <Alias>SAT_TP13_GPRS_SUPP_BY_ME</Alias>
                <Comment>GPRS supported by ME (Class e)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">E0</Value>
                <Alias>SAT_TP13_NR_OF_CHAN_SUPP</Alias>
                <Comment>Number of channels supported by ME (Class e)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">1F</Value>
                <Alias>SAT_TP14_NR_OF_CHAR_DSPL_DWN</Alias>
                <Comment>Number of characters supported down the ME display</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">80</Value>
                <Alias>SAT_TP14_SCRN_SIZE_PARAM</Alias>
                <Comment>Screen sizing parameters supported by ME</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">7F</Value>
                <Alias>SAT_TP15_NR_OF_CHAR_DSPL_ACRS</Alias>
                <Comment>Number of characters supported across the ME display</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">80</Value>
                <Alias>SAT_TP15_VAR_SIZE_FONT</Alias>
                <Comment>Variable size fonts supported</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">01</Value>
                <Alias>SAT_TP16_DSPL_RESIZE</Alias>
                <Comment>Display can be resized</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">02</Value>
                <Alias>SAT_TP16_TEXT_WRAP</Alias>
                <Comment>Text wrapping supported</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">04</Value>
                <Alias>SAT_TP16_TEXT_SCROLL</Alias>
                <Comment>Text scrolling supported</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">E0</Value>
                <Alias>SAT_TP16_WIDTH_RDCT_MENU</Alias>
                <Comment>Width reduction when in Menu</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">01</Value>
                <Alias>SAT_TP17_BEARER_IND_SUPP_TCP</Alias>
                <Comment>Bearer independent protocol supported TCP (Class e)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">02</Value>
                <Alias>SAT_TP17_BEARER_IND_SUPP_UDP</Alias>
                <Comment>Bearer independent protocol supported UPD (Class e)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">0F</Value>
                <Alias>SAT_TP19_PROT_VERS</Alias>
                <Comment>Protocol version coded as TIA/EIA 136-123</Comment>
            </ValuesItem>
            <History>
                <Date Day="26" Month="11" Year="2003"/>
                <Author>doc2XML</Author>
                <Comment>Initial</Comment>
            </History>
        </Values>
        <Values>
            <Description>
                <Section>This former local values table was generated by the doc2XML converter tool. Please exchange this description by a more meaningful one !!!</Section>
            </Description>
            <ValuesDef>
                <Name>VAL_proc</Name>
                <Comment>values for proc</Comment>
            </ValuesDef>
            <ValuesItem>
                <Value ValueType="HEX">00</Value>
                <Alias>SIM_INITIALISATION</Alias>
                <Comment>initialisation</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">01</Value>
                <Alias>SIM_FDN_ENABLE</Alias>
                <Comment>FDN enabling</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">02</Value>
                <Alias>SIM_FDN_DISABLE</Alias>
                <Comment>FDN disabling</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">03</Value>
                <Alias>SIM_SELECT</Alias>
                <Comment>SIM selection</Comment>
            </ValuesItem>
            <History>
                <Date Day="26" Month="11" Year="2003"/>
                <Author>doc2XML</Author>
                <Comment>Initial</Comment>
            </History>
        </Values>
        <Values>
            <Description>
                <Section>This former local values table was generated by the doc2XML converter tool. Please exchange this description by a more meaningful one !!!</Section>
            </Description>
            <ValuesDef>
                <Name>VAL_func</Name>
                <Comment>values for func</Comment>
            </ValuesDef>
            <ValuesItem>
                <Value ValueType="HEX">00</Value>
                <Alias>SIM_NO_OPERATION</Alias>
                <Comment>card is invalid</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">01</Value>
                <Alias>SIM_ADN_ENABLED</Alias>
                <Comment>normal GSM operation, ADN enabled</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">02</Value>
                <Alias>SIM_FDN_ENABLED</Alias>
                <Comment>restricted GSM operation, FDN enabled</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">05</Value>
                <Alias>SIM_ADN_BDN_ENABLED</Alias>
                <Comment>normal GSM operation, ADN and BDN enabled</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">06</Value>
                <Alias>SIM_FDN_BDN_ENABLED</Alias>
                <Comment>restricted GSM operation, FDN and BDN enabled</Comment>
            </ValuesItem>
            <History>
                <Date Day="26" Month="11" Year="2003"/>
                <Author>doc2XML</Author>
                <Comment>Initial</Comment>
            </History>
        </Values>
        <Values>
            <Description>
                <Section>This former local values table was generated by the doc2XML converter tool. Please exchange this description by a more meaningful one !!!</Section>
            </Description>
            <ValuesDef>
                <Name>VAL_download_sms</Name>
                <Comment>values for download_sms</Comment>
            </ValuesDef>
            <ValuesItem>
                <Value ValueType="DEC">0</Value>
                <Alias>DOWNLOAD_SMS_NO</Alias>
                <Comment>No support of download SMS</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="DEC">1</Value>
                <Alias>DOWNLOAD_SMS_YES</Alias>
                <Comment>Support of download SMS</Comment>
            </ValuesItem>
            <History>
                <Date Day="26" Month="11" Year="2003"/>
                <Author>doc2XML</Author>
                <Comment>Initial</Comment>
            </History>
        </Values>
        <Values>
            <Description>
                <Section>This former local values table was generated by the doc2XML converter tool. Please exchange this description by a more meaningful one !!!</Section>
            </Description>
            <ValuesDef>
                <Name>VAL_access_acm</Name>
                <Comment>values for access_acm</Comment>
            </ValuesDef>
            <ValuesItem>
                <Value ValueType="DEC">0</Value>
                <Alias>ACCESS_ALWAYS</Alias>
                <Comment>No PIN is needed</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="DEC">1</Value>
                <Alias>ACCESS_PIN_1</Alias>
                <Comment>PIN 1 is needed</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="DEC">2</Value>
                <Alias>ACCESS_PIN_2</Alias>
                <Comment>PIN 2 is needed</Comment>
            </ValuesItem>
            <History>
                <Date Day="26" Month="11" Year="2003"/>
                <Author>doc2XML</Author>
                <Comment>Initial</Comment>
            </History>
        </Values>
        <Values>
            <Description>
                <Section>This former local values table was generated by the doc2XML converter tool. Please exchange this description by a more meaningful one !!!</Section>
            </Description>
            <ValuesDef>
                <Name>VAL_mmi_pro_file</Name>
                <Comment>values for mmi_pro_file</Comment>
            </ValuesDef>
            <ValuesItem>
                <Value ValueType="HEX">80</Value>
                <Alias>SIM_MMI_ADN</Alias>
                <Comment>MMI ADN support, if set</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">40</Value>
                <Alias>SIM_MMI_FDN</Alias>
                <Comment>MMI FDN support, if set</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">20</Value>
                <Alias>SIM_MMI_BDN</Alias>
                <Comment>MMI BDN support, if set</Comment>
            </ValuesItem>
            <History>
                <Date Day="26" Month="11" Year="2003"/>
                <Author>doc2XML</Author>
                <Comment>Initial</Comment>
            </History>
        </Values>
        <Values>
            <Description>
                <Section>This former local values table was generated by the doc2XML converter tool. Please exchange this description by a more meaningful one !!!</Section>
            </Description>
            <ValuesDef>
                <Name>VAL_synccs</Name>
                <Comment>values for synccs</Comment>
            </ValuesDef>
            <ValuesItem>
                <Value ValueType="DEC">1</Value>
                <Alias>SYNC_START_CALL</Alias>
                <Comment>Start present checks if needed during calls</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="DEC">2</Value>
                <Alias>SYNC_STOP_CALL</Alias>
                <Comment>Stop present checks if running</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="DEC">3</Value>
                <Alias>SYNC_DEACTIVATE</Alias>
                <Comment>Deactivate SIM card</Comment>
            </ValuesItem>
            <History>
                <Date Day="26" Month="11" Year="2003"/>
                <Author>doc2XML</Author>
                <Comment>Initial</Comment>
            </History>
        </Values>
        <Values>
            <Description>
                <Section>This former local values table was generated by the doc2XML converter tool. Please exchange this description by a more meaningful one !!!</Section>
            </Description>
            <ValuesDef>
                <Name>VAL_sim_command</Name>
                <Comment>values for sim_command</Comment>
            </ValuesDef>
            <ValuesItem>
                <Value ValueType="DEC">0</Value>
                <Alias>SIM_TRANSP_CMD</Alias>
                <Comment>Transparent SIM Command</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="DEC">1</Value>
                <Alias>SIM_READ_BINARY</Alias>
                <Comment>Read Binary Command</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="DEC">2</Value>
                <Alias>SIM_READ_RECORD</Alias>
                <Comment>Read Record Command</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="DEC">3</Value>
                <Alias>SIM_UPDATE_BINARY</Alias>
                <Comment>Update Binary Command</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="DEC">4</Value>
                <Alias>SIM_UPDATE_RECORD</Alias>
                <Comment>Update Record Command</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="DEC">5</Value>
                <Alias>SIM_STATUS</Alias>
                <Comment>Status Command</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="DEC">6</Value>
                <Alias>SIM_GET_RESPONSE</Alias>
                <Comment>Get Response Command</Comment>
            </ValuesItem>
            <History>
                <Date Day="26" Month="11" Year="2003"/>
                <Author>doc2XML</Author>
                <Comment>Initial</Comment>
            </History>
        </Values>
        <Values>
            <Description>
                <Section>This former local values table was generated by the doc2XML converter tool. Please exchange this description by a more meaningful one !!!</Section>
            </Description>
            <ValuesDef>
                <Name>VAL_sw1</Name>
                <Comment>values for sw1</Comment>
            </ValuesDef>
            <ValuesItem>
                <Value ValueType="HEX">90</Value>
                <Alias>SW1_SUCCESS</Alias>
                <Comment>normal ending of the command: SW2 = '00'</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">91</Value>
                <Alias>SW1_SUCCESS_EXTRA_INF</Alias>
                <Comment>ditto, with extra data from proactiv SIM for ME: SW2 = lgth</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">9E</Value>
                <Alias>SW1_DATA_LGTH_BY_ERR</Alias>
                <Comment>SW2 gives the length of respose in case of SIM downl. error</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">9F</Value>
                <Alias>SW1_SUCCESS_DATA_AVAIL</Alias>
                <Comment>SW2 gives the length of (SIM) response data</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">93</Value>
                <Alias>SW1_SAT_BUSY</Alias>
                <Comment>no command execution now, further normal commands allowed</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">92</Value>
                <Alias>SW1_MEMORY_MANAGEMENT</Alias>
                <Comment>two cases possible depending on SW2</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">94</Value>
                <Alias>SW1_REFRNCG_MANAGEMENT</Alias>
                <Comment>four cases possible depending on SW2</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">98</Value>
                <Alias>SW1_SECURTY_MANAGEMENT</Alias>
                <Comment>six cases possible depending on SW2</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">67</Value>
                <Alias>SW1_ERR_INCORRECT_P3</Alias>
                <Comment>incorrect parameter P3</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">6B</Value>
                <Alias>SW1_ERR_INCOR_P1_OR_P2</Alias>
                <Comment>incorrect parameter P1 or P2</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">6D</Value>
                <Alias>SW1_ERR_UNKNOWN_INSTR</Alias>
                <Comment>unknown instruction code given in the command</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">6E</Value>
                <Alias>SW1_ERR_INSTR_CLA</Alias>
                <Comment>wrong instruction class given in the command</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">6F</Value>
                <Alias>SW1_ERR_DIAG_OR_AUTHEN</Alias>
                <Comment>technical problem with no diagnostic given</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">00</Value>
                <Alias>SW2_NORMAL</Alias>
                <Comment>normal ending of the command (SW1 = '00')</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">00</Value>
                <Alias>SW2_256_BYTES_LGTH</Alias>
                <Comment>SW2 gives the lengths of 256 bytes of information</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">40</Value>
                <Alias>SW2_MEMORY_PROBLEM</Alias>
                <Comment>memory problem: in connection with SW1 = '92'</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">02</Value>
                <Alias>SW2_NO_EF_SELECTED</Alias>
                <Comment>no elementary file selected: in connection with SW1 = '94'</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">02</Value>
                <Alias>SW2_OUT_OF_RANGE</Alias>
                <Comment>invalid adress: in connection with SW1 = '94'</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">04</Value>
                <Alias>SW2_FILE_ID_PATT_NFOUND</Alias>
                <Comment>file ID or pattern not found: in connection with SW1 = '94'</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">08</Value>
                <Alias>SW2_FILE_INCON_WTH_CMD</Alias>
                <Comment>file inconsistent with cmd: in connection with SW1 = '94'</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">02</Value>
                <Alias>SW2_NO_CHV_INIT</Alias>
                <Comment>no CHV initialized: in connection with SW1 = '98'</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">04</Value>
                <Alias>SW2_ACC_FAIL</Alias>
                <Comment>in connection with SW1 = '98': (1) acces condition not fullfilled; (2) CHV verify unsuccessful, at least one attempt left; (3) UNBLOCK CHV verify unsuccessful, at least one attempt left; (4) authentication failed</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">08</Value>
                <Alias>SW2_CNTR_TO_CHV_STAT</Alias>
                <Comment>in contradiction with CHV status: in conn. with SW1 = '98'</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">10</Value>
                <Alias>SW2_CNTR_TO_INVALID_STAT</Alias>
                <Comment>in contradiction with invalidation status: in conn. with SW1 = '98'</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">40</Value>
                <Alias>SW2_ACC_FAIL_NO_ATTEMTP</Alias>
                <Comment>in connection with SW1 = '98': (1) CHV verify unsuccessful, no attempt left; (2) UNBLOCK CHV verify unsuccessful, no attempt left; (3) CHV blocked; (4) UNBLOCK CHV blocked</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">50</Value>
                <Alias>SW2_NO_INCREASE_PERF</Alias>
                <Comment>increase cannot be performed, Max value reached: in conn. with SW1 = '98'</Comment>
            </ValuesItem>
            <History>
                <Date Day="26" Month="11" Year="2003"/>
                <Author>doc2XML</Author>
                <Comment>Initial</Comment>
            </History>
        </Values>
        <Values>
            <Description>
                <Section>This former local values table was generated by the doc2XML converter tool. Please exchange this description by a more meaningful one !!!</Section>
            </Description>
            <ValuesDef>
                <Name>VAL_smsr_mem_cap</Name>
                <Comment>values for smsr_mem_cap</Comment>
            </ValuesDef>
            <ValuesItem>
                <Value ValueType="DEC">0</Value>
                <Alias>SIM_SMSR_DISABLE</Alias>
                <Comment>EF(SMSR) disabled on SIM</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="DEC">1</Value>
                <Alias>SIM_SMSR_ENABLE</Alias>
                <Comment>EF(SMSR) enabled on SIM</Comment>
            </ValuesItem>
            <History>
                <Date Day="26" Month="11" Year="2003"/>
                <Author>doc2XML</Author>
                <Comment>Initial</Comment>
            </History>
        </Values>
        <Values>
            <Description>
                <Section>This former local values table was generated by the doc2XML converter tool. Please exchange this description by a more meaningful one !!!</Section>
            </Description>
            <ValuesDef>
                <Name>VAL_fu_rsc</Name>
                <Comment>values for fu_rsc</Comment>
            </ValuesDef>
            <ValuesItem>
                <Value ValueType="DEC">0</Value>
                <Alias>SIM_FU_ERROR</Alias>
                <Comment>ME is unable to perform the command (SAT result = 20)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="DEC">1</Value>
                <Alias>SIM_FU_SUCCESS</Alias>
                <Comment>file update is performed successfully (SAT result = 0)</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="DEC">2</Value>
                <Alias>SIM_FU_SUCC_ADD</Alias>
                <Comment>file update is performed with additional files read (SAT result = 3)</Comment>
            </ValuesItem>
            <History>
                <Date Day="26" Month="11" Year="2003"/>
                <Author>doc2XML</Author>
                <Comment>Initial</Comment>
            </History>
        </Values>
        <Values>
            <Description>
                <Section>This former local values table was generated by the doc2XML converter tool. Please exchange this description by a more meaningful one !!!</Section>
            </Description>
            <ValuesDef>
                <Name>VAL_dti_conn</Name>
                <Comment>values for dti_conn</Comment>
            </ValuesDef>
            <ValuesItem>
                <Value ValueType="DEC">0</Value>
                <Alias>SIM_DTI_UNKNOWN</Alias>
                <Comment>Unknown DTI link status</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="DEC">1</Value>
                <Alias>SIM_DTI_CONNECT</Alias>
                <Comment>Connect DTI link to SIM</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="DEC">2</Value>
                <Alias>SIM_DTI_DISCONNECT</Alias>
                <Comment>Disconnect DTI link from SIM</Comment>
            </ValuesItem>
            <History>
                <Date Day="04" Month="05" Year="2004"/>
                <Author>MDF</Author>
                <Comment/>
            </History>
            <History>
                <Date Day="26" Month="11" Year="2003"/>
                <Author>doc2XML</Author>
                <Comment>Initial</Comment>
            </History>
        </Values>
        <Values>
            <Description>
                <Section>This former local values table was generated by the doc2XML converter tool. Please exchange this description by a more meaningful one !!!</Section>
            </Description>
            <ValuesDef>
                <Name>VAL_con_type</Name>
                <Comment>values for con_type</Comment>
            </ValuesDef>
            <ValuesItem>
                <Value ValueType="DEC">1</Value>
                <Alias>SIM_CON_TYPE_UDP</Alias>
                <Comment>send and expect UDP datagrams</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="DEC">2</Value>
                <Alias>SIM_CON_TYPE_IP</Alias>
                <Comment>send and expect IP packets</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="DEC">3</Value>
                <Alias>SIM_CON_TYPE_SERIAL</Alias>
                <Comment>send and expect serial data</Comment>
            </ValuesItem>
            <History>
                <Date Day="26" Month="11" Year="2003"/>
                <Author>doc2XML</Author>
                <Comment>Initial</Comment>
            </History>
        </Values>
        <Values>
            <Description>
                <Section>This former local values table was generated by the doc2XML converter tool. Please exchange this description by a more meaningful one !!!</Section>
            </Description>
            <ValuesDef>
                <Name>VAL_local_ip</Name>
                <Comment>values for local_ip</Comment>
            </ValuesDef>
            <ValuesItem>
                <Value ValueType="HEX">00000000</Value>
                <Alias>SIM_IP_LOCAL_DYNAMIC</Alias>
                <Comment>SIM requests IP address from UDP</Comment>
            </ValuesItem>
            <History>
                <Date Day="26" Month="11" Year="2003"/>
                <Author>doc2XML</Author>
                <Comment>Initial</Comment>
            </History>
        </Values>
        <Values>
            <Description>
                <Section>This former local values table was generated by the doc2XML converter tool. Please exchange this description by a more meaningful one !!!</Section>
            </Description>
            <ValuesDef>
                <Name>VAL_event_data_avail</Name>
                <Comment>values for event_data_avail</Comment>
            </ValuesDef>
            <ValuesItem>
                <Value ValueType="DEC">0</Value>
                <Alias>SIM_EVENT_DISABLE</Alias>
                <Comment>do not use this event</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="DEC">1</Value>
                <Alias>SIM_EVENT_ENABLE</Alias>
                <Comment>use this event</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">FF</Value>
                <Alias>SIM_KEEP_ALIVE</Alias>
                <Comment>reserved</Comment>
            </ValuesItem>
            <History>
                <Date Day="26" Month="11" Year="2003"/>
                <Author>doc2XML</Author>
                <Comment>Initial</Comment>
            </History>
        </Values>
        <Values>
            <Description>
                <Section>This former local values table was generated by the doc2XML converter tool. Please exchange this description by a more meaningful one !!!</Section>
            </Description>
            <ValuesDef>
                <Name>VAL_release_time</Name>
                <Comment>values for release_time</Comment>
            </ValuesDef>
            <ValuesItem>
                <Value ValueType="DEC">0</Value>
                <Alias>SIM_NO_AUTO_RELEASE</Alias>
                <Comment>do not use release timer</Comment>
            </ValuesItem>
            <History>
                <Date Day="26" Month="11" Year="2003"/>
                <Author>doc2XML</Author>
                <Comment>Initial</Comment>
            </History>
        </Values>
        <Values>
            <Description>
                <Section>This former local values table was generated by the doc2XML converter tool. Please exchange this description by a more meaningful one !!!</Section>
            </Description>
            <ValuesDef>
                <Name>VAL_cla</Name>
                <Comment>values for cla</Comment>
            </ValuesDef>
            <ValuesItem>
                <Value ValueType="HEX">A0</Value>
                <Alias>GSM_CLASS</Alias>
                <Comment>GSM instruction class</Comment>
            </ValuesItem>
            <History>
                <Date Day="26" Month="11" Year="2003"/>
                <Author>doc2XML</Author>
                <Comment>Initial</Comment>
            </History>
        </Values>
        <Values>
            <Description>
                <Section>This former local values table was generated by the doc2XML converter tool. Please exchange this description by a more meaningful one !!!</Section>
            </Description>
            <ValuesDef>
                <Name>VAL_ins_code</Name>
                <Comment>values for ins_code</Comment>
            </ValuesDef>
            <ValuesItem>
                <Value ValueType="HEX">A4</Value>
                <Alias>SIM_INS_SELECT</Alias>
                <Comment>Select Instruction</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">F2</Value>
                <Alias>SIM_INS_STATUS</Alias>
                <Comment>Status Instruction</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">B0</Value>
                <Alias>SIM_INS_READ_BINARY</Alias>
                <Comment>Read Binary Instruction</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">D6</Value>
                <Alias>SIM_INS_UPDATE_BINARY</Alias>
                <Comment>Update Binary Instruction</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">B2</Value>
                <Alias>SIM_INS_READ_RECORD</Alias>
                <Comment>Read Record Instruction</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">DC</Value>
                <Alias>SIM_INS_UPDATE_RECORD</Alias>
                <Comment>Update Record Instruction</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">A2</Value>
                <Alias>SIM_INS_SEEK</Alias>
                <Comment>Seek Instruction</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">32</Value>
                <Alias>SIM_INS_INCREASE</Alias>
                <Comment>Increase Instruction</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">20</Value>
                <Alias>SIM_INS_VERIFY_CHV</Alias>
                <Comment>Verify Chv Instruction</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">24</Value>
                <Alias>SIM_INS_CHANGE_CHV</Alias>
                <Comment>Change Chv Instruction</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">26</Value>
                <Alias>SIM_INS_DISABLE_CHV</Alias>
                <Comment>Disable Chv Instruction</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">28</Value>
                <Alias>SIM_INS_ENABLE_CHV</Alias>
                <Comment>Ensable Chv Instruction</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">2C</Value>
                <Alias>SIM_INS_UNBLOCK_CHV</Alias>
                <Comment>Unblock Chv Instruction</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">04</Value>
                <Alias>SIM_INS_INVALIDATE</Alias>
                <Comment>Invalidate Instruction</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">44</Value>
                <Alias>SIM_INS_REHABILITATE</Alias>
                <Comment>Rehabilitate Instruction</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">88</Value>
                <Alias>SIM_INS_RUN_GSM_ALGTH</Alias>
                <Comment>Run GSM Algorithm Instruczion</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">C0</Value>
                <Alias>SIM_INS_GET_RESPONSE</Alias>
                <Comment>Get Response Instruction</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">10</Value>
                <Alias>SIM_INS_TERMINAL_PROFILE</Alias>
                <Comment>Terminal Profile Instruction</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">C2</Value>
                <Alias>SIM_INS_ENVELOPE</Alias>
                <Comment>Envelope Instruction</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">12</Value>
                <Alias>SIM_INS_FETCH</Alias>
                <Comment>Fetch Instruction</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="HEX">14</Value>
                <Alias>SIM_INS_TERMINAL_RESPONSE</Alias>
                <Comment>Terminal Response Instruction</Comment>
            </ValuesItem>
            <History>
                <Date Day="26" Month="11" Year="2003"/>
                <Author>doc2XML</Author>
                <Comment>Initial</Comment>
            </History>
        </Values>
        <Values>
            <Description>
                <Section/>
            </Description>
            <ValuesDef>
                <Name>VAL_bip_conn</Name>
                <Comment>values for bip_conn</Comment>
            </ValuesDef>
            <ValuesItem>
                <Value ValueType="DEC">0</Value>
                <Alias>SIM_BIP_UNKNOWN</Alias>
                <Comment>unknown BIP channel status</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="DEC">1</Value>
                <Alias>SIM_BIP_OPEN_CHANNEL</Alias>
                <Comment>Open bearer independent protocol channel</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="DEC">2</Value>
                <Alias>SIM_BIP_CLOSE_CHANNEL</Alias>
                <Comment>Close bearer independent protocol channel</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="DEC">4</Value>
                <Alias>SIM_BIP_CHANNEL_RESUMED</Alias>
                <Comment>BIP channel is resumed</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="DEC">8</Value>
                <Alias>SIM_BIP_CHANNEL_SUSPENDED</Alias>
                <Comment>BIP channel is suspended</Comment>
            </ValuesItem>
            <History>
                <Date Day="04" Month="05" Year="2004"/>
                <Author>MDf</Author>
                <Comment>Initial</Comment>
            </History>
        </Values>
        <Values>
            <Description>
                <Section/>
            </Description>
            <ValuesDef>
                <Name>VAL_dti_direction</Name>
                <Comment>values for dti_direction</Comment>
            </ValuesDef>
            <ValuesItem>
                <Value ValueType="DEC">0</Value>
                <Alias>SIM_DTI_NORMAL</Alias>
                <Comment>DTI used normally</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="DEC">1</Value>
                <Alias>SIM_DTI_INVERTED</Alias>
                <Comment>DTI is inverted</Comment>
            </ValuesItem>
            <History>
                <Date Day="27" Month="05" Year="2004"/>
                <Author/>
                <Comment>Initial</Comment>
            </History>
        </Values>
        <Values>
            <Description>
                <Section>Values for the cust_mode Basic Element</Section>
            </Description>
            <ValuesDef>
                <Name>VAL_cust_mode</Name>
                <Comment>Values for cust_mode</Comment>
            </ValuesDef>
            <ValuesItem>
                <Value ValueType="DEC">0</Value>
                <Alias>SIM_CUST_MODE_NORM</Alias>
                <Comment>Normal Behaviour</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="DEC">1</Value>
                <Alias>SIM_CUST_MODE_1</Alias>
                <Comment>Customisation Value 1</Comment>
            </ValuesItem>
            <History>
                <Date Day="30" Month="08" Year="2004"/>
                <Author/>
                <Comment>Initial</Comment>
            </History>
        </Values>
        <Values>
            <Description>
                <Section>Values for the user_accepts Basic Element</Section>
            </Description>
            <ValuesDef>
                <Name>VAL_user_accepts</Name>
                <Comment>Values for user_accepts</Comment>
            </ValuesDef>
            <ValuesItem>
                <Value ValueType="DEC">0</Value>
                <Alias>SIM_USER_REJECTS</Alias>
                <Comment>User Rejected</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="DEC">1</Value>
                <Alias>SIM_USER_ACCEPTS</Alias>
                <Comment>User Accepted</Comment>
            </ValuesItem>
            <History>
                <Date Day="30" Month="08" Year="2004"/>
                <Author/>
                <Comment>Initial</Comment>
            </History>
        </Values>
        <Values>
            <Description>
                <Section/>
            </Description>
            <ValuesDef>
                <Name>VAL_sim_num</Name>
                <Comment>SIM Interface Identifier</Comment>
            </ValuesDef>
            <ValuesItem>
                <Value ValueType="DEC">0</Value>
                <Alias>SIM_NUM_0</Alias>
                <Comment>Auto Select</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="DEC">1</Value>
                <Alias>SIM_NUM_1</Alias>
                <Comment>Select SIM 1</Comment>
            </ValuesItem>
            <ValuesItem>
                <Value ValueType="DEC">2</Value>
                <Alias>SIM_NUM_2</Alias>
                <Comment>Select SIM 2</Comment>
            </ValuesItem>
            <History>
                <Date Day="26" Month="11" Year="2004"/>
                <Author/>
                <Comment>Initial</Comment>
            </History>
        </Values>
    </ValuesSection>
</SAP>
