comparison cdg-hybrid/cdginc/p_dcm.val @ 14:35f7a1dc9f7d

cdg-hybrid: import from Magnetite
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 16 Oct 2020 07:15:38 +0000
parents
children
comparison
equal deleted inserted replaced
13:83146a4ae927 14:35f7a1dc9f7d
1 /*
2 +--------------------------------------------------------------------------+
3 | PROJECT : PROTOCOL STACK |
4 | FILE : p_dcm.val |
5 | SOURCE : "sap\dcm.pdf" |
6 | LastModified : "2003-09-03" |
7 | IdAndVersion : "8462.101.03.001" |
8 | SrcFileTime : "Thu Nov 29 09:39:32 2007" |
9 | Generated by CCDGEN_2.5.5A on Fri Oct 14 21:41:52 2016 |
10 | !!DO NOT MODIFY!!DO NOT MODIFY!!DO NOT MODIFY!! |
11 +--------------------------------------------------------------------------+
12 */
13
14 /* PRAGMAS
15 * PREFIX : NONE
16 * COMPATIBILITY_DEFINES : NO (require PREFIX)
17 * ALWAYS_ENUM_IN_VAL_FILE: NO
18 * ENABLE_GROUP: NO
19 * CAPITALIZE_TYPENAME: NO
20 */
21
22
23 #ifndef P_DCM_VAL
24 #define P_DCM_VAL
25
26
27 #define CDG_ENTER__P_DCM_VAL
28
29 #define CDG_ENTER__FILENAME _P_DCM_VAL
30 #define CDG_ENTER__P_DCM_VAL__FILE_TYPE CDGINC
31 #define CDG_ENTER__P_DCM_VAL__LAST_MODIFIED _2003_09_03
32 #define CDG_ENTER__P_DCM_VAL__ID_AND_VERSION _8462_101_03_001
33
34 #define CDG_ENTER__P_DCM_VAL__SRC_FILE_TIME _Thu_Nov_29_09_39_32_2007
35
36 #include "CDG_ENTER.h"
37
38 #undef CDG_ENTER__P_DCM_VAL
39
40 #undef CDG_ENTER__FILENAME
41
42
43 /*
44 * Value constants for VAL_bearer_select
45 */
46 #define DCM_SOCK_BEARER_ANY (0x1) /* DCM will decide which connection type to be used */
47 #define DCM_SOCK_BEARER_GPRS (0x2) /* Use a GPRS context as bearer, DCM will decide which GPRS settings to be used */
48 #define DCM_SOCK_BEARER_GSM (0x3) /* Use GSM data connection as bearer DCM will decide which GSM settings to be used */
49 #define DCM_SOCK_BEARER_USE_PROFILE (0x4) /* Use a specific data account for this connection */
50 #define DCM_SOCK_BEARER_AS_SPECIFIED (0x5) /* Use the data account information which is which is delivered within this signal */
51
52 /*
53 * Value constants for VAL_authtype
54 */
55 #define DCM_SOCK_AUTH_PAP (0x1) /* PAP authentification protocol */
56 #define DCM_SOCK_AUTH_CHAP (0x2) /* CHAP authentification protocol !!! NOT SUPPORTED */
57 #define DCM_SOCK_AUTH_NO (0x3) /* No authentication */
58
59 /*
60 * Value constants for VAL_result
61 */
62 #define DCM_RET_OK (0x0) /* The action has been performed successfully. */
63 #define DCM_RET_NOT_READY (0x1) /* The command can not be processed now. */
64 #define DCM_RET_ALREADY_ACTIVATED (0x2) /* Connection refused because already actuvated. */
65 #define DCM_RET_UNKNOWN_EVENT (0x3) /* Unknown receipt event. */
66 #define DCM_RET_INVALID_PARAMETER (0x4) /* A parameter is wrong. */
67 #define DCM_RET_CMD_PENDING (0x5) /* There is a pending command yet. */
68 #define DCM_RET_PS_CONN_BROKEN (0x6) /* Loose of bearer connection. */
69
70 /*
71 * user defined constants
72 */
73 #define CDCM_APN_MAX_LEN (0x64)
74 #define CDCM_PHONE_NR_LEN (0x54)
75 #define CDCM_PDP_MAX_LEN (0x14)
76 #define CDCM_GATE_MAX_LEN (0x14)
77 #define CDCM_USER_MAX_LEN (0x19)
78 #define CDCM_PASSWORD_MAX_LEN (0x19)
79 #define CDCM_DNS_MAX_LEN (0x14)
80
81 #include "CDG_LEAVE.h"
82
83
84 #endif