Skip to content

Invalid settings-string after device-discovery #6

@danielWQ

Description

@danielWQ

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>
[...]

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions