26
|
1 |
/*
|
|
2 |
* Copyright (c) 2010 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 "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 |
* Initial Contributors:
|
|
9 |
* Nokia Corporation - initial contribution.
|
|
10 |
*
|
|
11 |
* Contributors:
|
|
12 |
* Description : define all +CME Error code.
|
|
13 |
* Reference:
|
|
14 |
* 3GPP TS 27.007 version 6.9.0 Release 6 118 ETSI TS 127 007 V6.9.0 (2007-06)
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
|
18 |
#ifndef CMEERROR_H_
|
|
19 |
#define CMEERROR_H_
|
|
20 |
|
|
21 |
enum TATCMEError
|
|
22 |
{
|
|
23 |
EATCmeNoError = -1, // No errors, only for internal use
|
|
24 |
EATCmePhoneFailure =0, // 0 phone failure
|
|
25 |
EATCmeNoConnection, // 1 no connection to phone
|
|
26 |
EATCmeAdaptorLinkReserved, // 2 phone-adaptor link reserved
|
|
27 |
EATCmeNotAllowed, // 3 operation not allowed
|
|
28 |
EATCmeNotSupported, // 4 operation not supported
|
|
29 |
EATCmePhSimPinRequired, // 5 PH-SIM PIN required
|
|
30 |
EATCmePhFsimPinRequired, // 6 PH-FSIM PIN required
|
|
31 |
EATCmePhFsimPukRequired, // 7 PH-FSIM PUK required
|
|
32 |
EATCmeSimNotInserted, // 10 SIM not inserted
|
|
33 |
EATCmeSimPinRequired, // 11 SIM PIN required
|
|
34 |
EATCmeSimPukRequired, // 12 SIM PUK required
|
|
35 |
EATCmeSimFailure, // 13 SIM failure
|
|
36 |
EATCmeSimBusy, // 14 SIM busy
|
|
37 |
EATCmeSimWrong, // 15 SIM wrong
|
|
38 |
EATCmeIncorrectPassword, // 16 incorrect password
|
|
39 |
EATCmeSimPin2Required, // 17 SIM PIN2 required
|
|
40 |
EATCmeSimPuk2Required, // 18 SIM PUK2 required
|
|
41 |
EATCmeMemoryFull, // 20 memory full
|
|
42 |
EATCmeInvalidIndex, // 21 invalid index
|
|
43 |
EATCmeNotFound, // 22 not found
|
|
44 |
EATCmeMemoryFailure, // 23 memory failure
|
|
45 |
EATCmeTextTooLong, // 24 text string too long
|
|
46 |
EATCmeInvalidChar, // 25 invalid characters in text string
|
|
47 |
EATCmeDialStringTooLong, // 26 dial string too long
|
|
48 |
EATCmeInvalidDialString, // 27 invalid characters in dial string
|
|
49 |
EATCmeNoNetworkService, // 30 no network service
|
|
50 |
EATCmeNetworkTimeout, // 31 network timeout
|
|
51 |
EATCmeNetworkNotAllowed, // 32 network not allowed - emergency calls only
|
|
52 |
EATCmeNetPerPinRequired, // 40 network personalization PIN required
|
|
53 |
EATCmeNetPerPukRequired, // 41 network personalization PUK required
|
|
54 |
EATCmeNetSubPerPinRequired, // 42 network subset personalization PIN required
|
|
55 |
EATCmeNetSubPerPukRequired, // 43 network subset personalization PUK required
|
|
56 |
EATCmeSPPerPinRequired, // 44 service provider personalization PIN required
|
|
57 |
EATCmeSPPerPukRequired, // 45 service provider personalization PUK required
|
|
58 |
EATCmeCorpPerPinRequired, // 46 corporate personalization PIN required
|
|
59 |
EATCmeCorpPerPukRequired, // 47 corporate personalization PUK required
|
|
60 |
EATCmeHiddenKeyRequired, // 48 hidden key required (NOTE: This key is required when accessing hidden phonebook entries.)
|
|
61 |
EATCmeEAPNotSupported, // 49 EAP method not supported
|
|
62 |
EATCmeIncorrectParams, // 50 Incorrect parameters
|
|
63 |
EATCmeUnknown = 100 // 100 unknown
|
|
64 |
};
|
|
65 |
|
|
66 |
#endif /* CMEERROR_H_ */
|