bacnet icon indicating copy to clipboard operation
bacnet copied to clipboard

Invalid settings-string after device-discovery

Open danielWQ opened this issue 8 years ago • 0 comments

When doing a device-discovery for the driver in the "Channel Configurator", the driver fills the settings string for the devices which will be added after selection. This settings-string is malformed since it contains a new-line character at the end. The channels.xml looks like this:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<configuration>
    <driver id="bacnet">
        <device id="2098111">
            <description>DB18'AS99</description>
            <deviceAddress>2098111</deviceAddress>
            <settings>remoteDevicePort=0xBAC1;broadcastIP=192.168.255.255
</settings>
        </device>
    </driver>
</configuration>

It should be

[...]
            <description>DB18'AS99</description>
            <deviceAddress>2098111</deviceAddress>
            <settings>remoteDevicePort=0xBAC1;broadcastIP=192.168.255.255</settings>
[...]

danielWQ avatar Mar 08 '16 11:03 danielWQ