-
Notifications
You must be signed in to change notification settings - Fork 5
KNX Networkdriver
<< Back to LDDI KNX-Integration page
There are 2 ways of connecting the KNX/IP gateway:
- binding to a UDP Multicast Channel
- create a direct communication channel to the gateway
Over this channel sensor messages from/to the KNX/IP gateway are received and sent. Configuration properties for connection (IP and port) are stored in config files and are provided by OSGi ConfigurationAdmin. KNX specifies a standard Address for the Multicast Channel for KNX/IP Routers: IP=224.0.23.12 UDP Port=3671
KnxNetworkDriverImp is the main class of this component. It registers as a service in the OSGi framework with the name org.universAAL.lddi.knx.networkdriver.IKnxNetwork. It manages a list of KNX devices (injected by knx.devicemanager) where the KNX group address is used as key. Incoming sensor events are passed on to the appropriate KNX device (identified by KNX group address).
The classes KNXReader and KNXWriter manage KNX messages to high level messages and vice versa.