connectivitylayer/isimessage/symbianisamacroif/include/wgmodem25/uiccisi.h
changeset 0 63b37f68c1ce
child 5 8ccc39f9d787
equal deleted inserted replaced
-1:000000000000 0:63b37f68c1ce
       
     1 /*
       
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of the License "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 * 
       
    14 * Description:
       
    15 * Name      : PN_UICC [ 0x8C ] Resource UICC Server
       
    16 * Version   : 003.000
       
    17 *
       
    18 */
       
    19 
       
    20 
       
    21 #ifndef _SYMBIAN_ISI_UICCISI_H_
       
    22 #define _SYMBIAN_ISI_UICCISI_H_
       
    23 
       
    24 #define UICC_SERVER_ISI_VERSION_Z	 3
       
    25 #define UICC_SERVER_ISI_VERSION_Y	 0
       
    26 
       
    27 
       
    28 //CONSTANTS
       
    29 #define UICC_EF_ID_NOT_PRESENT                            	0x00                                                 	
       
    30 #define UICC_SFI_NOT_PRESENT                              	0x00                                                 	
       
    31 #define UICC_APPL_ID_UNKNOWN                              	0x00                                                 	
       
    32 #define UICC_APPL_LAST                                    	0xFF                                              	
       
    33 #define UICC_SESSION_ID_NOT_USED                          	0x00                                                 	
       
    34 #define UICC_ANY_SIZE                                     	0x01                                                 	
       
    35 
       
    36 
       
    37 //TABLES
       
    38 
       
    39 //ConstantTable for UICC_STATUS_CONSTANTS
       
    40 #define UICC_STATUS_OK                                    	0x00                                                 	
       
    41 #define UICC_STATUS_FAIL                                  	0x01                                                 	
       
    42 #define UICC_STATUS_UNKNOWN                               	0x02                                                 	
       
    43 #define UICC_STATUS_NOT_READY                             	0x10                                              	
       
    44 #define UICC_STATUS_START_UP_COMPLETED                    	0x11                                              	
       
    45 #define UICC_STATUS_SHUTTING_DOWN                         	0x12                                              	
       
    46 #define UICC_STATUS_CARD_NOT_READY                        	0x20                                              	
       
    47 #define UICC_STATUS_CARD_READY                            	0x21                                              	
       
    48 #define UICC_STATUS_CARD_DISCONNECTED                     	0x22                                              	
       
    49 #define UICC_STATUS_CARD_NOT_PRESENT                      	0x23                                              	
       
    50 #define UICC_STATUS_APPL_ACTIVE                           	0x30                                              	
       
    51 #define UICC_STATUS_APPL_NOT_ACTIVE                       	0x31                                              	
       
    52 #define UICC_STATUS_PIN_ENABLED                           	0x40                                              	
       
    53 #define UICC_STATUS_PIN_DISABLED                          	0x41                                              	
       
    54 
       
    55 //ConstantTable for UICC_DETAILS_CONSTANTS
       
    56 #define UICC_NO_DETAILS                                   	0x00                                                 	
       
    57 #define UICC_INVALID_PARAMETERS                           	0x01                                                 	
       
    58 #define UICC_FILE_NOT_FOUND                               	0x02                                                 	
       
    59 #define UICC_SECURITY_CONDITIONS_NOT_SATISFIED            	0x03                                                 	
       
    60 #define UICC_APPL_CONFLICT                                	0x04                                                 	
       
    61 #define UICC_CARD_ERROR                                   	0x05                                                 	
       
    62 #define UICC_SERVICE_NOT_SUPPORTED                        	0x06                                                 	
       
    63 #define UICC_SESSION_EXPIRED                              	0x07                                                 	
       
    64 #define UICC_PIN_INVALID                                  	0x08                                                 	
       
    65 #define UICC_PIN_BLOCKED                                  	0x09                                                 	
       
    66 
       
    67 //ConstantTable for UICC_APPL_TYPE_TABLE
       
    68 #define UICC_APPL_TYPE_UNKNOWN                            	0x00                                                 	
       
    69 #define UICC_APPL_TYPE_ICC_SIM                            	0x01                                                 	
       
    70 #define UICC_APPL_TYPE_UICC_USIM                          	0x02                                                 	
       
    71 #define UICC_APPL_TYPE_UICC_ISIM                          	0x03                                                 	
       
    72 
       
    73 //ConstantTable for UICC_APPL_STATUS_TABLE
       
    74 
       
    75 //ConstantTable for UICC_APPL_START_UP_TYPE_TABLE
       
    76 #define UICC_APPL_START_UP_NO_INIT_PROC                   	0x00                                                 	
       
    77 #define UICC_APPL_START_UP_INIT_PROC                      	0x01                                                 	
       
    78 
       
    79 //ConstantTable for UICC_APDU_CMD_FORCE_TYPE_TABLE
       
    80 #define UICC_APDU_CMD_FORCE_NOT_USED                      	0x00                                                 	
       
    81 #define UICC_APDU_CMD_FORCE                               	0x01                                                 	
       
    82 
       
    83 //ConstantTable for UICC_CARD_TYPE_TABLE
       
    84 #define UICC_CARD_TYPE_UNKNOWN                            	0x00                                                 	
       
    85 #define UICC_CARD_TYPE_ICC                                	0x01                                                 	
       
    86 #define UICC_CARD_TYPE_UICC                               	0x02                                                 	
       
    87 
       
    88 //ConstantTable for UICC_PIN_STATUS_TABLE
       
    89 
       
    90 //ConstantTable for UICC_PIN_QUALIFIER_TABLE
       
    91 #define UICC_PIN_UNKNOWN                                  	0x00                                                 	
       
    92 #define UICC_PIN_NEW                                      	0x01                                                 	
       
    93 #define UICC_PIN_OLD                                      	0x02                                                 	
       
    94 
       
    95 //ConstantTable for UICC_CHV_QUALIFIER_TABLE
       
    96 #define UICC_CHV1                                         	0x01                                                 	
       
    97 #define UICC_CHV2                                         	0x02                                                 	
       
    98 
       
    99 //ConstantTable for UICC_PIN_PROMPT_VERIFY_TABLE
       
   100 
       
   101 //ConstantTable for UICC_REFRESH_TYPE_CONSTANTS
       
   102 #define UICC_REFRESH_NAA_INIT                             	0x00                                                 	
       
   103 #define UICC_REFRESH_NAA_FILE_CHANGE                      	0x01                                                 	
       
   104 #define UICC_REFRESH_NAA_INIT_FILE_CHANGE                 	0x02                                                 	
       
   105 #define UICC_REFRESH_NAA_INIT_FULL_FILE_CHANGE            	0x03                                                 	
       
   106 #define UICC_REFRESH_UICC_RESET                           	0x04                                                 	
       
   107 #define UICC_REFRESH_NAA_APPLICATION_RESET                	0x05                                                 	
       
   108 #define UICC_REFRESH_NAA_SESSION_RESET                    	0x06                                                 	
       
   109 
       
   110 //ConstantTable for UICC_ACTION_CONSTANTS
       
   111 #define UICC_CONTROL_COLD_RESET                           	0x00                                                 	
       
   112 #define UICC_CONTROL_WARM_RESET                           	0x01                                                 	
       
   113 #define UICC_CONTROL_CARD_ACTIVATE                        	0x02                                                 	
       
   114 #define UICC_CONTROL_CARD_DEACTIVATE                      	0x03                                                 	
       
   115 
       
   116 //ConstantTable for UICC_SERVICE_TYPE_CONSTANTS
       
   117 #define UICC_APPL_LIST                                    	0x01                                                 	
       
   118 #define UICC_APPL_HOST_ACTIVATE                           	0x03                                                 	
       
   119 #define UICC_APPL_START_UP_COMPLETE                       	0x05                                                 	
       
   120 #define UICC_APPL_SHUT_DOWN_INITIATED                     	0x06                                                 	
       
   121 #define UICC_APPL_STATUS_GET                              	0x07                                                 	
       
   122 #define UICC_APPL_HOST_DEACTIVATE                         	0x09                                                 	
       
   123 #define UICC_PIN_VERIFY                                   	0x11                                              	
       
   124 #define UICC_PIN_UNBLOCK                                  	0x12                                              	
       
   125 #define UICC_PIN_DISABLE                                  	0x13                                              	
       
   126 #define UICC_PIN_ENABLE                                   	0x14                                              	
       
   127 #define UICC_PIN_CHANGE                                   	0x15                                              	
       
   128 #define UICC_PIN_SUBSTITUTE                               	0x16                                              	
       
   129 #define UICC_PIN_INFO                                     	0x17                                              	
       
   130 #define UICC_PIN_PROMPT_VERIFY                            	0x18                                              	
       
   131 #define UICC_APPL_READ_TRANSPARENT                        	0x21                                              	
       
   132 #define UICC_APPL_UPDATE_TRANSPARENT                      	0x22                                              	
       
   133 #define UICC_APPL_READ_LINEAR_FIXED                       	0x23                                              	
       
   134 #define UICC_APPL_UPDATE_LINEAR_FIXED                     	0x24                                              	
       
   135 #define UICC_APPL_FILE_INFO                               	0x25                                              	
       
   136 #define UICC_APPL_APDU_SEND                               	0x26                                              	
       
   137 #define UICC_APPL_CLEAR_CACHE                             	0x27                                              	
       
   138 #define UICC_APPL_SESSION_START                           	0x28                                              	
       
   139 #define UICC_APPL_SESSION_END                             	0x29                                              	
       
   140 #define UICC_APPL_CACHE_UPDATED                           	0x30                                              	
       
   141 #define UICC_CONNECT                                      	0x31                                              	
       
   142 #define UICC_DISCONNECT                                   	0x32                                              	
       
   143 #define UICC_RECONNECT                                    	0x33                                              	
       
   144 #define UICC_CAT_ENABLE                                   	0x41                                              	
       
   145 #define UICC_CAT_DISABLE                                  	0x42                                              	
       
   146 #define UICC_CAT_TERMINAL_PROFILE                         	0x43                                              	
       
   147 #define UICC_CAT_TERMINAL_RESPONSE                        	0x44                                              	
       
   148 #define UICC_CAT_ENVELOPE                                 	0x45                                              	
       
   149 #define UICC_CAT_POLLING_SET                              	0x46                                              	
       
   150 #define UICC_CAT_REFRESH                                  	0x47                                              	
       
   151 #define UICC_APDU_SEND                                    	0x51                                              	
       
   152 #define UICC_APDU_ATR_GET                                 	0x52                                              	
       
   153 #define UICC_APDU_CONTROL                                 	0x53                                              	
       
   154 #define UICC_REFRESH_STATUS                               	0x61                                              	
       
   155 #define UICC_APPL_TERMINATED                              	0x71                                              	
       
   156 #define UICC_APPL_RECOVERED                               	0x72                                              	
       
   157 #define UICC_APPL_ACTIVATED                               	0x75                                              	
       
   158 #define UICC_PIN_VERIFY_NEEDED                            	0x81                                              	
       
   159 #define UICC_PIN_UNBLOCK_NEEDED                           	0x82                                              	
       
   160 #define UICC_PIN_PERMANENTLY_BLOCKED                      	0x83                                              	
       
   161 #define UICC_PIN_VERIFIED                                 	0x84                                              	
       
   162 #define UICC_CAT_FETCHED_CMD                              	0x91                                              	
       
   163 #define UICC_CAT_NOT_SUPPORTED                            	0x92                                              	
       
   164 #define UICC_CAT_REG_FAILED                               	0x93                                              	
       
   165 #define UICC_REFRESH_PERMISSION                           	0xA1                                              	
       
   166 #define UICC_REFRESH_STARTING                             	0xA2                                              	
       
   167 #define UICC_REFRESH_CANCELLED                            	0xA3                                              	
       
   168 #define UICC_REFRESH_NOW                                  	0xA4                                              	
       
   169 #define UICC_START_UP_COMPLETE                            	0xB0                                              	
       
   170 #define UICC_STATUS_GET                                   	0xB1                                              	
       
   171 #define UICC_READY                                        	0xB2                                              	
       
   172 #define UICC_INITIALIZED                                  	0xB4                                              	
       
   173 #define UICC_SHUTTING_DOWN                                	0xB5                                              	
       
   174 #define UICC_CARD_DISCONNECTED                            	0xC0                                              	
       
   175 #define UICC_CARD_REMOVED                                 	0xC1                                              	
       
   176 #define UICC_CARD_NOT_PRESENT                             	0xC2                                              	
       
   177 #define UICC_CARD_RESET                                   	0xC3                                              	
       
   178 #define UICC_CARD_READY                                   	0xC4                                              	
       
   179 #define UICC_CARD_STATUS_GET                              	0xC5                                              	
       
   180 #define UICC_SIMLOCK_ACTIVE                               	0xD0                                              	
       
   181 
       
   182 //ConstantTable for UICC_REFRESH_STATUS_TABLE
       
   183 #define UICC_REFRESH_OK                                   	0x01                                                 	
       
   184 #define UICC_REFRESH_NOT_OK                               	0x02                                                 	
       
   185 #define UICC_REFRESH_DONE                                 	0x03                                                 	
       
   186 
       
   187 //ConstantTable for UICC_SIMLOCK_STATUS_TABLE
       
   188 #define UICC_SIMLOCK_STATUS_ACTIVE                        	0x01                                                 	
       
   189 #define UICC_SIMLOCK_STATUS_INACTIVE                      	0x02                                                 	
       
   190 
       
   191 
       
   192 //SUBBLOCKS
       
   193 
       
   194 
       
   195 //Definition for UICC_SB_CARD_STATUS
       
   196 #define UICC_SB_CARD_STATUS                               	0x01                                                 	
       
   197 #define UICC_SB_CARD_STATUS_OFFSET_SBID                   	0 //size 2 byte(s)
       
   198 #define UICC_SB_CARD_STATUS_OFFSET_SBLEN                  	2 //size 2 byte(s)
       
   199 #define UICC_SB_CARD_STATUS_OFFSET_FILLERBYTE1            	4 //size 3 byte(s)
       
   200 #define UICC_SB_CARD_STATUS_OFFSET_CARDSTATUS             	7 //size 1 byte(s)
       
   201 #define SIZE_UICC_SB_CARD_STATUS                          	8
       
   202 
       
   203 
       
   204 //Definition for UICC_SB_CLIENT
       
   205 #define UICC_SB_CLIENT                                    	0x1F                                              	
       
   206 #define UICC_SB_CLIENT_OFFSET_SBID                        	0 //size 2 byte(s)
       
   207 #define UICC_SB_CLIENT_OFFSET_SBLEN                       	2 //size 2 byte(s)
       
   208 #define UICC_SB_CLIENT_OFFSET_FILLERBYTE1                 	4 //size 3 byte(s)
       
   209 #define UICC_SB_CLIENT_OFFSET_CLIENTID                    	7 //size 1 byte(s)
       
   210 #define SIZE_UICC_SB_CLIENT                               	8
       
   211 
       
   212 
       
   213 //Definition for UICC_SB_APPL_DATA_OBJECT
       
   214 #define UICC_SB_APPL_DATA_OBJECT                          	0x02                                                 	
       
   215 #define UICC_SB_APPL_DATA_OBJECT_OFFSET_SBID              	0 //size 2 byte(s)
       
   216 #define UICC_SB_APPL_DATA_OBJECT_OFFSET_SBLEN             	2 //size 2 byte(s)
       
   217 #define UICC_SB_APPL_DATA_OBJECT_OFFSET_FILLERBYTE1       	4 //size 2 byte(s)
       
   218 #define UICC_SB_APPL_DATA_OBJECT_OFFSET_APPLICATIONTYPE   	6 //size 1 byte(s)
       
   219 #define UICC_SB_APPL_DATA_OBJECT_OFFSET_APPLID            	7 //size 1 byte(s)
       
   220 #define UICC_SB_APPL_DATA_OBJECT_OFFSET_APPLSTATUS        	8 //size 1 byte(s)
       
   221 #define UICC_SB_APPL_DATA_OBJECT_OFFSET_APPLDOLEN         	9 //size 1 byte(s)
       
   222 #define UICC_SB_APPL_DATA_OBJECT_OFFSET_APPLDO            	10 //size 1 byte(s)
       
   223 #define UICC_SB_APPL_DATA_OBJECT_OFFSET_FILLERBYTE2       	11 //size 1 byte(s)
       
   224 #define SIZE_UICC_SB_APPL_DATA_OBJECT                     	12
       
   225 //NOTE: Definition contains variable size field(s). SIZE_ and offsets following variable field cannot be defined correctly.
       
   226 //NOTE: Definition contains array(s) or sequence(s). SIZE_ and offsets following array or sequence might be defined incorrectly.
       
   227 
       
   228 
       
   229 //Definition for UICC_SB_APPLICATION
       
   230 #define UICC_SB_APPLICATION                               	0x03                                                 	
       
   231 #define UICC_SB_APPLICATION_OFFSET_SBID                   	0 //size 2 byte(s)
       
   232 #define UICC_SB_APPLICATION_OFFSET_SBLEN                  	2 //size 2 byte(s)
       
   233 #define UICC_SB_APPLICATION_OFFSET_FILLERBYTE1            	4 //size 2 byte(s)
       
   234 #define UICC_SB_APPLICATION_OFFSET_APPLICATIONTYPE        	6 //size 1 byte(s)
       
   235 #define UICC_SB_APPLICATION_OFFSET_APPLID                 	7 //size 1 byte(s)
       
   236 #define SIZE_UICC_SB_APPLICATION                          	8
       
   237 
       
   238 
       
   239 //Definition for UICC_SB_APPL_INFO
       
   240 #define UICC_SB_APPL_INFO                                 	0x04                                                 	
       
   241 #define UICC_SB_APPL_INFO_OFFSET_SBID                     	0 //size 2 byte(s)
       
   242 #define UICC_SB_APPL_INFO_OFFSET_SBLEN                    	2 //size 2 byte(s)
       
   243 #define UICC_SB_APPL_INFO_OFFSET_FILLERBYTE1              	4 //size 3 byte(s)
       
   244 #define UICC_SB_APPL_INFO_OFFSET_STRATUPTYPE              	7 //size 1 byte(s)
       
   245 #define SIZE_UICC_SB_APPL_INFO                            	8
       
   246 
       
   247 
       
   248 //Definition for UICC_SB_APPL_STATUS
       
   249 #define UICC_SB_APPL_STATUS                               	0x05                                                 	
       
   250 #define UICC_SB_APPL_STATUS_OFFSET_SBID                   	0 //size 2 byte(s)
       
   251 #define UICC_SB_APPL_STATUS_OFFSET_SBLEN                  	2 //size 2 byte(s)
       
   252 #define UICC_SB_APPL_STATUS_OFFSET_FILLERBYTE1            	4 //size 3 byte(s)
       
   253 #define UICC_SB_APPL_STATUS_OFFSET_APPLSTATUS             	7 //size 1 byte(s)
       
   254 #define SIZE_UICC_SB_APPL_STATUS                          	8
       
   255 
       
   256 
       
   257 //Definition for UICC_SB_FCI
       
   258 #define UICC_SB_FCI                                       	0x1C                                              	
       
   259 #define UICC_SB_FCI_OFFSET_SBID                           	0 //size 2 byte(s)
       
   260 #define UICC_SB_FCI_OFFSET_SBLEN                          	2 //size 2 byte(s)
       
   261 #define UICC_SB_FCI_OFFSET_FCILENGTH                      	4 //size 2 byte(s)
       
   262 #define UICC_SB_FCI_OFFSET_CARDTYPE                       	6 //size 1 byte(s)
       
   263 #define UICC_SB_FCI_OFFSET_FILLERBYTE1                    	7 //size 1 byte(s)
       
   264 #define UICC_SB_FCI_OFFSET_FCI                            	8 //size 1 byte(s)
       
   265 #define UICC_SB_FCI_OFFSET_FILLERBYTE2                    	9 //size 1 byte(s)
       
   266 #define UICC_SB_FCI_OFFSET_FILLERBYTE3                    	10 //size 1 byte(s)
       
   267 #define UICC_SB_FCI_OFFSET_FILLERBYTE4                    	11 //size 1 byte(s)
       
   268 #define SIZE_UICC_SB_FCI                                  	12
       
   269 //NOTE: Definition contains variable size field(s). SIZE_ and offsets following variable field cannot be defined correctly.
       
   270 //NOTE: Definition contains array(s) or sequence(s). SIZE_ and offsets following array or sequence might be defined incorrectly.
       
   271 
       
   272 
       
   273 //Definition for UICC_SB_CHV
       
   274 #define UICC_SB_CHV                                       	0x1B                                              	
       
   275 #define UICC_SB_CHV_OFFSET_SBID                           	0 //size 2 byte(s)
       
   276 #define UICC_SB_CHV_OFFSET_SBLEN                          	2 //size 2 byte(s)
       
   277 #define UICC_SB_CHV_OFFSET_CHVQUALIFIER                   	4 //size 1 byte(s)
       
   278 #define UICC_SB_CHV_OFFSET_PINID                          	5 //size 1 byte(s)
       
   279 #define UICC_SB_CHV_OFFSET_FILLERBYTE1                    	6 //size 2 byte(s)
       
   280 #define SIZE_UICC_SB_CHV                                  	8
       
   281 
       
   282 
       
   283 //Definition for UICC_SB_PIN
       
   284 #define UICC_SB_PIN                                       	0x08                                                 	
       
   285 #define UICC_SB_PIN_OFFSET_SBID                           	0 //size 2 byte(s)
       
   286 #define UICC_SB_PIN_OFFSET_SBLEN                          	2 //size 2 byte(s)
       
   287 #define UICC_SB_PIN_OFFSET_PINID                          	4 //size 1 byte(s)
       
   288 #define UICC_SB_PIN_OFFSET_PINQUALIFIER                   	5 //size 1 byte(s)
       
   289 #define UICC_SB_PIN_OFFSET_FILLERBYTE1                    	6 //size 1 byte(s)
       
   290 #define UICC_SB_PIN_OFFSET_LENGTH                         	7 //size 1 byte(s)
       
   291 #define UICC_SB_PIN_OFFSET_PINCODE                        	8 //size 1 byte(s)
       
   292 #define UICC_SB_PIN_OFFSET_FILLERBYTE2                    	9 //size 1 byte(s)
       
   293 #define UICC_SB_PIN_OFFSET_FILLERBYTE3                    	10 //size 1 byte(s)
       
   294 #define UICC_SB_PIN_OFFSET_FILLERBYTE4                    	11 //size 1 byte(s)
       
   295 #define SIZE_UICC_SB_PIN                                  	12
       
   296 //NOTE: Definition contains variable size field(s). SIZE_ and offsets following variable field cannot be defined correctly.
       
   297 
       
   298 
       
   299 //Definition for UICC_SB_PIN_REF
       
   300 #define UICC_SB_PIN_REF                                   	0x09                                                 	
       
   301 #define UICC_SB_PIN_REF_OFFSET_SBID                       	0 //size 2 byte(s)
       
   302 #define UICC_SB_PIN_REF_OFFSET_SBLEN                      	2 //size 2 byte(s)
       
   303 #define UICC_SB_PIN_REF_OFFSET_PINID                      	4 //size 1 byte(s)
       
   304 #define UICC_SB_PIN_REF_OFFSET_FILLERBYTE1                	5 //size 3 byte(s)
       
   305 #define SIZE_UICC_SB_PIN_REF                              	8
       
   306 
       
   307 
       
   308 //Definition for UICC_SB_PUK
       
   309 #define UICC_SB_PUK                                       	0x0A                                                 	
       
   310 #define UICC_SB_PUK_OFFSET_SBID                           	0 //size 2 byte(s)
       
   311 #define UICC_SB_PUK_OFFSET_SBLEN                          	2 //size 2 byte(s)
       
   312 #define UICC_SB_PUK_OFFSET_PINID                          	4 //size 1 byte(s)
       
   313 #define UICC_SB_PUK_OFFSET_FILLERBYTE1                    	5 //size 2 byte(s)
       
   314 #define UICC_SB_PUK_OFFSET_PUKLENGTH                      	7 //size 1 byte(s)
       
   315 #define UICC_SB_PUK_OFFSET_PUKCODE                        	8 //size 1 byte(s)
       
   316 #define UICC_SB_PUK_OFFSET_FILLERBYTE2                    	9 //size 1 byte(s)
       
   317 #define UICC_SB_PUK_OFFSET_FILLERBYTE3                    	10 //size 1 byte(s)
       
   318 #define UICC_SB_PUK_OFFSET_FILLERBYTE4                    	11 //size 1 byte(s)
       
   319 #define SIZE_UICC_SB_PUK                                  	12
       
   320 //NOTE: Definition contains variable size field(s). SIZE_ and offsets following variable field cannot be defined correctly.
       
   321 
       
   322 
       
   323 //Definition for UICC_SB_PIN_SUBST
       
   324 #define UICC_SB_PIN_SUBST                                 	0x0B                                                 	
       
   325 #define UICC_SB_PIN_SUBST_OFFSET_SBID                     	0 //size 2 byte(s)
       
   326 #define UICC_SB_PIN_SUBST_OFFSET_SBLEN                    	2 //size 2 byte(s)
       
   327 #define UICC_SB_PIN_SUBST_OFFSET_PINID1                   	4 //size 1 byte(s)
       
   328 #define UICC_SB_PIN_SUBST_OFFSET_PINID2                   	5 //size 1 byte(s)
       
   329 #define UICC_SB_PIN_SUBST_OFFSET_FILLERBYTE1              	6 //size 2 byte(s)
       
   330 #define SIZE_UICC_SB_PIN_SUBST                            	8
       
   331 
       
   332 
       
   333 //Definition for UICC_SB_PIN_INFO
       
   334 #define UICC_SB_PIN_INFO                                  	0x0C                                                 	
       
   335 #define UICC_SB_PIN_INFO_OFFSET_SBID                      	0 //size 2 byte(s)
       
   336 #define UICC_SB_PIN_INFO_OFFSET_SBLEN                     	2 //size 2 byte(s)
       
   337 #define UICC_SB_PIN_INFO_OFFSET_PINSTATUS                 	4 //size 1 byte(s)
       
   338 #define UICC_SB_PIN_INFO_OFFSET_PINATT                    	5 //size 1 byte(s)
       
   339 #define UICC_SB_PIN_INFO_OFFSET_PUKATT                    	6 //size 1 byte(s)
       
   340 #define UICC_SB_PIN_INFO_OFFSET_FILLERBYTE1               	7 //size 1 byte(s)
       
   341 #define SIZE_UICC_SB_PIN_INFO                             	8
       
   342 
       
   343 
       
   344 //Definition for UICC_SB_APPL_PATH
       
   345 #define UICC_SB_APPL_PATH                                 	0x0D                                                 	
       
   346 #define UICC_SB_APPL_PATH_OFFSET_SBID                     	0 //size 2 byte(s)
       
   347 #define UICC_SB_APPL_PATH_OFFSET_SBLEN                    	2 //size 2 byte(s)
       
   348 #define UICC_SB_APPL_PATH_OFFSET_EF                       	4 //size 2 byte(s)
       
   349 #define UICC_SB_APPL_PATH_OFFSET_SFI                      	6 //size 1 byte(s)
       
   350 #define UICC_SB_APPL_PATH_OFFSET_FILLERBYTE1              	7 //size 1 byte(s)
       
   351 #define UICC_SB_APPL_PATH_OFFSET_PATHLENGTH               	8 //size 1 byte(s)
       
   352 #define UICC_SB_APPL_PATH_OFFSET_FILLERBYTE2              	9 //size 1 byte(s)
       
   353 #define UICC_SB_APPL_PATH_OFFSET_PATH                     	10 //size 1 byte(s)
       
   354 #define UICC_SB_APPL_PATH_OFFSET_FILLERBYTE3              	11 //size 1 byte(s)
       
   355 #define SIZE_UICC_SB_APPL_PATH                            	12
       
   356 //NOTE: Definition contains variable size field(s). SIZE_ and offsets following variable field cannot be defined correctly.
       
   357 //NOTE: Definition contains array(s) or sequence(s). SIZE_ and offsets following array or sequence might be defined incorrectly.
       
   358 
       
   359 
       
   360 //Definition for UICC_SB_SESSION
       
   361 #define UICC_SB_SESSION                                   	0x0E                                                 	
       
   362 #define UICC_SB_SESSION_OFFSET_SBID                       	0 //size 2 byte(s)
       
   363 #define UICC_SB_SESSION_OFFSET_SBLEN                      	2 //size 2 byte(s)
       
   364 #define UICC_SB_SESSION_OFFSET_FILLERBYTE1                	4 //size 3 byte(s)
       
   365 #define UICC_SB_SESSION_OFFSET_SESSIONID                  	7 //size 1 byte(s)
       
   366 #define SIZE_UICC_SB_SESSION                              	8
       
   367 
       
   368 
       
   369 //Definition for UICC_SB_FILE_DATA
       
   370 #define UICC_SB_FILE_DATA                                 	0x0F                                                 	
       
   371 #define UICC_SB_FILE_DATA_OFFSET_SBID                     	0 //size 2 byte(s)
       
   372 #define UICC_SB_FILE_DATA_OFFSET_SBLEN                    	2 //size 2 byte(s)
       
   373 #define UICC_SB_FILE_DATA_OFFSET_DATALENGTH               	4 //size 4 byte(s)
       
   374 #define UICC_SB_FILE_DATA_OFFSET_DATA                     	8 //size 1 byte(s)
       
   375 #define UICC_SB_FILE_DATA_OFFSET_FILLERBYTE1              	9 //size 1 byte(s)
       
   376 #define UICC_SB_FILE_DATA_OFFSET_FILLERBYTE2              	10 //size 1 byte(s)
       
   377 #define UICC_SB_FILE_DATA_OFFSET_FILLERBYTE3              	11 //size 1 byte(s)
       
   378 #define SIZE_UICC_SB_FILE_DATA                            	12
       
   379 //NOTE: Definition contains variable size field(s). SIZE_ and offsets following variable field cannot be defined correctly.
       
   380 //NOTE: Definition contains array(s) or sequence(s). SIZE_ and offsets following array or sequence might be defined incorrectly.
       
   381 
       
   382 
       
   383 //Definition for UICC_SB_APDU
       
   384 #define UICC_SB_APDU                                      	0x14                                              	
       
   385 #define UICC_SB_APDU_OFFSET_SBID                          	0 //size 2 byte(s)
       
   386 #define UICC_SB_APDU_OFFSET_SBLEN                         	2 //size 2 byte(s)
       
   387 #define UICC_SB_APDU_OFFSET_CMDFORCE                      	4 //size 1 byte(s)
       
   388 #define UICC_SB_APDU_OFFSET_FILLERBYTE1                   	5 //size 1 byte(s)
       
   389 #define UICC_SB_APDU_OFFSET_APDULENGTH                    	6 //size 2 byte(s)
       
   390 #define UICC_SB_APDU_OFFSET_APDU                          	8 //size 1 byte(s)
       
   391 #define UICC_SB_APDU_OFFSET_FILLERBYTE2                   	9 //size 1 byte(s)
       
   392 #define UICC_SB_APDU_OFFSET_FILLERBYTE3                   	10 //size 1 byte(s)
       
   393 #define UICC_SB_APDU_OFFSET_FILLERBYTE4                   	11 //size 1 byte(s)
       
   394 #define SIZE_UICC_SB_APDU                                 	12
       
   395 //NOTE: Definition contains variable size field(s). SIZE_ and offsets following variable field cannot be defined correctly.
       
   396 //NOTE: Definition contains array(s) or sequence(s). SIZE_ and offsets following array or sequence might be defined incorrectly.
       
   397 
       
   398 
       
   399 //Definition for UICC_SB_TRANSPARENT
       
   400 #define UICC_SB_TRANSPARENT                               	0x12                                              	
       
   401 #define UICC_SB_TRANSPARENT_OFFSET_SBID                   	0 //size 2 byte(s)
       
   402 #define UICC_SB_TRANSPARENT_OFFSET_SBLEN                  	2 //size 2 byte(s)
       
   403 #define UICC_SB_TRANSPARENT_OFFSET_OFFSET                 	4 //size 2 byte(s)
       
   404 #define UICC_SB_TRANSPARENT_OFFSET_AMOUNT                 	6 //size 2 byte(s)
       
   405 #define SIZE_UICC_SB_TRANSPARENT                          	8
       
   406 
       
   407 
       
   408 //Definition for UICC_SB_LINEAR_FIXED
       
   409 #define UICC_SB_LINEAR_FIXED                              	0x13                                              	
       
   410 #define UICC_SB_LINEAR_FIXED_OFFSET_SBID                  	0 //size 2 byte(s)
       
   411 #define UICC_SB_LINEAR_FIXED_OFFSET_SBLEN                 	2 //size 2 byte(s)
       
   412 #define UICC_SB_LINEAR_FIXED_OFFSET_RECORD                	4 //size 1 byte(s)
       
   413 #define UICC_SB_LINEAR_FIXED_OFFSET_OFFSET                	5 //size 1 byte(s)
       
   414 #define UICC_SB_LINEAR_FIXED_OFFSET_AMOUNT                	6 //size 1 byte(s)
       
   415 #define UICC_SB_LINEAR_FIXED_OFFSET_FILLERBYTE1           	7 //size 1 byte(s)
       
   416 #define SIZE_UICC_SB_LINEAR_FIXED                         	8
       
   417 
       
   418 
       
   419 //Definition for UICC_SB_TERMINAL_PROFILE
       
   420 #define UICC_SB_TERMINAL_PROFILE                          	0x15                                              	
       
   421 #define UICC_SB_TERMINAL_PROFILE_OFFSET_SBID              	0 //size 2 byte(s)
       
   422 #define UICC_SB_TERMINAL_PROFILE_OFFSET_SBLEN             	2 //size 2 byte(s)
       
   423 #define UICC_SB_TERMINAL_PROFILE_OFFSET_FILLERBYTE1       	4 //size 2 byte(s)
       
   424 #define UICC_SB_TERMINAL_PROFILE_OFFSET_TPLENGTH          	6 //size 2 byte(s)
       
   425 #define UICC_SB_TERMINAL_PROFILE_OFFSET_TP                	8 //size 1 byte(s)
       
   426 #define UICC_SB_TERMINAL_PROFILE_OFFSET_FILLERBYTE2       	9 //size 1 byte(s)
       
   427 #define UICC_SB_TERMINAL_PROFILE_OFFSET_FILLERBYTE3       	10 //size 1 byte(s)
       
   428 #define UICC_SB_TERMINAL_PROFILE_OFFSET_FILLERBYTE4       	11 //size 1 byte(s)
       
   429 #define SIZE_UICC_SB_TERMINAL_PROFILE                     	12
       
   430 //NOTE: Definition contains variable size field(s). SIZE_ and offsets following variable field cannot be defined correctly.
       
   431 //NOTE: Definition contains array(s) or sequence(s). SIZE_ and offsets following array or sequence might be defined incorrectly.
       
   432 
       
   433 
       
   434 //Definition for UICC_SB_TERMINAL_SUPPORT_TABLE
       
   435 #define UICC_SB_TERMINAL_SUPPORT_TABLE                    	0x1E                                              	
       
   436 #define UICC_SB_TERMINAL_SUPPORT_TABLE_OFFSET_SBID        	0 //size 2 byte(s)
       
   437 #define UICC_SB_TERMINAL_SUPPORT_TABLE_OFFSET_SBLEN       	2 //size 2 byte(s)
       
   438 #define UICC_SB_TERMINAL_SUPPORT_TABLE_OFFSET_FILLERBYTE1 	4 //size 3 byte(s)
       
   439 #define UICC_SB_TERMINAL_SUPPORT_TABLE_OFFSET_NSB         	7 //size 1 byte(s)
       
   440 #define SIZE_UICC_SB_TERMINAL_SUPPORT_TABLE               	8
       
   441 
       
   442 
       
   443 //Definition for UICC_SB_TERMINAL_RESPONSE
       
   444 #define UICC_SB_TERMINAL_RESPONSE                         	0x1D                                              	
       
   445 #define UICC_SB_TERMINAL_RESPONSE_OFFSET_SBID             	0 //size 2 byte(s)
       
   446 #define UICC_SB_TERMINAL_RESPONSE_OFFSET_SBLEN            	2 //size 2 byte(s)
       
   447 #define UICC_SB_TERMINAL_RESPONSE_OFFSET_FILLERBYTE1      	4 //size 2 byte(s)
       
   448 #define UICC_SB_TERMINAL_RESPONSE_OFFSET_TRLENGTH         	6 //size 2 byte(s)
       
   449 #define UICC_SB_TERMINAL_RESPONSE_OFFSET_TR               	8 //size 1 byte(s)
       
   450 #define UICC_SB_TERMINAL_RESPONSE_OFFSET_FILLERBYTE2      	9 //size 1 byte(s)
       
   451 #define UICC_SB_TERMINAL_RESPONSE_OFFSET_FILLERBYTE3      	10 //size 1 byte(s)
       
   452 #define UICC_SB_TERMINAL_RESPONSE_OFFSET_FILLERBYTE4      	11 //size 1 byte(s)
       
   453 #define SIZE_UICC_SB_TERMINAL_RESPONSE                    	12
       
   454 //NOTE: Definition contains variable size field(s). SIZE_ and offsets following variable field cannot be defined correctly.
       
   455 //NOTE: Definition contains array(s) or sequence(s). SIZE_ and offsets following array or sequence might be defined incorrectly.
       
   456 
       
   457 
       
   458 //Definition for UICC_SB_POLLING_SET
       
   459 #define UICC_SB_POLLING_SET                               	0x16                                              	
       
   460 #define UICC_SB_POLLING_SET_OFFSET_SBID                   	0 //size 2 byte(s)
       
   461 #define UICC_SB_POLLING_SET_OFFSET_SBLEN                  	2 //size 2 byte(s)
       
   462 #define UICC_SB_POLLING_SET_OFFSET_POLLINT                	4 //size 2 byte(s)
       
   463 #define UICC_SB_POLLING_SET_OFFSET_FILLERBYTE1            	6 //size 2 byte(s)
       
   464 #define SIZE_UICC_SB_POLLING_SET                          	8
       
   465 
       
   466 
       
   467 //Definition for UICC_SB_REFRESH
       
   468 #define UICC_SB_REFRESH                                   	0x17                                              	
       
   469 #define UICC_SB_REFRESH_OFFSET_SBID                       	0 //size 2 byte(s)
       
   470 #define UICC_SB_REFRESH_OFFSET_SBLEN                      	2 //size 2 byte(s)
       
   471 #define UICC_SB_REFRESH_OFFSET_TYPE                       	4 //size 1 byte(s)
       
   472 #define UICC_SB_REFRESH_OFFSET_FILLERBYTE1                	5 //size 3 byte(s)
       
   473 #define SIZE_UICC_SB_REFRESH                              	8
       
   474 
       
   475 
       
   476 //Definition for UICC_SB_AID
       
   477 #define UICC_SB_AID                                       	0x06                                                 	
       
   478 #define UICC_SB_AID_OFFSET_SBID                           	0 //size 2 byte(s)
       
   479 #define UICC_SB_AID_OFFSET_SBLEN                          	2 //size 2 byte(s)
       
   480 #define UICC_SB_AID_OFFSET_STRLEN                         	4 //size 1 byte(s)
       
   481 #define UICC_SB_AID_OFFSET_STR                            	5 //size 1 byte(s)
       
   482 #define UICC_SB_AID_OFFSET_FILLERBYTE1                    	6 //size 1 byte(s)
       
   483 #define UICC_SB_AID_OFFSET_FILLERBYTE2                    	7 //size 1 byte(s)
       
   484 #define SIZE_UICC_SB_AID                                  	8
       
   485 //NOTE: Definition contains variable size field(s). SIZE_ and offsets following variable field cannot be defined correctly.
       
   486 //NOTE: Definition contains array(s) or sequence(s). SIZE_ and offsets following array or sequence might be defined incorrectly.
       
   487 
       
   488 
       
   489 //Definition for UICC_SB_REFRESH_RESULT
       
   490 #define UICC_SB_REFRESH_RESULT                            	0x18                                              	
       
   491 #define UICC_SB_REFRESH_RESULT_OFFSET_SBID                	0 //size 2 byte(s)
       
   492 #define UICC_SB_REFRESH_RESULT_OFFSET_SBLEN               	2 //size 2 byte(s)
       
   493 #define UICC_SB_REFRESH_RESULT_OFFSET_REFRESHSTATUS       	4 //size 1 byte(s)
       
   494 #define UICC_SB_REFRESH_RESULT_OFFSET_FILLERBYTE1         	5 //size 3 byte(s)
       
   495 #define SIZE_UICC_SB_REFRESH_RESULT                       	8
       
   496 
       
   497 
       
   498 //Definition for UICC_SB_APDU_ACTIONS
       
   499 #define UICC_SB_APDU_ACTIONS                              	0x19                                              	
       
   500 #define UICC_SB_APDU_ACTIONS_OFFSET_SBID                  	0 //size 2 byte(s)
       
   501 #define UICC_SB_APDU_ACTIONS_OFFSET_SBLEN                 	2 //size 2 byte(s)
       
   502 #define UICC_SB_APDU_ACTIONS_OFFSET_ACTION                	4 //size 1 byte(s)
       
   503 #define UICC_SB_APDU_ACTIONS_OFFSET_FILLERBYTE1           	5 //size 3 byte(s)
       
   504 #define SIZE_UICC_SB_APDU_ACTIONS                         	8
       
   505 
       
   506 #define UICC_SB_STATUS_WORD                                 0x0020
       
   507 #define UICC_SB_STATUS_WORD_OFFSET_SW1                    	6 //size 1 byte(s)
       
   508 #define UICC_SB_STATUS_WORD_OFFSET_SW2                    	7 //size 1 byte(s)
       
   509 
       
   510 //Definition for UICC_SB_OBJECT_ID
       
   511 #define UICC_SB_OBJECT_ID                                 	0x1A                                              	
       
   512 #define UICC_SB_OBJECT_ID_OFFSET_SBID                     	0 //size 2 byte(s)
       
   513 #define UICC_SB_OBJECT_ID_OFFSET_SBLEN                    	2 //size 2 byte(s)
       
   514 #define UICC_SB_OBJECT_ID_OFFSET_OBJID                    	4 //size 2 byte(s)
       
   515 #define UICC_SB_OBJECT_ID_OFFSET_DEVICEID                 	6 //size 1 byte(s)
       
   516 #define UICC_SB_OBJECT_ID_OFFSET_FILLERBYTE1              	7 //size 1 byte(s)
       
   517 #define SIZE_UICC_SB_OBJECT_ID                            	8
       
   518 
       
   519 
       
   520 //MESSAGES
       
   521 
       
   522 
       
   523 //Definition for UICC_REQ
       
   524 #define UICC_REQ                                          	0x00                                                 	
       
   525 #define UICC_REQ_OFFSET_TRANSID                           	0 //size 1 byte(s)
       
   526 #define UICC_REQ_OFFSET_MESSAGEID                         	1 //size 1 byte(s)
       
   527 #define UICC_REQ_OFFSET_SERVICETYPE                       	2 //size 1 byte(s)
       
   528 #define SIZE_UICC_REQ                                     	3
       
   529 
       
   530 
       
   531 //Definition for UICC_RESP
       
   532 #define UICC_RESP                                         	0x01                                                 	
       
   533 #define UICC_RESP_OFFSET_TRANSID                          	0 //size 1 byte(s)
       
   534 #define UICC_RESP_OFFSET_MESSAGEID                        	1 //size 1 byte(s)
       
   535 #define UICC_RESP_OFFSET_SERVICETYPE                      	2 //size 1 byte(s)
       
   536 #define UICC_RESP_OFFSET_STATUS                           	3 //size 1 byte(s)
       
   537 #define UICC_RESP_OFFSET_DETAILS                          	4 //size 1 byte(s)
       
   538 #define UICC_RESP_OFFSET_SERVERSTATUS                     	5 //size 1 byte(s)
       
   539 #define UICC_RESP_OFFSET_FILLERBYTE1                      	6 //size 2 byte(s)
       
   540 #define SIZE_UICC_RESP                                    	8
       
   541 
       
   542 
       
   543 //Definition for UICC_CARD_REQ
       
   544 #define UICC_CARD_REQ                                     	0x03                                                 	
       
   545 #define UICC_CARD_REQ_OFFSET_TRANSID                      	0 //size 1 byte(s)
       
   546 #define UICC_CARD_REQ_OFFSET_MESSAGEID                    	1 //size 1 byte(s)
       
   547 #define UICC_CARD_REQ_OFFSET_SERVICETYPE                  	2 //size 1 byte(s)
       
   548 #define UICC_CARD_REQ_OFFSET_CARDTYPE                     	3 //size 1 byte(s)
       
   549 #define SIZE_UICC_CARD_REQ                                	4
       
   550 
       
   551 
       
   552 //Definition for UICC_CARD_RESP
       
   553 #define UICC_CARD_RESP                                    	0x04                                                 	
       
   554 #define UICC_CARD_RESP_OFFSET_TRANSID                     	0 //size 1 byte(s)
       
   555 #define UICC_CARD_RESP_OFFSET_MESSAGEID                   	1 //size 1 byte(s)
       
   556 #define UICC_CARD_RESP_OFFSET_SERVICETYPE                 	2 //size 1 byte(s)
       
   557 #define UICC_CARD_RESP_OFFSET_STATUS                      	3 //size 1 byte(s)
       
   558 #define UICC_CARD_RESP_OFFSET_DETAILS                     	4 //size 1 byte(s)
       
   559 #define UICC_CARD_RESP_OFFSET_FILLERBYTE1                 	5 //size 1 byte(s)
       
   560 #define UICC_CARD_RESP_OFFSET_CARDTYPE                    	6 //size 1 byte(s)
       
   561 #define UICC_CARD_RESP_OFFSET_NSB                         	7 //size 1 byte(s)
       
   562 #define SIZE_UICC_CARD_RESP                               	8
       
   563 
       
   564 
       
   565 //Definition for UICC_APPLICATION_REQ
       
   566 #define UICC_APPLICATION_REQ                              	0x06                                                 	
       
   567 #define UICC_APPLICATION_REQ_OFFSET_TRANSID               	0 //size 1 byte(s)
       
   568 #define UICC_APPLICATION_REQ_OFFSET_MESSAGEID             	1 //size 1 byte(s)
       
   569 #define UICC_APPLICATION_REQ_OFFSET_SERVICETYPE           	2 //size 1 byte(s)
       
   570 #define UICC_APPLICATION_REQ_OFFSET_NSB                   	3 //size 1 byte(s)
       
   571 #define SIZE_UICC_APPLICATION_REQ                         	4
       
   572 
       
   573 
       
   574 //Definition for UICC_APPLICATION_RESP
       
   575 #define UICC_APPLICATION_RESP                             	0x07                                                 	
       
   576 #define UICC_APPLICATION_RESP_OFFSET_TRANSID              	0 //size 1 byte(s)
       
   577 #define UICC_APPLICATION_RESP_OFFSET_MESSAGEID            	1 //size 1 byte(s)
       
   578 #define UICC_APPLICATION_RESP_OFFSET_SERVICETYPE          	2 //size 1 byte(s)
       
   579 #define UICC_APPLICATION_RESP_OFFSET_STATUS               	3 //size 1 byte(s)
       
   580 #define UICC_APPLICATION_RESP_OFFSET_DETAILS              	4 //size 1 byte(s)
       
   581 #define UICC_APPLICATION_RESP_OFFSET_FILLERBYTE1          	5 //size 1 byte(s)
       
   582 #define UICC_APPLICATION_RESP_OFFSET_CARDTYPE             	6 //size 1 byte(s)
       
   583 #define UICC_APPLICATION_RESP_OFFSET_NSB                  	7 //size 1 byte(s)
       
   584 #define SIZE_UICC_APPLICATION_RESP                        	8
       
   585 
       
   586 
       
   587 //Definition for UICC_PIN_REQ
       
   588 #define UICC_PIN_REQ                                      	0x09                                                 	
       
   589 #define UICC_PIN_REQ_OFFSET_TRANSID                       	0 //size 1 byte(s)
       
   590 #define UICC_PIN_REQ_OFFSET_MESSAGEID                     	1 //size 1 byte(s)
       
   591 #define UICC_PIN_REQ_OFFSET_SERVICETYPE                   	2 //size 1 byte(s)
       
   592 #define UICC_PIN_REQ_OFFSET_APPLID                        	3 //size 1 byte(s)
       
   593 #define UICC_PIN_REQ_OFFSET_FILLERBYTE1                   	4 //size 3 byte(s)
       
   594 #define UICC_PIN_REQ_OFFSET_NSB                           	7 //size 1 byte(s)
       
   595 #define SIZE_UICC_PIN_REQ                                 	8
       
   596 
       
   597 
       
   598 //Definition for UICC_PIN_RESP
       
   599 #define UICC_PIN_RESP                                     	0x0A                                                 	
       
   600 #define UICC_PIN_RESP_OFFSET_TRANSID                      	0 //size 1 byte(s)
       
   601 #define UICC_PIN_RESP_OFFSET_MESSAGEID                    	1 //size 1 byte(s)
       
   602 #define UICC_PIN_RESP_OFFSET_SERVICETYPE                  	2 //size 1 byte(s)
       
   603 #define UICC_PIN_RESP_OFFSET_STATUS                       	3 //size 1 byte(s)
       
   604 #define UICC_PIN_RESP_OFFSET_DETAILS                      	4 //size 1 byte(s)
       
   605 #define UICC_PIN_RESP_OFFSET_FILLERBYTE1                  	5 //size 1 byte(s)
       
   606 #define UICC_PIN_RESP_OFFSET_CARDTYPE                     	6 //size 1 byte(s)
       
   607 #define UICC_PIN_RESP_OFFSET_NSB                          	7 //size 1 byte(s)
       
   608 #define SIZE_UICC_PIN_RESP                                	8
       
   609 
       
   610 
       
   611 //Definition for UICC_APPL_CMD_REQ
       
   612 #define UICC_APPL_CMD_REQ                                 	0x0C                                                 	
       
   613 #define UICC_APPL_CMD_REQ_OFFSET_TRANSID                  	0 //size 1 byte(s)
       
   614 #define UICC_APPL_CMD_REQ_OFFSET_MESSAGEID                	1 //size 1 byte(s)
       
   615 #define UICC_APPL_CMD_REQ_OFFSET_SERVICETYPE              	2 //size 1 byte(s)
       
   616 #define UICC_APPL_CMD_REQ_OFFSET_APPLID                   	3 //size 1 byte(s)
       
   617 #define UICC_APPL_CMD_REQ_OFFSET_SESSIONID                	4 //size 1 byte(s)
       
   618 #define UICC_APPL_CMD_REQ_OFFSET_FILLERBYTE1              	5 //size 2 byte(s)
       
   619 #define UICC_APPL_CMD_REQ_OFFSET_NSB                      	7 //size 1 byte(s)
       
   620 #define SIZE_UICC_APPL_CMD_REQ                            	8
       
   621 
       
   622 
       
   623 //Definition for UICC_APPL_CMD_RESP
       
   624 #define UICC_APPL_CMD_RESP                                	0x0D                                                 	
       
   625 #define UICC_APPL_CMD_RESP_OFFSET_TRANSID                 	0 //size 1 byte(s)
       
   626 #define UICC_APPL_CMD_RESP_OFFSET_MESSAGEID               	1 //size 1 byte(s)
       
   627 #define UICC_APPL_CMD_RESP_OFFSET_SERVICETYPE             	2 //size 1 byte(s)
       
   628 #define UICC_APPL_CMD_RESP_OFFSET_STATUS                  	3 //size 1 byte(s)
       
   629 #define UICC_APPL_CMD_RESP_OFFSET_DETAILS                 	4 //size 1 byte(s)
       
   630 #define UICC_APPL_CMD_RESP_OFFSET_FILLERBYTE1             	5 //size 1 byte(s)
       
   631 #define UICC_APPL_CMD_RESP_OFFSET_CARDTYPE                	6 //size 1 byte(s)
       
   632 #define UICC_APPL_CMD_RESP_OFFSET_NSB                     	7 //size 1 byte(s)
       
   633 #define SIZE_UICC_APPL_CMD_RESP                           	8
       
   634 
       
   635 
       
   636 //Definition for UICC_CONNECTOR_REQ
       
   637 #define UICC_CONNECTOR_REQ                                	0x0F                                                 	
       
   638 #define UICC_CONNECTOR_REQ_OFFSET_TRANSID                 	0 //size 1 byte(s)
       
   639 #define UICC_CONNECTOR_REQ_OFFSET_MESSAGEID               	1 //size 1 byte(s)
       
   640 #define UICC_CONNECTOR_REQ_OFFSET_SERVICETYPE             	2 //size 1 byte(s)
       
   641 #define UICC_CONNECTOR_REQ_OFFSET_NSB                     	3 //size 1 byte(s)
       
   642 #define SIZE_UICC_CONNECTOR_REQ                           	4
       
   643 
       
   644 
       
   645 //Definition for UICC_CONNECTOR_RESP
       
   646 #define UICC_CONNECTOR_RESP                               	0x10                                              	
       
   647 #define UICC_CONNECTOR_RESP_OFFSET_TRANSID                	0 //size 1 byte(s)
       
   648 #define UICC_CONNECTOR_RESP_OFFSET_MESSAGEID              	1 //size 1 byte(s)
       
   649 #define UICC_CONNECTOR_RESP_OFFSET_SERVICETYPE            	2 //size 1 byte(s)
       
   650 #define UICC_CONNECTOR_RESP_OFFSET_STATUS                 	3 //size 1 byte(s)
       
   651 #define UICC_CONNECTOR_RESP_OFFSET_DETAILS                	4 //size 1 byte(s)
       
   652 #define SIZE_UICC_CONNECTOR_RESP                          	5
       
   653 
       
   654 
       
   655 //Definition for UICC_CAT_REQ
       
   656 #define UICC_CAT_REQ                                      	0x12                                              	
       
   657 #define UICC_CAT_REQ_OFFSET_TRANSID                       	0 //size 1 byte(s)
       
   658 #define UICC_CAT_REQ_OFFSET_MESSAGEID                     	1 //size 1 byte(s)
       
   659 #define UICC_CAT_REQ_OFFSET_SERVICETYPE                   	2 //size 1 byte(s)
       
   660 #define UICC_CAT_REQ_OFFSET_NSB                           	3 //size 1 byte(s)
       
   661 #define SIZE_UICC_CAT_REQ                                 	4
       
   662 
       
   663 
       
   664 //Definition for UICC_CAT_RESP
       
   665 #define UICC_CAT_RESP                                     	0x13                                              	
       
   666 #define UICC_CAT_RESP_OFFSET_TRANSID                      	0 //size 1 byte(s)
       
   667 #define UICC_CAT_RESP_OFFSET_MESSAGEID                    	1 //size 1 byte(s)
       
   668 #define UICC_CAT_RESP_OFFSET_SERVICETYPE                  	2 //size 1 byte(s)
       
   669 #define UICC_CAT_RESP_OFFSET_STATUS                       	3 //size 1 byte(s)
       
   670 #define UICC_CAT_RESP_OFFSET_DETAILS                      	4 //size 1 byte(s)
       
   671 #define UICC_CAT_RESP_OFFSET_FILLERBYTE1                  	5 //size 1 byte(s)
       
   672 #define UICC_CAT_RESP_OFFSET_CARDTYPE                     	6 //size 1 byte(s)
       
   673 #define UICC_CAT_RESP_OFFSET_NSB                          	7 //size 1 byte(s)
       
   674 #define SIZE_UICC_CAT_RESP                                	8
       
   675 
       
   676 
       
   677 //Definition for UICC_APDU_REQ
       
   678 #define UICC_APDU_REQ                                     	0x15                                              	
       
   679 #define UICC_APDU_REQ_OFFSET_TRANSID                      	0 //size 1 byte(s)
       
   680 #define UICC_APDU_REQ_OFFSET_MESSAGEID                    	1 //size 1 byte(s)
       
   681 #define UICC_APDU_REQ_OFFSET_SERVICETYPE                  	2 //size 1 byte(s)
       
   682 #define UICC_APDU_REQ_OFFSET_NSB                          	3 //size 1 byte(s)
       
   683 #define SIZE_UICC_APDU_REQ                                	4
       
   684 
       
   685 
       
   686 //Definition for UICC_APDU_RESP
       
   687 #define UICC_APDU_RESP                                    	0x16                                              	
       
   688 #define UICC_APDU_RESP_OFFSET_TRANSID                     	0 //size 1 byte(s)
       
   689 #define UICC_APDU_RESP_OFFSET_MESSAGEID                   	1 //size 1 byte(s)
       
   690 #define UICC_APDU_RESP_OFFSET_SERVICETYPE                 	2 //size 1 byte(s)
       
   691 #define UICC_APDU_RESP_OFFSET_STATUS                      	3 //size 1 byte(s)
       
   692 #define UICC_APDU_RESP_OFFSET_DETAILS                     	4 //size 1 byte(s)
       
   693 #define UICC_APDU_RESP_OFFSET_FILLERBYTE1                 	5 //size 2 byte(s)
       
   694 #define UICC_APDU_RESP_OFFSET_NSB                         	7 //size 1 byte(s)
       
   695 #define SIZE_UICC_APDU_RESP                               	8
       
   696 
       
   697 
       
   698 //Definition for UICC_REFRESH_REQ
       
   699 #define UICC_REFRESH_REQ                                  	0x18                                              	
       
   700 #define UICC_REFRESH_REQ_OFFSET_TRANSID                   	0 //size 1 byte(s)
       
   701 #define UICC_REFRESH_REQ_OFFSET_MESSAGEID                 	1 //size 1 byte(s)
       
   702 #define UICC_REFRESH_REQ_OFFSET_SERVICETYPE               	2 //size 1 byte(s)
       
   703 #define UICC_REFRESH_REQ_OFFSET_STATUS                    	3 //size 1 byte(s)
       
   704 #define UICC_REFRESH_REQ_OFFSET_CLIENTID                  	4 //size 1 byte(s)
       
   705 #define UICC_REFRESH_REQ_OFFSET_FILLERBYTE1               	5 //size 2 byte(s)
       
   706 #define UICC_REFRESH_REQ_OFFSET_NSB                       	7 //size 1 byte(s)
       
   707 #define SIZE_UICC_REFRESH_REQ                             	8
       
   708 
       
   709 
       
   710 //Definition for UICC_REFRESH_RESP
       
   711 #define UICC_REFRESH_RESP                                 	0x19                                              	
       
   712 #define UICC_REFRESH_RESP_OFFSET_TRANSID                  	0 //size 1 byte(s)
       
   713 #define UICC_REFRESH_RESP_OFFSET_MESSAGEID                	1 //size 1 byte(s)
       
   714 #define UICC_REFRESH_RESP_OFFSET_SERVICETYPE              	2 //size 1 byte(s)
       
   715 #define UICC_REFRESH_RESP_OFFSET_STATUS                   	3 //size 1 byte(s)
       
   716 #define UICC_REFRESH_RESP_OFFSET_DETAILS                  	4 //size 1 byte(s)
       
   717 #define SIZE_UICC_REFRESH_RESP                            	5
       
   718 
       
   719 
       
   720 //Definition for UICC_SIMLOCK_REQ
       
   721 #define UICC_SIMLOCK_REQ                                  	0x1B                                              	
       
   722 #define UICC_SIMLOCK_REQ_OFFSET_TRANSID                   	0 //size 1 byte(s)
       
   723 #define UICC_SIMLOCK_REQ_OFFSET_MESSAGEID                 	1 //size 1 byte(s)
       
   724 #define UICC_SIMLOCK_REQ_OFFSET_SERVICETYPE               	2 //size 1 byte(s)
       
   725 #define SIZE_UICC_SIMLOCK_REQ                             	3
       
   726 
       
   727 
       
   728 //Definition for UICC_SIMLOCK_RESP
       
   729 #define UICC_SIMLOCK_RESP                                 	0x1C                                              	
       
   730 #define UICC_SIMLOCK_RESP_OFFSET_TRANSID                  	0 //size 1 byte(s)
       
   731 #define UICC_SIMLOCK_RESP_OFFSET_MESSAGEID                	1 //size 1 byte(s)
       
   732 #define UICC_SIMLOCK_RESP_OFFSET_SERVICETYPE              	2 //size 1 byte(s)
       
   733 #define UICC_SIMLOCK_RESP_OFFSET_STATUS                   	3 //size 1 byte(s)
       
   734 #define UICC_SIMLOCK_RESP_OFFSET_DETAILS                  	4 //size 1 byte(s)
       
   735 #define UICC_SIMLOCK_RESP_OFFSET_SIMLOCKSTATUS            	5 //size 1 byte(s)
       
   736 #define SIZE_UICC_SIMLOCK_RESP                            	6
       
   737 
       
   738 
       
   739 //Definition for UICC_APPLICATION_IND
       
   740 #define UICC_APPLICATION_IND                              	0x08                                                 	
       
   741 #define UICC_APPLICATION_IND_OFFSET_TRANSID               	0 //size 1 byte(s)
       
   742 #define UICC_APPLICATION_IND_OFFSET_MESSAGEID             	1 //size 1 byte(s)
       
   743 #define UICC_APPLICATION_IND_OFFSET_SERVICETYPE           	2 //size 1 byte(s)
       
   744 #define UICC_APPLICATION_IND_OFFSET_APPLID                	3 //size 1 byte(s)
       
   745 #define UICC_APPLICATION_IND_OFFSET_FILLERBYTE1           	4 //size 3 byte(s)
       
   746 #define UICC_APPLICATION_IND_OFFSET_NSB                   	7 //size 1 byte(s)
       
   747 #define SIZE_UICC_APPLICATION_IND                         	8
       
   748 
       
   749 
       
   750 //Definition for UICC_REFRESH_IND
       
   751 #define UICC_REFRESH_IND                                  	0x1A                                              	
       
   752 #define UICC_REFRESH_IND_OFFSET_UTID                      	0 //size 1 byte(s)
       
   753 #define UICC_REFRESH_IND_OFFSET_MESSAGEID                 	1 //size 1 byte(s)
       
   754 #define UICC_REFRESH_IND_OFFSET_SERVICETYPE               	2 //size 1 byte(s)
       
   755 #define UICC_REFRESH_IND_OFFSET_TYPE                      	3 //size 1 byte(s)
       
   756 #define UICC_REFRESH_IND_OFFSET_APPLID                    	4 //size 1 byte(s)
       
   757 #define UICC_REFRESH_IND_OFFSET_FILLERBYTE1               	5 //size 2 byte(s)
       
   758 #define UICC_REFRESH_IND_OFFSET_NSB                       	7 //size 1 byte(s)
       
   759 #define SIZE_UICC_REFRESH_IND                             	8
       
   760 
       
   761 
       
   762 //Definition for UICC_IND
       
   763 #define UICC_IND                                          	0x02                                                 	
       
   764 #define UICC_IND_OFFSET_TRANSID                           	0 //size 1 byte(s)
       
   765 #define UICC_IND_OFFSET_MESSAGEID                         	1 //size 1 byte(s)
       
   766 #define UICC_IND_OFFSET_SERVICETYPE                       	2 //size 1 byte(s)
       
   767 #define SIZE_UICC_IND                                     	3
       
   768 
       
   769 
       
   770 //Definition for UICC_CARD_IND
       
   771 #define UICC_CARD_IND                                     	0x05                                                 	
       
   772 #define UICC_CARD_IND_OFFSET_TRANSID                      	0 //size 1 byte(s)
       
   773 #define UICC_CARD_IND_OFFSET_MESSAGEID                    	1 //size 1 byte(s)
       
   774 #define UICC_CARD_IND_OFFSET_SERVICETYPE                  	2 //size 1 byte(s)
       
   775 #define UICC_CARD_IND_OFFSET_CARDTYPE                     	3 //size 1 byte(s)
       
   776 #define SIZE_UICC_CARD_IND                                	4
       
   777 
       
   778 
       
   779 //Definition for UICC_PIN_IND
       
   780 #define UICC_PIN_IND                                      	0x0B                                                 	
       
   781 #define UICC_PIN_IND_OFFSET_TRANSID                       	0 //size 1 byte(s)
       
   782 #define UICC_PIN_IND_OFFSET_MESSAGEID                     	1 //size 1 byte(s)
       
   783 #define UICC_PIN_IND_OFFSET_SERVICETYPE                   	2 //size 1 byte(s)
       
   784 #define UICC_PIN_IND_OFFSET_PINID                         	3 //size 1 byte(s)
       
   785 #define UICC_PIN_IND_OFFSET_APPLID                        	4 //size 1 byte(s)
       
   786 #define UICC_PIN_IND_OFFSET_FILLERBYTE1                   	5 //size 3 byte(s)
       
   787 #define SIZE_UICC_PIN_IND                                 	8
       
   788 
       
   789 
       
   790 //Definition for UICC_APPL_CMD_IND
       
   791 #define UICC_APPL_CMD_IND                                 	0x0E                                                 	
       
   792 #define UICC_APPL_CMD_IND_OFFSET_TRANSID                  	0 //size 1 byte(s)
       
   793 #define UICC_APPL_CMD_IND_OFFSET_MESSAGEID                	1 //size 1 byte(s)
       
   794 #define UICC_APPL_CMD_IND_OFFSET_SERVICETYPE              	2 //size 1 byte(s)
       
   795 #define UICC_APPL_CMD_IND_OFFSET_APPLID                   	3 //size 1 byte(s)
       
   796 #define UICC_APPL_CMD_IND_OFFSET_FILLERBYTE1              	4 //size 3 byte(s)
       
   797 #define UICC_APPL_CMD_IND_OFFSET_NSB                      	7 //size 1 byte(s)
       
   798 #define SIZE_UICC_APPL_CMD_IND                            	8
       
   799 
       
   800 
       
   801 //Definition for UICC_CAT_IND
       
   802 #define UICC_CAT_IND                                      	0x14                                              	
       
   803 #define UICC_CAT_IND_OFFSET_TRANSID                       	0 //size 1 byte(s)
       
   804 #define UICC_CAT_IND_OFFSET_MESSAGEID                     	1 //size 1 byte(s)
       
   805 #define UICC_CAT_IND_OFFSET_SERVICETYPE                   	2 //size 1 byte(s)
       
   806 #define UICC_CAT_IND_OFFSET_CARDTYPE                      	3 //size 1 byte(s)
       
   807 #define UICC_CAT_IND_OFFSET_APPLID                        	4 //size 1 byte(s)
       
   808 #define UICC_CAT_IND_OFFSET_FILLERBYTE1                   	5 //size 2 byte(s)
       
   809 #define UICC_CAT_IND_OFFSET_NSB                           	7 //size 1 byte(s)
       
   810 #define SIZE_UICC_CAT_IND                                 	8
       
   811 
       
   812 
       
   813 //Definition for UICC_APDU_RESET_IND
       
   814 #define UICC_APDU_RESET_IND                               	0x17                                              	
       
   815 #define UICC_APDU_RESET_IND_OFFSET_TRANSID                	0 //size 1 byte(s)
       
   816 #define UICC_APDU_RESET_IND_OFFSET_MESSAGEID              	1 //size 1 byte(s)
       
   817 #define UICC_APDU_RESET_IND_OFFSET_SERVICETYPE            	2 //size 1 byte(s)
       
   818 #define UICC_APDU_RESET_IND_OFFSET_FILLERBYTE1            	3 //size 1 byte(s)
       
   819 #define SIZE_UICC_APDU_RESET_IND                          	4
       
   820 
       
   821 #endif