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.
130 lines
5.2 KiB
XML
130 lines
5.2 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>
|
|
</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_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="6" address_step="6" address_start="0x10" 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>
|
|
</paramset>
|
|
</channel>
|
|
</channels>
|
|
</device>
|