You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
211 lines
8.1 KiB
XML
211 lines
8.1 KiB
XML
<?xml version="1.0"?>
|
|
<device eep_size="512" version="01">
|
|
<supported_types>
|
|
<type priority="2" id="HBW-EBTEST" name="Elektor EBus Test Board">
|
|
<parameter const_value="0xE0" size="1" index="0"/>
|
|
<parameter const_value="0" size="1" index="1"/>
|
|
</type>
|
|
</supported_types>
|
|
|
|
<paramset id="HBW-EBTEST_dev_master" type="MASTER">
|
|
<parameter id="LOGGING_TIME">
|
|
<logical type="float" unit="s" default="5.0" max="25.5" min="0.1"/>
|
|
<physical size="1.0" type="integer" interface="eeprom">
|
|
<address index="0x0001"/>
|
|
</physical>
|
|
<conversion type="float_integer_scale" offset="0.0" factor="10"/>
|
|
</parameter>
|
|
<parameter id="CENTRAL_ADDRESS" hidden="true">
|
|
<logical type="integer"/>
|
|
<physical size="4" type="integer" interface="eeprom">
|
|
<address index="0x0002"/>
|
|
</physical>
|
|
</parameter>
|
|
<enforce id="CENTRAL_ADDRESS" value="1"/>
|
|
</paramset>
|
|
|
|
<frames>
|
|
<frame id="LEVEL_SET" type="#x" channel_field="10" direction="to_device">
|
|
<parameter size="1.0" index="11.0" type="integer" param="LEVEL"/>
|
|
</frame>
|
|
<frame id="LEVEL_GET" type="#S" channel_field="10" direction="to_device"/>
|
|
<frame id="INFO_LEVEL" type="#i" channel_field="10" direction="from_device" event="true">
|
|
<parameter size="1.0" index="11.0" type="integer" param="LEVEL"/>
|
|
</frame>
|
|
<frame id="KEY_EVENT_SHORT" type="#K" channel_field="10" direction="from_device" event="true">
|
|
<parameter const_value="2" size="0.2" index="12.0" type="integer"/>
|
|
<parameter size="0.6" index="12.2" type="integer" param="COUNTER"/>
|
|
</frame>
|
|
<frame id="KEY_EVENT_LONG" type="#K" channel_field="10" direction="from_device" event="true">
|
|
<parameter const_value="3" size="0.2" index="12.0" type="integer"/>
|
|
<parameter size="0.6" index="12.2" type="integer" param="COUNTER"/>
|
|
</frame>
|
|
<frame id="KEY_EVENT_LONGRELEASE" type="#K" channel_field="10" direction="from_device" event="true">
|
|
<parameter const_value="0" size="0.2" index="12.0" type="integer"/>
|
|
<parameter size="0.6" index="12.2" type="integer" param="COUNTER"/>
|
|
</frame>
|
|
<frame id="KEY_EVENT_DOUBLE" type="#K" channel_field="10" direction="from_device" event="true">
|
|
<parameter const_value="1" size="0.2" index="12.0" type="integer"/>
|
|
<parameter size="0.6" index="12.2" type="integer" param="COUNTER"/>
|
|
</frame>
|
|
</frames>
|
|
|
|
<channels>
|
|
<channel index="0" type="MAINTENANCE" count="1" class="maintenance" ui_flags="internal">
|
|
</channel>
|
|
<channel index="1" type="SWITCH" count="1" physical_index_offset="-1">
|
|
<paramset id="hmw_switch_ch_master" type="MASTER" address_step="1" address_start="0x06">
|
|
<parameter id="LOGGING">
|
|
<logical type="option">
|
|
<option id="OFF"/>
|
|
<option id="ON" default="true"/>
|
|
</logical>
|
|
<physical size="0.1" type="integer" interface="eeprom">
|
|
<address index="+0"/>
|
|
</physical>
|
|
</parameter>
|
|
</paramset>
|
|
<paramset id="hmw_switch_ch_link" type="LINK" count="16" address_start="0x10" address_step="7" peer_param="SENSOR" channel_param="CHANNEL">
|
|
<parameter id="SENSOR" hidden="true" operations="none">
|
|
<logical type="address"/>
|
|
<physical type="array">
|
|
<physical size="4.0" type="integer" interface="eeprom">
|
|
<address index="+0"/>
|
|
</physical>
|
|
<physical size="1.0" type="integer" interface="eeprom">
|
|
<address index="+4"/>
|
|
</physical>
|
|
</physical>
|
|
</parameter>
|
|
<parameter id="CHANNEL" hidden="true" operations="none">
|
|
<logical type="integer" min="0" max="255" default="255"/>
|
|
<physical size="1.0" type="integer" interface="eeprom">
|
|
<address index="+5"/>
|
|
</physical>
|
|
</parameter>
|
|
<parameter id="SHORT_ACTION_TYPE">
|
|
<logical type="option">
|
|
<option id="ON"/>
|
|
<option id="OFF"/>
|
|
<option id="INACTIVE"/>
|
|
<option id="TOGGLE" default="true"/>
|
|
</logical>
|
|
<physical size="0.2" type="integer" interface="eeprom">
|
|
<address index="+6"/>
|
|
</physical>
|
|
</parameter>
|
|
<parameter id="LONG_ACTION_TYPE">
|
|
<logical type="option">
|
|
<option id="ON"/>
|
|
<option id="OFF"/>
|
|
<option id="INACTIVE"/>
|
|
<option id="TOGGLE" default="true"/>
|
|
</logical>
|
|
<physical size="0.2" type="integer" interface="eeprom">
|
|
<address index="+6.2"/>
|
|
</physical>
|
|
</parameter>
|
|
<parameter id="LONGRELEASE_ACTION_TYPE">
|
|
<logical type="option">
|
|
<option id="ON"/>
|
|
<option id="OFF"/>
|
|
<option id="INACTIVE" default="true"/>
|
|
<option id="TOGGLE"/>
|
|
</logical>
|
|
<physical size="0.2" type="integer" interface="eeprom">
|
|
<address index="+6.4"/>
|
|
</physical>
|
|
</parameter>
|
|
<parameter id="DOUBLE_ACTION_TYPE">
|
|
<logical type="option">
|
|
<option id="ON"/>
|
|
<option id="OFF"/>
|
|
<option id="INACTIVE" default="true"/>
|
|
<option id="TOGGLE"/>
|
|
</logical>
|
|
<physical size="0.2" type="integer" interface="eeprom">
|
|
<address index="+6.6"/>
|
|
</physical>
|
|
</parameter>
|
|
</paramset>
|
|
<paramset id="hmw_switch_ch_values" type="VALUES">
|
|
<parameter id="STATE" operations="read,write,event" control="SWITCH.STATE">
|
|
<logical type="boolean" default="false"/>
|
|
<physical type="integer" interface="command" value_id="LEVEL">
|
|
<set request="LEVEL_SET"/>
|
|
<get request="LEVEL_GET" response="INFO_LEVEL"/>
|
|
<event frame="INFO_LEVEL"/>
|
|
</physical>
|
|
<conversion type="boolean_integer" true="200" false="0" threshold="1"/>
|
|
</parameter>
|
|
</paramset>
|
|
</channel>
|
|
<channel index="2" type="KEY" count="1" physical_index_offset="-1">
|
|
<link_roles>
|
|
<source name="SWITCH"/>
|
|
</link_roles>
|
|
<paramset id="hmw_input_ch_master" type="MASTER" address_step="1" address_start="0x07">
|
|
<parameter id="LONG_PRESS_TIME">
|
|
<logical type="float" unit="s" default="1.0" max="5.0" min="0.4"/>
|
|
<physical size="1.0" type="integer" interface="eeprom">
|
|
<address index="+1"/>
|
|
</physical>
|
|
<conversion type="float_integer_scale" factor="10"/>
|
|
<conversion type="integer_integer_map">
|
|
<value_map to_device="false" from_device="true" parameter_value="10" device_value="0xff"/>
|
|
</conversion>
|
|
</parameter>
|
|
</paramset>
|
|
<paramset id="hmw_input_ch_link" type="LINK" count="16" address_step="6" address_start="0x80" channel_param="CHANNEL" peer_param="ACTUATOR">
|
|
<parameter hidden="true" id="CHANNEL" operations="none">
|
|
<logical type="integer" default="255" max="255" min="0"/>
|
|
<physical size="1.0" type="integer" interface="eeprom">
|
|
<address index="+0"/>
|
|
</physical>
|
|
</parameter>
|
|
<parameter hidden="true" id="ACTUATOR" operations="none">
|
|
<logical type="address"/>
|
|
<physical type="array">
|
|
<physical size="4.0" type="integer" interface="eeprom">
|
|
<address index="+1"/>
|
|
</physical>
|
|
<physical size="1.0" type="integer" interface="eeprom">
|
|
<address index="+5"/>
|
|
</physical>
|
|
</physical>
|
|
</parameter>
|
|
</paramset>
|
|
<paramset id="hmw_input_ch_values" type="VALUES">
|
|
<parameter id="PRESS_SHORT" operations="event,write" loopback="true" control="BUTTON.SHORT">
|
|
<logical type="action"/>
|
|
<physical type="integer" interface="command" value_id="COUNTER">
|
|
<event frame="KEY_EVENT_SHORT"/>
|
|
</physical>
|
|
<conversion type="action_key_counter" counter_size="6" sim_counter="SIM_COUNTER"/>
|
|
</parameter>
|
|
<parameter id="PRESS_LONG" operations="event,write" loopback="true" control="BUTTON.LONG">
|
|
<logical type="action"/>
|
|
<physical type="integer" interface="command" value_id="COUNTER">
|
|
<event frame="KEY_EVENT_LONG"/>
|
|
</physical>
|
|
<conversion type="action_key_counter" counter_size="6" sim_counter="SIM_COUNTER"/>
|
|
</parameter>
|
|
<parameter id="RELEASE_LONG" operations="event" loopback="true" control="BUTTON.RELEASE">
|
|
<logical type="action"/>
|
|
<physical type="integer" interface="command" value_id="COUNTER">
|
|
<event frame="KEY_EVENT_LONGRELEASE"/>
|
|
</physical>
|
|
<conversion type="action_key_counter" counter_size="6" sim_counter="SIM_COUNTER"/>
|
|
</parameter>
|
|
<parameter id="DOUBLECLICK" operations="event" loopback="true" control="BUTTON.DOUBLE">
|
|
<logical type="action"/>
|
|
<physical type="integer" interface="command" value_id="COUNTER">
|
|
<event frame="KEY_EVENT_DOUBLE"/>
|
|
</physical>
|
|
<conversion type="action_key_counter" counter_size="6" sim_counter="SIM_COUNTER"/>
|
|
</parameter>
|
|
</paramset>
|
|
</channel>
|
|
</channels>
|
|
</device>
|