Giter Club home page Giter Club logo

Comments (6)

calimero-project avatar calimero-project commented on June 12, 2024

v2.3 provides a link interface for TP-UART, see
https://github.com/calimero-project/calimero-core/blob/master/src/tuwien/auto/calimero/link/KNXNetworkLinkTpuart.java

from calimero-core.

tuxedo0801 avatar tuxedo0801 commented on June 12, 2024

Great. So accessing KNX via TP-UART would be possible.

I guess the existing IP Link implementation (tunneling+routing) can only interact with a real device and can not be used as a kind of "master" so that others can send data to this master, which can be then routed to the TP-UART link and vice versa?

from calimero-core.

calimero-project avatar calimero-project commented on June 12, 2024

I don't fully understand what you consider a real device.

Depending on the KNXnet/IP protocol requested to be used by the IP link, 1 endpoint (Tunneling) or [0..*] endpoints (Routing) are required. Client- and server-side of the protocols differ.

From your first question about a knx router interface, for calimero/eibd this means:
eibd uses the EIBnet/IP server front end, for which the equivalent in calimero is the KNXnet/IP server.
If you want to use the eibd front end for marshalling client data over a socket, you have to use eibd as this is specific to eibd.
How you multiplex data for transmission over a tpuart link is up to the application.

from calimero-core.

tuxedo0801 avatar tuxedo0801 commented on June 12, 2024

Seems we are using different wording. And I must admit, that I'm maybe not so familiar with the knx-conform-wording(, maybe also because I don't differentiate between knx and eib?!)

Question was: Is it possible to use an KNX TP-UART + Calimero + the computer's network-interface to "behave like an KNX IP Router device": Traffic from wired-knx-bus is routed to the ethernet (knx ip) and vice versa ??

From what I already understood:

The implementation to talk to the knx bus with an TP-UART is available. ok.

And the other end seems also to be present? --> "for which the equivalent in calimero is the KNXnet/IP server. "

Seems that all required part's are already there?
So, to put it all together:

Data from knx bus receives via TP-UART and the corresponding TP-UART link implementation in calimero. All I have to do is, forward the data (and maybe increment the routing counter and eventually some other stuff that real KNX IP Routers do) via the "KNXnet/IP server"(???) implementation to the ethernet and vice versa, right?

from calimero-core.

calimero-project avatar calimero-project commented on June 12, 2024

Is it possible to use an KNX TP-UART + Calimero + the computer's network-interface to "behave like an KNX IP Router device": Traffic from wired-knx-bus is routed to the ethernet (knx ip) and vice versa ??

Yes, take a look at the readme of calimero-server. It does exactly what you want. Maybe a little ascii art helps:

                          |             calimero-server                |
                          |    server-side           KNX subnet side   |
client <-KNXnet/IP link-> | KNXnet/IP <--> gateway <--> [1..n] subnets | <-link-> KNX

All I have to do is, forward the data (and maybe increment the routing counter and eventually some other stuff that real KNX IP Routers do) via the "KNXnet/IP server"(???) implementation to the ethernet and vice versa, right?

This is the case if you only run the server-side parts of the KNXnet/IP protocol (as opposed to running a KNXnet/IP server). Then you have to implement all the rest that makes up an actual "server", i.e., the gateway logic, interface objects, subnet connection, message filtering, etc.

from calimero-core.

tuxedo0801 avatar tuxedo0801 commented on June 12, 2024

Thanks for the details.

from calimero-core.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.