Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
display.h
1/*display.h
2 * header field declarations, value_string def and true_false_string
3 * definitions for display manager messages
4 * Copyright 2007 Don Newton <[email protected]>
5 *
6 * Wireshark - Network traffic analyzer
7 * By Gerald Combs <[email protected]>
8 * Copyright 1998 Gerald Combs
9 *
10 * SPDX-License-Identifier: GPL-2.0-or-later
11 */
12
13#ifndef UNISTIM_DISPLAY_H
14#define UNISTIM_DISPLAY_H
15
16static int hf_display_write_cursor_move;
17static int hf_display_write_clear_left;
18static int hf_display_write_clear_right;
19static int hf_display_write_shift_left;
20static int hf_display_write_shift_right;
21static int hf_display_write_highlight;
22static int hf_display_write_tag;
23static int hf_display_write_address_numeric;
24static int hf_display_write_address_context;
25static int hf_display_write_address_line;
26static int hf_display_write_address_soft_key;
27static int hf_display_write_address_soft_label;
28static int hf_display_write_address_softkey_id;
29static int hf_display_write_address_char_pos;
30static int hf_display_write_address_line_number;
31static int hf_display_cursor_move_cmd;
32static int hf_display_cursor_blink;
33static int hf_icon_id;
34static int hf_display_arrow;
35static int hf_display_clear_numeric;
36static int hf_display_clear_context;
37static int hf_display_clear_date;
38static int hf_display_clear_time;
39static int hf_display_clear_line;
40static int hf_display_clear_status_bar_icon;
41static int hf_display_clear_softkey;
42static int hf_display_clear_softkey_label;
43static int hf_display_clear_line_1;
44static int hf_display_clear_line_2;
45static int hf_display_clear_line_3;
46static int hf_display_clear_line_4;
47static int hf_display_clear_line_5;
48static int hf_display_clear_line_6;
49static int hf_display_clear_line_7;
50static int hf_display_clear_line_8;
51static int hf_display_clear_status_bar_icon_1;
52static int hf_display_clear_status_bar_icon_2;
53static int hf_display_clear_status_bar_icon_3;
54static int hf_display_clear_status_bar_icon_4;
55static int hf_display_clear_status_bar_icon_5;
56static int hf_display_clear_status_bar_icon_6;
57static int hf_display_clear_status_bar_icon_7;
58static int hf_display_clear_status_bar_icon_8;
59static int hf_display_clear_soft_key_1;
60static int hf_display_clear_soft_key_2;
61static int hf_display_clear_soft_key_3;
62static int hf_display_clear_soft_key_4;
63static int hf_display_clear_soft_key_5;
64static int hf_display_clear_soft_key_6;
65static int hf_display_clear_soft_key_7;
66static int hf_display_clear_soft_key_8;
67static int hf_display_clear_sk_label_key_id;
68static int hf_display_clear_all_slks;
69
70
71static int hf_display_line_width;
72static int hf_display_lines;
73static int hf_display_softkey_width;
74static int hf_display_softkeys;
75static int hf_display_icon;
76static int hf_display_softlabel_key_width;
77static int hf_display_context_width;
78static int hf_display_numeric_width;
79static int hf_display_time_width;
80static int hf_display_date_width;
81static int hf_display_char_dload;
82static int hf_display_freeform_icon_dload;
83static int hf_display_icon_type;
84static int hf_display_charsets;
85static int hf_display_contrast;
86static int hf_display_cursor_numeric;
87static int hf_display_cursor_context;
88static int hf_display_cursor_line;
89static int hf_display_cursor_softkey;
90static int hf_display_cursor_softkey_id;
91static int hf_display_cursor_char_pos;
92static int hf_display_cursor_line_number;
93static int hf_display_hlight_start;
94static int hf_display_hlight_end;
95static int hf_display_date_format;
96static int hf_display_time_format;
97static int hf_display_use_time_format;
98static int hf_display_use_date_format;
99static int hf_display_context_format;
100static int hf_display_context_field;
101static int hf_display_char_address;
102static int hf_display_layer_number;
103static int hf_display_layer_skey_id;
104static int hf_display_layer_all_skeys;
105static int hf_display_once_or_cyclic;
106static int hf_display_layer_duration;
107static int hf_display_call_timer_mode;
108static int hf_display_call_timer_reset;
109static int hf_display_call_timer_display;
110static int hf_display_call_timer_delay;
111static int hf_display_call_timer_id;
112
113
114static const value_string arrow_dirs[]={
115 {0x00,"Down"},
116 {0x01,"Up"},
117 {0x02,"Right"},
118 {0x03,"Left"},
119 {0,NULL}
120};
121
122
123static const value_string cursor_move_cmds[]={
124 {0x00,"Set cursor at home (first character on the first text line)"},
125 {0x01,"Set cursor at the address specified in the following byte"},
126 {0x02,"Move the cursor by one to the left"},
127 {0x03,"Move the cursor by one to the right"},
128 {0x04,"Move the cursor to the left as specified by the Character Position field contained in the last byte"},
129 {0x05,"Move the cursor to the right as specified by the Character Position field contained in the last byte"},
130 {0x06,"Cursor ON"},
131 {0x07,"Cursor OFF"},
132 {0xff,"No Movement command"},
133 {0,NULL}
134};
135
136static const value_string display_switch_msgs[]={
137 {0x01,"Restore Default Character Table Configuration"},
138 {0x04,"Arrow"},
139 {0x05,"Query Status Bar Icon"},
140 {0x06,"Highlight Off"},
141 {0x07,"Highlight On"},
142 {0x09,"Restore Time and Date"},
143 {0x0a,"Clear Time and Date"},
144 {0x0b,"Call Duration Timer"},
145 {0x0c,"Query Display Manager"},
146 {0x0d,"Download Call Duration Timer Delay"},
147 {0x0e,"Disable Display Field"},
148 {0x0f,"Clear Field"},
149 {0x10,"Cursor Control"},
150 {0x12,"Display Scroll with Data (before)"},
151 {0x13,"Display Scroll with Data (after)"},
152 {0x14,"Status Bar Icon Update"},
153 {0x15,"Month Labels Download"},
154 {0x16,"Call Duration Timer Label Download"},
155 {0x17,"Time and Date Format"},
156 {0x18,"Display Data Write address|no control|no tag|no"},
157 {0x19,"Display Data Write address|yes control|no tag|no"},
158 {0x1a,"Display Data Write address|no control|yes tag|no"},
159 {0x1b,"Display Data Write address|yes control|yes tag|no"},
160 {0x1c,"Display Data Write address|no control|no tag|yes"},
161 {0x1d,"Display Data Write address|yes control|no tag|yes"},
162 {0x1e,"Display Data Write address|no control|yes tag|yes"},
163 {0x1f,"Display Data Write address|yes control|yes tag|yes"},
164 {0x20,"Context Info Bar Format"},
165 {0x21,"Set Default Character Table Configuration"},
166 {0x22,"Special Character Download"},
167 {0x23,"Highlighted Field Definition"},
168 {0x24,"Contrast"},
169 {0x25,"Caller Log Download"},
170 {0x30,"Layered Softkey Text Download"},
171 {0x31,"Layered Softkey Clear"},
172 {0x32,"Set Visible Softkey Layer"},
173 {0x33,"Layered Softkey Cadence Download"},
174 {0x34,"Layered Softkey Cadencing On"},
175 {0x35,"Layered Softkey Cadencing Off"},
176 {0xff,"Reserved"},
177 {0,NULL}
178};
179static const value_string display_phone_msgs[]={
180 {0x00,"Display Manager Attributes Info"},
181 {0x01,"Contrast Level Report"},
182 {0x02,"Cursor Location Report"},
183 {0x03,"Highlight Status On"},
184 {0x04,"Current Character Table Configuration Status"},
185 {0x05,"Default Character Table Configuration Status"},
186 {0x06,"Timer And Date Format Report"},
187 {0x07,"Status Bar Icon State Report"},
188 {0x0a,"Highlight Status Off"},
189 {0xff,"Reserved"},
190 {0,NULL}
191};
192
193static const true_false_string once_or_cyclic={
194 "After the full cadence sequence is executed, softkey field will be updated ",
195 "After the full cadence sequence is executed, it is restarted from the top"
196};
197
198
199static const value_string display_formats[]={
200 {0x00,"None"},
201 {0x01,"Underline"},
202 {0x02,"Overline"},
203 {0x03,"Marquee (combination of an overline and an underline)"},
204 {0x04,"Border"},
205 {0x05,"Reverse-video"},
206 {0x06,"Reverse-video with border"},
207 {0,NULL}
208};
209static const value_string display_format_fields[]={
210 {0x00,"Numeric Index field"},
211 {0x01,"Context field"},
212 {0x02,"Date field"},
213 {0x03,"Time field"},
214 {0,NULL}
215};
216
217
218static const value_string time_formats[]={
219 {0x00,"12-hour clock, e.g. 10:34pm"},
220 {0x01,"French clock, e.g. 22h34"},
221 {0x02,"24-hour clock, e.g. 22:34"},
222 {0x03,"Reserved"},
223 {0,NULL}
224};
225
226static const value_string date_formats[]={
227 {0x00,"Day first, e.g. 16Sep"},
228 {0x01,"Month first, e.g. Sep16"},
229 {0x02," Numeric standard, e.g. 09/16"},
230 {0x03,"Numeric inverse, e.g. 16/09"},
231 {0,NULL}
232};
233
234static const value_string icon_types[]={
235 {0x00,"Fixed Form Icons"},
236 {0x01,"Free Form Icons"},
237 {0,NULL}
238};
239
240static const true_false_string call_duration_timer_mode={
241 "Mode = start timer",
242 "Mode = stop timer"
243};
244
245static const true_false_string call_duration_timer_reset={
246 "Reset time to zero",
247 "Do not reset timer"
248};
249
250static const true_false_string call_duration_display_timer={
251 "Call Duration timer is shown on the display",
252 "Call Duration timer is not shown on the display"
253};
254
255static const true_false_string call_duration_timer_delay={
256 "Action occurs after Call Duration Timer Delay",
257 "Action occurs immediately"
258};
259
260#endif
261
Definition value_string.h:25
Definition tfs.h:27