-
Notifications
You must be signed in to change notification settings - Fork 44
/
rf_pb-2.xml
180 lines (180 loc) · 8.85 KB
/
rf_pb-2.xml
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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
<?xml version="1.0" encoding="ISO-8859-1"?>
<device version="4" rx_modes="CONFIG,WAKEUP,LAZY_CONFIG" peering_sysinfo_expect_channel="false" supports_aes="true">
<supported_types>
<type name="HM Wireless Push-Button 2-channel for brand switch systems, flush-mount" id="HM-PB-2-FM"
updatable="true" priority="2">
<parameter index="10.0" size="2.0" const_value="0x00BF" />
</type>
</supported_types>
<paramset type="MASTER" id="remote_dev_master">
<parameter id="DEVICE_LED_MODE">
<logical type="option">
<option id="OFF" default="true" />
<option id="ON" />
</logical>
<physical type="integer" interface="config" list="0" index="5.6" size="0.2" />
<conversion type="integer_integer_map">
<value_map device_value="0x00" parameter_value="0" />
<value_map device_value="0x01" parameter_value="1" />
</conversion>
</parameter>
<parameter id="LOCAL_RESET_DISABLE">
<logical type="boolean" default="false" />
<physical type="integer" interface="config" list="0" index="24" size="0.1" />
</parameter>
</paramset>
<channels>
<channel index="0" type="MAINTENANCE" ui_flags="internal" class="maintenance" count="1">
<paramset type="MASTER" id="maint_ch_master" />
<paramset type="VALUES" id="maint_ch_values">
<parameter id="UNREACH" operations="read,event" ui_flags="service">
<logical type="boolean" />
<physical type="integer" interface="internal" value_id="UNREACH" />
</parameter>
<parameter id="STICKY_UNREACH" operations="read,write,event" ui_flags="service,sticky">
<logical type="boolean" />
<physical type="integer" interface="internal" value_id="STICKY_UNREACH" />
</parameter>
<parameter id="CONFIG_PENDING" operations="read,event" ui_flags="service">
<logical type="boolean" />
<physical type="integer" interface="internal" value_id="CONFIG_PENDING" />
</parameter>
<parameter id="LOWBAT" operations="read,event" ui_flags="service">
<logical type="boolean" />
<physical type="integer" interface="internal" value_id="LOWBAT" />
</parameter>
<parameter id="AES_KEY" operations="read" ui_flags="invisible">
<logical type="integer" min="0" max="127" />
<physical type="integer" interface="internal" value_id="AES_KEY" />
</parameter>
<parameter id="RSSI_DEVICE" operations="read,event">
<logical type="integer" />
<physical type="integer" interface="internal" value_id="RSSI_DEVICE" />
</parameter>
<parameter id="RSSI_PEER" operations="read,event">
<logical type="integer" />
<physical type="integer" interface="internal" value_id="RSSI_PEER" />
</parameter>
<parameter id="DEVICE_IN_BOOTLOADER" operations="read,event" ui_flags="service">
<logical type="boolean" />
<physical type="integer" interface="internal" value_id="DEVICE_IN_BOOTLOADER" />
</parameter>
<parameter id="UPDATE_PENDING" operations="read,event" ui_flags="service">
<logical type="boolean" />
<physical type="integer" interface="internal" value_id="UPDATE_PENDING" />
</parameter>
</paramset>
</channel>
<channel autoregister="true" index="1" type="KEY" count_from_sysinfo="23.0:1.0" pair_function="BA" function="A"
paired="true" aes_default="false">
<link_roles>
<source name="SWITCH" />
<source name="KEYMATIC" />
<source name="WINMATIC" />
<source name="REMOTECONTROL_RECEIVER" />
</link_roles>
<paramset type="MASTER" id="remote_ch_master">
<subset ref="key_paramset" />
</paramset>
<paramset type="VALUES" id="remote_ch_values">
<subset ref="key_valueset" />
</paramset>
<paramset type="LINK" id="remote_ch_link">
<subset ref="key_linkset" />
</paramset>
</channel>
</channels>
<frames>
<frame id="KEY_EVENT_SHORT" direction="from_device" allowed_receivers="CENTRAL,BROADCAST,OTHER" event="true"
type="0x40" channel_field="9:0.6">
<parameter type="integer" index="9.6" size="0.1" const_value="0" />
<parameter type="integer" index="10.0" size="1.0" param="COUNTER" />
<parameter type="integer" index="10.0" size="1.0" param="TEST_COUNTER" />
</frame>
<frame id="KEY_EVENT_LONG" direction="from_device" allowed_receivers="CENTRAL,BROADCAST,OTHER" event="true"
type="0x40" channel_field="9:0.6">
<parameter type="integer" index="9.6" size="0.1" const_value="1" />
<parameter type="integer" index="10.0" size="1.0" param="COUNTER" />
<parameter type="integer" index="10.0" size="1.0" param="TEST_COUNTER" />
</frame>
<frame id="KEY_EVENT_LONG_BIDI" direction="from_device" allowed_receivers="CENTRAL,BROADCAST,OTHER" event="true"
type="0x40" channel_field="9:0.6">
<parameter type="integer" index="1.5" size="0.1" const_value="1" />
<parameter type="integer" index="9.6" size="0.1" const_value="1" />
<parameter type="integer" index="10.0" size="1.0" param="COUNTER" />
<parameter type="integer" index="10.0" size="1.0" param="TEST_COUNTER" />
</frame>
<frame id="KEY_SIM_SHORT" direction="from_device" type="0x40" channel_field="9:0.6">
<parameter type="integer" index="9.6" size="0.1" const_value="0" />
<parameter type="integer" index="9.7" size="0.1" const_value="0" />
<parameter type="integer" index="10.0" size="1.0" param="SIM_COUNTER" />
</frame>
<frame id="KEY_SIM_LONG" direction="from_device" type="0x40" channel_field="9:0.6">
<parameter type="integer" index="9.6" size="0.1" const_value="1" />
<parameter type="integer" index="9.7" size="0.1" const_value="0" />
<parameter type="integer" index="10.0" size="1.0" param="SIM_COUNTER" />
</frame>
</frames>
<paramset_defs>
<paramset id="key_valueset">
<parameter id="PRESS_SHORT" operations="write,event" loopback="true" control="BUTTON.SHORT" burst_suppression="0">
<logical type="action" />
<physical type="integer" interface="command" value_id="COUNTER">
<event frame="KEY_EVENT_SHORT" auth_violate_policy="reject" />
<set request="KEY_SIM_SHORT" />
</physical>
<conversion type="action_key_counter" sim_counter="SIM_COUNTER" />
</parameter>
<parameter id="PRESS_LONG" operations="write,event" loopback="true" control="BUTTON.LONG">
<logical type="action" />
<physical type="integer" interface="command" value_id="COUNTER">
<event frame="KEY_EVENT_LONG" auth_violate_policy="reject" />
<set request="KEY_SIM_LONG" />
</physical>
<conversion type="action_key_counter" sim_counter="SIM_COUNTER" />
</parameter>
<parameter id="PRESS_LONG_RELEASE" operations="event" ui_flags="internal" burst_suppression="0">
<logical type="action" />
<physical type="integer" interface="command" value_id="COUNTER">
<event frame="KEY_EVENT_LONG_BIDI" auth_violate_policy="reject" />
</physical>
</parameter>
<parameter id="PRESS_CONT" operations="event" ui_flags="internal" burst_suppression="0">
<logical type="action" />
<physical type="integer" interface="command" value_id="COUNTER">
<event frame="KEY_EVENT_LONG" auth_violate_policy="reject" />
</physical>
<conversion type="action_key_same_counter" sim_counter="SIM_CONT_COUNTER" />
</parameter>
<parameter id="INSTALL_TEST" operations="event" ui_flags="internal">
<logical type="action" />
<physical type="integer" interface="command" value_id="TEST_COUNTER">
<event frame="KEY_EVENT_SHORT" />
<event frame="KEY_EVENT_LONG" />
</physical>
</parameter>
</paramset>
<paramset id="key_paramset">
<parameter id="LONG_PRESS_TIME">
<logical type="float" min="0.3" max="1.8" default="0.4" unit="s" />
<physical type="integer" interface="config" list="1" index="4.4" size="0.4" />
<conversion type="float_integer_scale" factor="10" offset="-0.3" />
</parameter>
<parameter id="AES_ACTIVE" ui_flags="internal">
<logical type="boolean" default="false" />
<physical type="boolean" interface="internal" value_id="AES" />
</parameter>
</paramset>
<paramset id="key_linkset">
<parameter id="PEER_NEEDS_BURST">
<logical type="boolean" default="false" />
<physical type="integer" interface="config" list="4" index="1.0" size="0.1" />
</parameter>
<parameter id="EXPECT_AES">
<logical type="boolean" default="false" />
<physical type="integer" interface="config" list="4" index="1.7" size="0.1" />
</parameter>
<enforce id="EXPECT_AES" value="$PEER.AES" />
</paramset>
</paramset_defs>
</device>