aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/epan/unistim/broadcast.h
blob: 786745b6d73ef00948c11b982d72c6a7444192b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
/* broadcast.h
  * header field declarations, value_string def and true_false_string
  * definitions for broadcast manager messages
  * Copyright 2007 Don Newton <dnewton@cypresscom.net>
  *
  * Wireshark - Network traffic analyzer
  * By Gerald Combs <gerald@wireshark.org>
  * Copyright 1998 Gerald Combs
  *
  * This program is free software; you can redistribute it and/or
  * modify it under the terms of the GNU General Public License
  * as published by the Free Software Foundation; either version 2
  * of the License, or (at your option) any later version.
  *
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 */

#ifndef UNISTIM_BROADCAST_H
#define UNISTIM_BROADCAST_H

static int hf_broadcast_year=-1;
static int hf_broadcast_month=-1;
static int hf_broadcast_day=-1;
static int hf_broadcast_hour=-1;
static int hf_broadcast_minute=-1;
static int hf_broadcast_second=-1;
static int hf_broadcast_icon_state=-1;
static int hf_broadcast_icon_cadence=-1;


static const value_string broadcast_switch_msgs[]={
 {0x00,"Accessory Sync Update"},
 {0x01,"Logical Icon Update"},
 {0x02,"Time and Date Download"},
 {0x03,"Set Default Character Table Config"},
 {0xff,"Reserved"},
 {0,NULL}
};
#if 0
static const value_string broadcast_phone_msgs[]={
 {0xff,"Reserved"},
 {0,NULL}
};
#endif

static const value_string bcast_icon_states[]={
 {0x00,"I-Idle"},
 {0x01,"U-Idle"},
 {0x02,"I-Ring"},
 {0x03,"U-Ring"},
 {0x04,"I-Active"},
 {0x05,"U-Active"},
 {0x06,"I-Hold"},
 {0x07,"U-Hold"},
 {0x08,"I-Group Listen"},
 {0x09,"U-Group Listen"},
 {0x0A,"Feature Active"},
 {0x0B,"Feature Inactive"},
 {0x0C,"I-Hold Ringing"},
 {0x0D,"U-Hold Ringing"},
 {0x0E,"Active Audio"},
 {0x0F,"Hold Audio"},
 {0x10,"Home"},
 {0x11,"Business"},
 {0x12,"Extension Number"},
 {0x13,"Pager"},
 {0x14,"Voice"},
 {0x15,"Fax"},
 {0x16,"Email"},
 {0x17,"Wireless"},
 {0x18,"Internet Address"},
 {0x19,"Set-to-Set command"},
 {0x1A,"Secured"},
 {0x1B,"Trash Can"},
 {0x1C,"In Box"},
 {0x1D,"Out box"},
 {0x1E,"Video"},
 {0x1F,"Other/Misc"},
 {0,NULL}
};

static const value_string bcast_icon_cadence[]={
 {0x00,"Cadence off, On continuously"},
 {0x01,"Cadence on, Off continuously"},
 {0x02,"Flash, [1Hz]/[1/2]"},
 {0x03,"Flicker, [0.5Hz]/[13/16]"},
 {0x04,"Wink, [2Hz]/[3/4]"},
 {0x07,"Downloaded Cadence"},
 {0,NULL}
};

#endif