Wireshark  4.3.0
The Wireshark network protocol analyzer
broadcast.h
1 /* broadcast.h
2  * header field declarations, value_string def and true_false_string
3  * definitions for broadcast manager messages
4  * Copyright 2007 Don Newton <dnewton@cypresscom.net>
5  *
6  * Wireshark - Network traffic analyzer
7  * By Gerald Combs <gerald@wireshark.org>
8  * Copyright 1998 Gerald Combs
9  *
10  * SPDX-License-Identifier: GPL-2.0-or-later
11  */
12 
13 #ifndef UNISTIM_BROADCAST_H
14 #define UNISTIM_BROADCAST_H
15 
16 static int hf_broadcast_year;
17 static int hf_broadcast_month;
18 static int hf_broadcast_day;
19 static int hf_broadcast_hour;
20 static int hf_broadcast_minute;
21 static int hf_broadcast_second;
22 static int hf_broadcast_icon_state;
23 static int hf_broadcast_icon_cadence;
24 
25 
26 static const value_string broadcast_switch_msgs[]={
27  {0x00,"Accessory Sync Update"},
28  {0x01,"Logical Icon Update"},
29  {0x02,"Time and Date Download"},
30  {0x03,"Set Default Character Table Config"},
31  {0xff,"Reserved"},
32  {0,NULL}
33 };
34 #if 0
35 static const value_string broadcast_phone_msgs[]={
36  {0xff,"Reserved"},
37  {0,NULL}
38 };
39 #endif
40 
41 static const value_string bcast_icon_states[]={
42  {0x00,"I-Idle"},
43  {0x01,"U-Idle"},
44  {0x02,"I-Ring"},
45  {0x03,"U-Ring"},
46  {0x04,"I-Active"},
47  {0x05,"U-Active"},
48  {0x06,"I-Hold"},
49  {0x07,"U-Hold"},
50  {0x08,"I-Group Listen"},
51  {0x09,"U-Group Listen"},
52  {0x0A,"Feature Active"},
53  {0x0B,"Feature Inactive"},
54  {0x0C,"I-Hold Ringing"},
55  {0x0D,"U-Hold Ringing"},
56  {0x0E,"Active Audio"},
57  {0x0F,"Hold Audio"},
58  {0x10,"Home"},
59  {0x11,"Business"},
60  {0x12,"Extension Number"},
61  {0x13,"Pager"},
62  {0x14,"Voice"},
63  {0x15,"Fax"},
64  {0x16,"Email"},
65  {0x17,"Wireless"},
66  {0x18,"Internet Address"},
67  {0x19,"Set-to-Set command"},
68  {0x1A,"Secured"},
69  {0x1B,"Trash Can"},
70  {0x1C,"In Box"},
71  {0x1D,"Out box"},
72  {0x1E,"Video"},
73  {0x1F,"Other/Misc"},
74  {0,NULL}
75 };
76 
77 static const value_string bcast_icon_cadence[]={
78  {0x00,"Cadence off, On continuously"},
79  {0x01,"Cadence on, Off continuously"},
80  {0x02,"Flash, [1Hz]/[1/2]"},
81  {0x03,"Flicker, [0.5Hz]/[13/16]"},
82  {0x04,"Wink, [2Hz]/[3/4]"},
83  {0x07,"Downloaded Cadence"},
84  {0,NULL}
85 };
86 
87 #endif
88 
Definition: value_string.h:26