This is an automated email from the ASF dual-hosted git repository. cdutz pushed a commit to branch develop in repository https://gitbox.apache.org/repos/asf/plc4x.git
commit 471873a71e30e1eb993a48f60ae006c3e3736913 Author: Christofer Dutz <[email protected]> AuthorDate: Fri Jan 22 13:02:55 2021 +0100 - Made the KNX driver return an error if the device we try to connect to doesn't support "tunneling" --- plc4go/internal/plc4go/knxnetip/KnxNetIpConnection.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plc4go/internal/plc4go/knxnetip/KnxNetIpConnection.go b/plc4go/internal/plc4go/knxnetip/KnxNetIpConnection.go index 2439065..397337e 100644 --- a/plc4go/internal/plc4go/knxnetip/KnxNetIpConnection.go +++ b/plc4go/internal/plc4go/knxnetip/KnxNetIpConnection.go @@ -304,6 +304,8 @@ func (m *KnxNetIpConnection) Connect() <-chan plc4go.PlcConnectionConnectResult return nil }, time.Second*1) + } else { + return errors.New("current device doesn't support tunneling") } return nil },
