Source Code Cross Referenced for ToolkitConstants.java in  » 6.0-JDK-Modules » j2me » sim » toolkit » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » 6.0 JDK Modules » j2me » sim.toolkit 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /*
002:         *   
003:         *
004:         * Copyright  1990-2007 Sun Microsystems, Inc. All Rights Reserved.
005:         * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER
006:         * 
007:         * This program is free software; you can redistribute it and/or
008:         * modify it under the terms of the GNU General Public License version
009:         * 2 only, as published by the Free Software Foundation.
010:         * 
011:         * This program is distributed in the hope that it will be useful, but
012:         * WITHOUT ANY WARRANTY; without even the implied warranty of
013:         * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
014:         * General Public License version 2 for more details (a copy is
015:         * included at /legal/license.txt).
016:         * 
017:         * You should have received a copy of the GNU General Public License
018:         * version 2 along with this work; if not, write to the Free Software
019:         * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
020:         * 02110-1301 USA
021:         * 
022:         * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa
023:         * Clara, CA 95054 or visit www.sun.com if you need additional
024:         * information or have any questions.
025:         */
026:
027:        //-----------------------------------------------------------------------------
028:        // PACKAGE DEFINITION
029:        //-----------------------------------------------------------------------------
030:        package sim.toolkit;
031:
032:        //-----------------------------------------------------------------------------
033:        // IMPORTS
034:        //-----------------------------------------------------------------------------
035:        import javacard.framework.*;
036:
037:        /**
038:         *
039:         * <code>ToolkitConstants</code> encapsulates constants related to the Toolkit
040:         * applets.
041:         *
042:         * @version 8.3.0
043:         */
044:        public interface ToolkitConstants {
045:            // --------------------------- Events Constants --------------------------
046:            /** Event : Profile Download  = 1                                       */
047:            public static final byte EVENT_PROFILE_DOWNLOAD = (byte) 1;
048:            /** Event : Envelope SMS-PP Data Download (03.48 formatted)  = 2        */
049:            public static final byte EVENT_FORMATTED_SMS_PP_ENV = (byte) 2;
050:            /** Event : Update Record EF sms APDU     (03.48 formatted)  = 3        */
051:            public static final byte EVENT_FORMATTED_SMS_PP_UPD = (byte) 3;
052:            /** Event : Envelope SMS-PP Data Download unformatted sms  = 4          */
053:            public static final byte EVENT_UNFORMATTED_SMS_PP_ENV = (byte) 4;
054:            /** Event : Update Record EFsms APDU      unformatted sms   = 5         */
055:            public static final byte EVENT_UNFORMATTED_SMS_PP_UPD = (byte) 5;
056:            /** Event : Cell Broadcast Data Download  = 6                           */
057:            public static final byte EVENT_UNFORMATTED_SMS_CB = (byte) 6;
058:            /** Event : Menu Selection  = 7                                         */
059:            public static final byte EVENT_MENU_SELECTION = (byte) 7;
060:            /** Event : Menu Selection Help Request = 8                             */
061:            public static final byte EVENT_MENU_SELECTION_HELP_REQUEST = (byte) 8;
062:            /** Event : Call Control by SIM = 9                                     */
063:            public static final byte EVENT_CALL_CONTROL_BY_SIM = (byte) 9;
064:            /** Event : MO Short Message Control by SIM = 10                        */
065:            public static final byte EVENT_MO_SHORT_MESSAGE_CONTROL_BY_SIM = (byte) 10;
066:            /** Event : Timer Expiration = 11                                       */
067:            public static final byte EVENT_TIMER_EXPIRATION = (byte) 11;
068:            /** Event : Event Download - MT call type = 12                          */
069:            public static final byte EVENT_EVENT_DOWNLOAD_MT_CALL = (byte) 12;
070:            /** Event : Event Download - Call connected type = 13                   */
071:            public static final byte EVENT_EVENT_DOWNLOAD_CALL_CONNECTED = (byte) 13;
072:            /** Event : Event Download - Call disconnected type = 14                */
073:            public static final byte EVENT_EVENT_DOWNLOAD_CALL_DISCONNECTED = (byte) 14;
074:            /** Event : Event Download - Location status type = 15                  */
075:            public static final byte EVENT_EVENT_DOWNLOAD_LOCATION_STATUS = (byte) 15;
076:            /** Event : Event Download - User activity type = 16                    */
077:            public static final byte EVENT_EVENT_DOWNLOAD_USER_ACTIVITY = (byte) 16;
078:            /** Event : Event Download - Idle screen available type = 17            */
079:            public static final byte EVENT_EVENT_DOWNLOAD_IDLE_SCREEN_AVAILABLE = (byte) 17;
080:            /** Event : Event Download - Card Reader Status = 18                    */
081:            public static final byte EVENT_EVENT_DOWNLOAD_CARD_READER_STATUS = (byte) 18;
082:            /** Event : Status APDU command = 19                                    */
083:            public static final byte EVENT_STATUS_COMMAND = (byte) 19;
084:            /** Event : Event Download - Language Selection = 20                    */
085:            public static final byte EVENT_EVENT_DOWNLOAD_LANGUAGE_SELECTION = (byte) 20;
086:            /** Event : Event Download - Browser Termination = 21                   */
087:            public static final byte EVENT_EVENT_DOWNLOAD_BROWSER_TERMINATION = (byte) 21;
088:            /** Event : Cell Broadcast Data Download Formatted = 24                 */
089:            public static final byte EVENT_FORMATTED_SMS_CB = (byte) 24;
090:
091:            /** Event : Proprietary events reserved range = [-128, -1]              */
092:            /** Event : Unrecognized Envelope = -1                                  */
093:            public static final byte EVENT_UNRECOGNIZED_ENVELOPE = (byte) -1;
094:
095:            // -------------------------- BER-TLV Constants -------------------------
096:            /** BER-TLV : Proactive SIM command tag                          = 0xD0 */
097:            public static final byte BTAG_PROACTIVE_SIM_COMMAND = (byte) 0xD0;
098:            /**
099:             * @deprecated Replaced by {@link #BTAG_SMS_PP_DOWNLOAD} in
100:             * version 7.4.0 
101:             */
102:            public static final byte BTAG_SMS_PP_DOWNWLOAD = (byte) 0xD1;
103:            /** BER-TLV : SMS-PP download tag                                = 0xD1 */
104:            public static final byte BTAG_SMS_PP_DOWNLOAD = (byte) 0xD1;
105:            /** BER-TLV : Cell Broadcast download tag                        = 0xD2 */
106:            public static final byte BTAG_CELL_BROADCAST_DOWNLOAD = (byte) 0xD2;
107:            /** BER-TLV : Menu Selection tag                                 = 0xD3 */
108:            public static final byte BTAG_MENU_SELECTION = (byte) 0xD3;
109:            /** BER-TLV : Call Control tag                                   = 0xD4 */
110:            public static final byte BTAG_CALL_CONTROL = (byte) 0xD4;
111:            /** BER-TLV : MO short message control tag                       = 0xD5 */
112:            public static final byte BTAG_MO_SHORT_MESSAGE_CONTROL = (byte) 0xD5;
113:            /** BER-TLV : Event download tag                                 = 0xD6 */
114:            public static final byte BTAG_EVENT_DOWNLOAD = (byte) 0xD6;
115:            /** BER-TLV : Timer Expiration tag                               = 0xD7 */
116:            public static final byte BTAG_TIMER_EXPIRATION = (byte) 0xD7;
117:
118:            // ------------------------ Simple-TLV Constants -------------------------
119:            /** Simple-TLV : Command Details tag                             = 0x01 */
120:            public static final byte TAG_COMMAND_DETAILS = (byte) 0x01;
121:            /** Simple-TLV : Device Identities tag                           = 0x02 */
122:            public static final byte TAG_DEVICE_IDENTITIES = (byte) 0x02;
123:            /** Simple-TLV : Result tag                                      = 0x03 */
124:            public static final byte TAG_RESULT = (byte) 0x03;
125:            /** Simple-TLV : Duration tag                                    = 0x04 */
126:            public static final byte TAG_DURATION = (byte) 0x04;
127:            /** Simple-TLV : Alpha Identifier tag                            = 0x05 */
128:            public static final byte TAG_ALPHA_IDENTIFIER = (byte) 0x05;
129:            /** Simple-TLV : Address tag                                     = 0x06 */
130:            public static final byte TAG_ADDRESS = (byte) 0x06;
131:            /** Simple-TLV : Capability Configuration Parameters tag         = 0x07 */
132:            public static final byte TAG_CAPABILITY_CONFIGURATION_PARAMETERS = (byte) 0x07;
133:            /** Simple-TLV : Called Party Subaddress tag                     = 0x08 */
134:            public static final byte TAG_CALLED_PARTY_SUBADDRESS = (byte) 0x08;
135:            /** Simple-TLV : SS String tag                                   = 0x09 */
136:            public static final byte TAG_SS_STRING = (byte) 0x09;
137:            /** Simple-TLV : USSD String tag                                 = 0x0A */
138:            public static final byte TAG_USSD_STRING = (byte) 0x0A;
139:            /** Simple-TLV : SMS TPDU tag                                    = 0x0B */
140:            public static final byte TAG_SMS_TPDU = (byte) 0x0B;
141:            /** Simple-TLV : Cell Broadcast Page tag                         = 0x0C */
142:            public static final byte TAG_CELL_BROADCAST_PAGE = (byte) 0x0C;
143:            /** Simple-TLV : Text String tag                                 = 0x0D */
144:            public static final byte TAG_TEXT_STRING = (byte) 0x0D;
145:            /** Simple-TLV : Tone tag                                        = 0x0E */
146:            public static final byte TAG_TONE = (byte) 0x0E;
147:            /** Simple-TLV : Item tag                                        = 0x0F */
148:            public static final byte TAG_ITEM = (byte) 0x0F;
149:            /** Simple-TLV : Item Identifier tag                             = 0x10 */
150:            public static final byte TAG_ITEM_IDENTIFIER = (byte) 0x10;
151:            /** Simple-TLV : Response Length tag                             = 0x11 */
152:            public static final byte TAG_RESPONSE_LENGTH = (byte) 0x11;
153:            /** Simple-TLV : File List tag                                   = 0x12 */
154:            public static final byte TAG_FILE_LIST = (byte) 0x12;
155:            /** Simple-TLV : Location Information tag                        = 0x13 */
156:            public static final byte TAG_LOCATION_INFORMATION = (byte) 0x13;
157:            /** Simple-TLV : IMEI tag                                        = 0x14 */
158:            public static final byte TAG_IMEI = (byte) 0x14;
159:            /** Simple-TLV : Help Request tag                                = 0x15 */
160:            public static final byte TAG_HELP_REQUEST = (byte) 0x15;
161:            /** Simple-TLV : Network Measurement Results tag                 = 0x16 */
162:            public static final byte TAG_NETWORK_MEASUREMENT_RESULTS = (byte) 0x16;
163:            /** Simple-TLV : Default Text tag                                = 0x17 */
164:            public static final byte TAG_DEFAULT_TEXT = (byte) 0x17;
165:            /** Simple-TLV : Items Next Action Indicator tag                 = 0x18 */
166:            public static final byte TAG_ITEMS_NEXT_ACTION_INDICATOR = (byte) 0x18;
167:            /** Simple-TLV : Event List tag                                  = 0x19 */
168:            public static final byte TAG_EVENT_LIST = (byte) 0x19;
169:            /** Simple-TLV : Cause tag                                       = 0x1A */
170:            public static final byte TAG_CAUSE = (byte) 0x1A;
171:            /** Simple-TLV : Location Status tag                             = 0x1B */
172:            public static final byte TAG_LOCATION_STATUS = (byte) 0x1B;
173:            /** Simple-TLV : Transaction Identifier tag                      = 0x1C */
174:            public static final byte TAG_TRANSACTION_IDENTIFIER = (byte) 0x1C;
175:            /** Simple-TLV : BCCH Channel List tag                           = 0x1D */
176:            public static final byte TAG_BCCH_CHANNEL_LIST = (byte) 0x1D;
177:            /** Simple-TLV : Icon Identifier tag                             = 0x1E */
178:            public static final byte TAG_ICON_IDENTIFIER = (byte) 0x1E;
179:            /** Simple-TLV : Item Icon Identifier list tag                   = 0x1F */
180:            public static final byte TAG_ITEM_ICON_IDENTIFIER_LIST = (byte) 0x1F;
181:            /** Simple-TLV : Card Reader status tag                          = 0x20 */
182:            public static final byte TAG_CARD_READER_STATUS = (byte) 0x20;
183:            /** Simple-TLV : Card ATR tag                                    = 0x21 */
184:            public static final byte TAG_CARD_ATR = (byte) 0x21;
185:            /** Simple-TLV : C-APDU tag                                      = 0x22 */
186:            public static final byte TAG_C_APDU = (byte) 0x22;
187:            /** Simple-TLV : R-APDU tag                                      = 0x23 */
188:            public static final byte TAG_R_APDU = (byte) 0x23;
189:            /** Simple-TLV : Timer Identifier tag                            = 0x24 */
190:            public static final byte TAG_TIMER_IDENTIFIER = (byte) 0x24;
191:            /** Simple-TLV : Timer Value tag                                 = 0x25 */
192:            public static final byte TAG_TIMER_VALUE = (byte) 0x25;
193:            /** Simple-TLV : Date-Time and Time Zone tag                     = 0x26 */
194:            public static final byte TAG_DATE_TIME_AND_TIME_ZONE = (byte) 0x26;
195:            /** Simple-TLV : Call Control requested action tag               = 0x27 */
196:            public static final byte TAG_CALL_CONTROL_REQUESTED_ACTION = (byte) 0x27;
197:            /** Simple-TLV : AT Command tag                                  = 0x28 */
198:            public static final byte TAG_AT_COMMAND = (byte) 0x28;
199:            /** Simple-TLV : AT Response tag                                 = 0x29 */
200:            public static final byte TAG_AT_RESPONSE = (byte) 0x29;
201:            /** Simple-TLV : BC Repeat Indicator tag                         = 0x2A */
202:            public static final byte TAG_BC_REPEAT_INDICATOR = (byte) 0x2A;
203:            /** Simple-TLV : Immediate response tag                          = 0x2B */
204:            public static final byte TAG_IMMEDIATE_RESPONSE = (byte) 0x2B;
205:            /** Simple-TLV : DTMF string tag                                 = 0x2C */
206:            public static final byte TAG_DTMF_STRING = (byte) 0x2C;
207:            /** Simple-TLV : Language tag                                    = 0x2D */
208:            public static final byte TAG_LANGUAGE = (byte) 0x2D;
209:            /** Simple-TLV : Timing Advance tag                              = 0x2E */
210:            public static final byte TAG_TIMING_ADVANCE = (byte) 0x2E;
211:            /** Simple-TLV : Browser Identity tag                            = 0x30 */
212:            public static final byte TAG_BROWSER_IDENTITY = (byte) 0x30;
213:            /** Simple-TLV : URL tag                                         = 0x31 */
214:            public static final byte TAG_URL = (byte) 0x31;
215:            /** Simple-TLV : Bearer tag                                      = 0x32 */
216:            public static final byte TAG_BEARER = (byte) 0x32;
217:            /** Simple-TLV : Provisioning Reference File tag                 = 0x33 */
218:            public static final byte TAG_PROVISIONING_REFERENCE_FILE = (byte) 0x33;
219:            /** Simple-TLV : Browser Termination Cause tag                   = 0x34 */
220:            public static final byte TAG_BROWSER_TERMINATION_CAUSE = (byte) 0x34;
221:            /** Simple-TLV : Card reader identifier tag                      = 0x3A */
222:            public static final byte TAG_CARD_READER_IDENTIFIER = (byte) 0x3A;
223:
224:            /** Simple-TLV : mask to set the CR flag of any Simple-TLV tag   = 0x80 */
225:            public static final byte TAG_SET_CR = (byte) 0x80;
226:            /** Simple-TLV : mask to reset the CR flag of any Simple-TLV tag = 0x7F */
227:            public static final byte TAG_SET_NO_CR = (byte) 0x7F;
228:
229:            // ---------------------- Constants for TLV management --------------------
230:            /** 
231:             * Value of a TLV Length field's first byte in TLV with a Value
232:             * field is greater than 127 bytes = 0x81 
233:             */
234:            public static final byte TLV_LENGTH_CODED_2BYTES = (byte) 0x81;
235:
236:            // ---------------------- Constants for findTLV method --------------------
237:            /** findTLV method result : if TLV is not found in the handler   = 0x00 */
238:            public static final byte TLV_NOT_FOUND = (byte) 0;
239:            /** findTLV method result : if TLV is found with CR set          = 0x01 */
240:            public static final byte TLV_FOUND_CR_SET = (byte) 1;
241:            /** findTLV method result : if TLV is found with CR not set      = 0x02 */
242:            public static final byte TLV_FOUND_CR_NOT_SET = (byte) 2;
243:
244:            // ------------------ Type of proactive command constants -----------------
245:            /** Type of proactive command : REFRESH                          = 0x01 */
246:            public static final byte PRO_CMD_REFRESH = (byte) 0x01;
247:            /** Type of proactive command : MORE TIME                        = 0x02 */
248:            public static final byte PRO_CMD_MORE_TIME = (byte) 0x02;
249:            /** Type of proactive command : SET UP CALL                      = 0x10 */
250:            public static final byte PRO_CMD_SET_UP_CALL = (byte) 0x10;
251:            /** Type of proactive command : SEND SS                          = 0x11 */
252:            public static final byte PRO_CMD_SEND_SS = (byte) 0x11;
253:            /** Type of proactive command : SEND USSD                        = 0x12 */
254:            public static final byte PRO_CMD_SEND_USSD = (byte) 0x12;
255:            /** Type of proactive command : SEND SHORT MESSAGE               = 0x13 */
256:            public static final byte PRO_CMD_SEND_SHORT_MESSAGE = (byte) 0x13;
257:            /** Type of proactive command : SEND DTMF                        = 0x14 */
258:            public static final byte PRO_CMD_SEND_DTMF = (byte) 0x14;
259:            /** Type of proactive command : LAUNCH BROWSER                   = 0x15 */
260:            public static final byte PRO_CMD_LAUNCH_BROWSER = (byte) 0x15;
261:            /** Type of proactive command : PLAY TONE                        = 0x20 */
262:            public static final byte PRO_CMD_PLAY_TONE = (byte) 0x20;
263:            /** Type of proactive command : DISPLAY TEXT                     = 0x21 */
264:            public static final byte PRO_CMD_DISPLAY_TEXT = (byte) 0x21;
265:            /** Type of proactive command : GET INKEY                        = 0x22 */
266:            public static final byte PRO_CMD_GET_INKEY = (byte) 0x22;
267:            /** Type of proactive command : GET INPUT                        = 0x23 */
268:            public static final byte PRO_CMD_GET_INPUT = (byte) 0x23;
269:            /** Type of proactive command : SELECT ITEM                      = 0x24 */
270:            public static final byte PRO_CMD_SELECT_ITEM = (byte) 0x24;
271:            /** Type of proactive command : PROVIDE LOCAL INFORMATION        = 0x26 */
272:            public static final byte PRO_CMD_PROVIDE_LOCAL_INFORMATION = (byte) 0x26;
273:            /** Type of proactive command : TIMER MANAGEMENT                 = 0x27 */
274:            public static final byte PRO_CMD_TIMER_MANAGEMENT = (byte) 0x27;
275:            /** Type of proactive command : SET UP IDLE MODE TEXT            = 0x28 */
276:            public static final byte PRO_CMD_SET_UP_IDLE_MODE_TEXT = (byte) 0x28;
277:            /** Type of proactive command : PERFORM CARD APDU                = 0x30 */
278:            public static final byte PRO_CMD_PERFORM_CARD_APDU = (byte) 0x30;
279:            /** Type of proactive command : POWER ON CARD                    = 0x31 */
280:            public static final byte PRO_CMD_POWER_ON_CARD = (byte) 0x31;
281:            /** Type of proactive command : POWER OFF CARD                   = 0x32 */
282:            public static final byte PRO_CMD_POWER_OFF_CARD = (byte) 0x32;
283:            /** Type of proactive command : GET READER STATUS                = 0x33 */
284:            public static final byte PRO_CMD_GET_READER_STATUS = (byte) 0x33;
285:            /** Type of proactive command : RUN AT COMMAND                   = 0x34 */
286:            public static final byte PRO_CMD_RUN_AT_COMMAND = (byte) 0x34;
287:            /** Type of proactive command : LANGUAGE NOTIFICATION            = 0x35 */
288:            public static final byte PRO_CMD_LANGUAGE_NOTIFICATION = (byte) 0x35;
289:
290:            // ----------------------- Device Identity constants ----------------------
291:            /** Device Identity : Keypad                                     = 0x01 */
292:            public static final byte DEV_ID_KEYPAD = (byte) 0x01;
293:            /** Device Identity : Display                                    = 0x02 */
294:            public static final byte DEV_ID_DISPLAY = (byte) 0x02;
295:            /** Device Identity : Earpiece                                   = 0x03 */
296:            public static final byte DEV_ID_EARPIECE = (byte) 0x03;
297:            /** Device Identity : Additional Card Reader 0                   = 0x10 */
298:            public static final byte DEV_ID_ADDITIONAL_CARD_READER_0 = (byte) 0x10;
299:            /** Device Identity : Additional Card Reader 1                   = 0x11 */
300:            public static final byte DEV_ID_ADDITIONAL_CARD_READER_1 = (byte) 0x11;
301:            /** Device Identity : Additional Card Reader 2                   = 0x12 */
302:            public static final byte DEV_ID_ADDITIONAL_CARD_READER_2 = (byte) 0x12;
303:            /** Device Identity : Additional Card Reader 3                   = 0x13 */
304:            public static final byte DEV_ID_ADDITIONAL_CARD_READER_3 = (byte) 0x13;
305:            /** Device Identity : Additional Card Reader 4                   = 0x14 */
306:            public static final byte DEV_ID_ADDITIONAL_CARD_READER_4 = (byte) 0x14;
307:            /** Device Identity : Additional Card Reader 5                   = 0x15 */
308:            public static final byte DEV_ID_ADDITIONAL_CARD_READER_5 = (byte) 0x15;
309:            /** Device Identity : Additional Card Reader 6                   = 0x16 */
310:            public static final byte DEV_ID_ADDITIONAL_CARD_READER_6 = (byte) 0x16;
311:            /** Device Identity : Additional Card Reader 7                   = 0x17 */
312:            public static final byte DEV_ID_ADDITIONAL_CARD_READER_7 = (byte) 0x17;
313:            /** Device Identity : SIM                                        = 0x81 */
314:            public static final byte DEV_ID_SIM = (byte) 0x81;
315:            /** Device Identity : ME                                         = 0x82 */
316:            public static final byte DEV_ID_ME = (byte) 0x82;
317:            /** Device Identity : Network                                    = 0x83 */
318:            public static final byte DEV_ID_NETWORK = (byte) 0x83;
319:
320:            // ---------------- Data Coding Scheme (GSM03.38) constants ---------------
321:            /** Data Coding Scheme : GSM Default Aphabet                     = 0x00 */
322:            public static final byte DCS_DEFAULT_ALPHABET = (byte) 0x00;
323:            /** Data Coding Scheme : GSM 8 bit Data                          = 0x04 */
324:            public static final byte DCS_8_BIT_DATA = (byte) 0x04;
325:            /** Data Coding Scheme : UCS2                                    = 0x08 */
326:            public static final byte DCS_UCS2 = (byte) 0x08;
327:
328:            // -------------------- Status Word for SMS datadownload  -----------------
329:            /** Status Word 1 : use RP_ERROR channel                         = 0x9E */
330:            public static final byte SW1_RP_ERROR = (byte) 0x9E;
331:            /** Status Word 1 : use RP_ACK channel                           = 0x9F */
332:            public static final byte SW1_RP_ACK = (byte) 0x9F;
333:
334:            // -------------------------- Poll Interval Constants ---------------------
335:            /** Poll Interval : request to deregister from proactive polling = 0    */
336:            public static final byte POLL_NO_DURATION = 0;
337:            /** Poll Interval : request the system duration                  = -1   */
338:            public static final byte POLL_SYSTEM_DURATION = -1;
339:
340:            // -------------------------- General Result constants ---------------------
341:            /** General Result : command performed successfully              = 0x00 */
342:            public static final byte RES_CMD_PERF = (byte) 0x00;
343:            /** General Result : command performed with partial comprehension= 0x01 */
344:            public static final byte RES_CMD_PERF_PARTIAL_COMPR = (byte) 0x01;
345:            /** General Result : command performed with missing information  = 0x02 */
346:            public static final byte RES_CMD_PERF_MISSING_INFO = (byte) 0x02;
347:            /** General Result : REFRESH performed with addional EFs read    = 0x03 */
348:            public static final byte RES_CMD_PERF_REFRESH_ADD_EF_READ = (byte) 0x03;
349:            /** General Result : command performed request.icon not displayed= 0x04 */
350:            public static final byte RES_CMD_PERF_REQ_ICON_NOT_DISP = (byte) 0x04;
351:            /** General Result : command performed modified by Call Control  = 0x05 */
352:            public static final byte RES_CMD_PERF_MODIF_CC_SIM = (byte) 0x05;
353:            /** General Result : command performed with limited service      = 0x06 */
354:            public static final byte RES_CMD_PERF_LIMITED_SERVICE = (byte) 0x06;
355:            /** General Result : command performed with modification         = 0x07 */
356:            public static final byte RES_CMD_PERF_WITH_MODIFICATION = (byte) 0x07;
357:
358:            /** General Result : command performed session terminated by user= 0x10 */
359:            public static final byte RES_CMD_PERF_SESSION_TERM_USER = (byte) 0x10;
360:            /** General Result : command performed backward move requested   = 0x11 */
361:            public static final byte RES_CMD_PERF_BACKWARD_MOVE_REQ = (byte) 0x11;
362:            /** General Result : command performed no response from user     = 0x12 */
363:            public static final byte RES_CMD_PERF_NO_RESP_FROM_USER = (byte) 0x12;
364:            /** General Result : command performed help information resquired= 0x13 */
365:            public static final byte RES_CMD_PERF_HELP_INFO_REQ = (byte) 0x13;
366:            /** General Result : command performed USSD transaction terminat.= 0x14 */
367:            public static final byte RES_CMD_PERF_USSD_TRANSAC_TERM = (byte) 0x14;
368:
369:            /** General Result : ME currently unable to process command      = 0x20 */
370:            public static final byte RES_TEMP_PB_ME_UNABLE_PROC = (byte) 0x20;
371:            /** General Result : Network currently unable to process command = 0x21 */
372:            public static final byte RES_TEMP_PB_SESSION_TERM_USER = (byte) 0x21;
373:            /** General Result : User did not accpet call set-up request     = 0x22 */
374:            public static final byte RES_TEMP_PB_USER_REJECT_CALL_REQ = (byte) 0x22;
375:            /** General Result : User cleared call before connect. net.rel.  = 0x23 */
376:            public static final byte RES_TEMP_PB_USER_CLEAR_CALL = (byte) 0x23;
377:            /** General Result : Action in contradiction with timer state    = 0x24 */
378:            public static final byte RES_TEMP_PB_IN_CONTR_TIMER_STATE = (byte) 0x24;
379:            /** General Result : Interaction with call control by SIM        = 0x25 */
380:            public static final byte RES_TEMP_PB_INTERACT_CC_BY_SIM = (byte) 0x25;
381:            /** General Result : Launch Browser generic error                = 0x26 */
382:            public static final byte RES_TEMP_PB_LAUNCH_BROWSER = (byte) 0x26;
383:
384:            /** General Result : command beyond ME's capabilities            = 0x30 */
385:            public static final byte RES_ERROR_CMD_BEYOND_ME_CAPAB = (byte) 0x30;
386:            /** General Result : command type not understood by ME           = 0x31 */
387:            public static final byte RES_ERROR_CMD_TYP_NOT_UNDERSTOOD = (byte) 0x31;
388:            /** General Result : command data not understood by ME           = 0x32 */
389:            public static final byte RES_ERROR_CMD_DATA_NOT_UNDERSTOOD = (byte) 0x32;
390:            /** General Result : command number not known by ME              = 0x33 */
391:            public static final byte RES_ERROR_CMD_NUMBER_NOT_KNOWN = (byte) 0x33;
392:            /** General Result : SS return error                             = 0x34 */
393:            public static final byte RES_ERROR_SS_RETURN_ERROR = (byte) 0x34;
394:            /** General Result : SMS RP-ERROR                                = 0x35 */
395:            public static final byte RES_ERROR_SMS_RP_ERROR = (byte) 0x35;
396:            /** General Result : required values are missing                 = 0x36 */
397:            public static final byte RES_ERROR_REQ_VALUES_MISS = (byte) 0x36;
398:            /** General Result : USSD return error                           = 0x37 */
399:            public static final byte RES_ERROR_USSD_RETURN_ERROR = (byte) 0x37;
400:            /** General Result : Multiple card command error                 = 0x38 */
401:            public static final byte RES_ERROR_MULTIPLE_CARD_ERROR = (byte) 0x38;
402:            /** General Result : interaction with CC or SMS MO control by SIM= 0x39 */
403:            public static final byte RES_ERROR_INTERACT_CC_SMSMO_BY_SIM = (byte) 0x39;
404:
405:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.