Comments (6)
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.
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.
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.
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.
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.
Thanks for the details.
from calimero-core.
Related Issues (20)
- DPT8 missing in README.md HOT 1
- Mangamementclient no basic restart anymore with v2.5? HOT 3
- [Feature Request] "protected" for some fields and methods of ManagementClientImpl HOT 6
- Warnings from Calimero HOT 13
- Receiving a GroupValueResponse with DPT 1.001 fails due to missing data in the asdu HOT 2
- DPT 251.600 format should be consistent across platforms and locales HOT 3
- readBool maxASDULen should be ‘1’ ?,now is ‘0’ HOT 1
- Android project runtime FATAL EXCEPTION. HOT 5
- GO Diagnostics: Improve selection of surrogate HOT 10
- DPT 10.001 is wrongly parsed when "no day" is present HOT 2
- Throws Exception when EventListener catch one HOT 2
- KNXNetworkLinkFT12: detect status, CEMI setting.... HOT 2
- Implement Transport Layer Connection-Oriented State Machine Style 3 HOT 2
- Throws `KNXTimeoutException` due to missing confirmation although the confirmation was received HOT 2
- Calimero GUI and KNX Virtual HOT 2
- Data Secure - Read Group Request management HOT 2
- Not able to connect to KNX USB RF module HOT 1
- Can not connect to serial port in tpuart monitor on Android HOT 7
- DPT 9.x lower boundary HOT 3
- DPT 7.003 and 7.004 unit HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from calimero-core.