comparison cdg3/cdginc-locosto/p_psi.val @ 16:c15047b3d00d

cdg3: import from freecalypso-citrine/cdg
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 27 Sep 2016 16:27:34 +0000
parents
children
comparison
equal deleted inserted replaced
15:c8bdae60fcb1 16:c15047b3d00d
1 /*
2 +--------------------------------------------------------------------------+
3 | PROJECT : PROTOCOL STACK |
4 | FILE : p_psi.val |
5 | SOURCE : "sap\psi.pdf" |
6 | LastModified : "2004-02-09" |
7 | IdAndVersion : "..01.001" |
8 | SrcFileTime : "Thu Nov 29 09:51:16 2007" |
9 | Generated by CCDGEN_2.5.5A on Thu Sep 25 09:18:53 2014 |
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_PSI_VAL
24 #define P_PSI_VAL
25
26
27 #define CDG_ENTER__P_PSI_VAL
28
29 #define CDG_ENTER__FILENAME _P_PSI_VAL
30 #define CDG_ENTER__P_PSI_VAL__FILE_TYPE CDGINC
31 #define CDG_ENTER__P_PSI_VAL__LAST_MODIFIED _2004_02_09
32 #define CDG_ENTER__P_PSI_VAL__ID_AND_VERSION __01_001
33
34 #define CDG_ENTER__P_PSI_VAL__SRC_FILE_TIME _Thu_Nov_29_09_51_16_2007
35
36 #include "CDG_ENTER.h"
37
38 #undef CDG_ENTER__P_PSI_VAL
39
40 #undef CDG_ENTER__FILENAME
41
42 #include "p_dio.val" /* Access values independent from the corresponding h-file. */
43
44
45 /*
46 * Value constants for VAL_cause
47 */
48 #define PSICS_SUCCESS (0xd300) /* 0b11010011 00000000 no error */
49 #define PSICS_INVALID_PARAMS (0xd301) /* 0b11010011 00000001 device number invalid or parameter invalid */
50 #define PSICS_INTERNAL_DRV_ERROR (0xd302) /* 0b11010011 00000010 A driver function returned DRV_INTERNAL_ERROR */
51 #define PSICS_DISCONNECT (0xd303) /* 0b11010011 00000011 The driver signalled a DRV_SIGTYPE_DISCONNECT */
52
53 /*
54 * Value constants for VAL_psi_line_states
55 */
56 #define PSI_LINE_STD_NOT_VALID (0x0) /* b00000000 no line state request is given */
57
58 /*
59 * Value constants for VAL_psi_baud_rate
60 */
61 #define DIO4_BAUD_NOT_VALID (0xffffffff)/* baudrate is not changed */
62
63 /*
64 * Value constants for VAL_psi_char_frame
65 */
66 #define DIO_CF_NOT_VALID (0x0) /* char frame values are not changed */
67
68 /*
69 * Value constants for VAL_psi_flow_control
70 */
71 #define DIO_FLOW_NOT_VALID (0xffffffff)/* flow control value are not changed */
72
73 /*
74 * Value constants for VAL_psi_mux_mode
75 */
76 #define DIO_MUX_MODE_NOT_VALID (0xffffffff)/* mux mode is unchanged */
77
78 /*
79 * Value constants for VAL_pkt_flag
80 */
81 #define DIO_FLAG_PKT_PROTOCOL (0x80000000)/* device can transfer information to identify the packet protocol */
82 #define DIO_FLAG_PKT_PROT_NOT_VALID (0xffffffff)/* packet flag is not changed */
83
84 /*
85 * Value constants for VAL_psi_sleep_mode
86 */
87 #define DIO_SLEEP_NOT_VALID (0x0) /* value is not valid */
88 #define DIO_SLEEP_NOT_CHAN (0xff) /* value is not changed */
89
90 /*
91 * Value constants for VAL_psi_guard_per
92 */
93 #define DIO_GUARD_PER_NOT_VALID (0xff) /* guard period is not changed */
94
95 /*
96 * Value constants for VAL_psi_dev_mode
97 */
98 #define DEV_MODE_NOT_VALID (0x0) /* device mode is unchanged */
99
100 /*
101 * Value constants for VAL_psi_esc_char
102 */
103 #define ESC_CHAR_NOT_VALID (0x0) /* escape character is not changed */
104
105 /*
106 * Value constants for VAL_pkt_type
107 */
108 #define DIO_PACKET_IPV4 (0x21) /* IP packet version 4 */
109 #define DIO_PACKET_VJ_CTCP (0x2d) /* IPv4 packet with Van Jacobson compressed TCP/IP header */
110 #define DIO_PACKET_VJ_UTCP (0x2f) /* IPv4 packet with Van Jacobson uncompressed TCP/IP header */
111 #define DIO_PACKET_IPV6 (0x57) /* IP packet version 6 */
112
113 /*
114 * Value constants for VAL_psi_xon
115 */
116 #define XON_NOT_VALID (0x0) /* xon value is unchanged */
117
118 /*
119 * Value constants for VAL_psi_xoff
120 */
121 #define XOFF_NOT_VALID (0x0) /* xoff value is unchanged */
122
123 /*
124 * Value constants for VAL_psi_n1
125 */
126 #define PSI_MUX_N1_NOT_VALID (0x0) /* mux max frame size is not changed */
127
128 /*
129 * Value constants for VAL_psi_n2
130 */
131 #define PSI_MUX_N2_NOT_VALID (0x0) /* number of retransmission is not changed */
132
133 /*
134 * Value constants for VAL_psi_t1
135 */
136 #define PSI_MUX_T1_NOT_VALID (0x0) /* acknowledgement timer is not changed */
137
138 /*
139 * Value constants for VAL_psi_t2
140 */
141 #define PSI_MUX_T2_NOT_VALID (0x0) /* response timer is not changed */
142
143 /*
144 * Value constants for VAL_psi_t3
145 */
146 #define PSI_MUX_T3_NOT_VALID (0x0) /* wake up response timer is not changed */
147
148 /*
149 * Value constants for VAL_psi_k
150 */
151 #define PSI_K_NOT_VALID (0x0) /* windows size is not changed */
152
153 /*
154 * Value constants for VAL_psi_data_mode
155 */
156 #define DRIVER_MODE_AT (0x1) /* The driver will transmit AT commands. */
157 #define DRIVER_MODE_DATA (0x2) /* The driver will transmit data. */
158 #define DRIVER_MODE_AT_DATA (0x3) /* The driver will transmit AT commands and data */
159
160 /*
161 * enum to UnionController DIO_CAP_UN
162 * CCDGEN:WriteEnum_Count==169
163 */
164 #ifndef __T_ctrl_DIO_CAP_UN__
165 #define __T_ctrl_DIO_CAP_UN__
166 typedef enum
167 {
168 ser_cap = 0x0,
169 pkt_cap = 0x1,
170 mux_cap = 0x2
171 }T_ctrl_DIO_CAP_UN;
172 #endif
173
174 /*
175 * enum to UnionController DIO_DCB_UN
176 * CCDGEN:WriteEnum_Count==170
177 */
178 #ifndef __T_ctrl_DIO_DCB_UN__
179 #define __T_ctrl_DIO_DCB_UN__
180 typedef enum
181 {
182 ser_dcb = 0x0,
183 pkt_dcb = 0x1,
184 mux_dcb = 0x2
185 }T_ctrl_DIO_DCB_UN;
186 #endif
187
188 /*
189 * user defined constants
190 */
191 #define PSI_PEER_ENTITY_NAME_LENGTH (0x6)
192
193 #include "CDG_LEAVE.h"
194
195
196 #endif