I have a question about "Gateway" feature I can see in GXDLMSDirector and I see some pieces of code in gurux.dlms.java that refers to a GATEWAY protocol.
Can you please give me some details to understand how it can be used, and what sort of usecases it covers , I'm interested.
Thank you for the informations, excuse me juste for better understanding, what can be exactly the gateway component between client and meter ? Is it a network router for example (low level) or it can be a software service that forward the DPDU to the right meter destination ?
I don't believe that there are network routers that can do this at the moment. Some meter manufacturers are offering devices for this. You can also build your own router.
Hi Mikko,
Thank you very much for your response, the principle is interesting, we have to think about it.
For example if we choose to implement a gateway component, do you know if we can find best practices for managing meter associations :
- is it better to release association after every dlms/cosem request/response ?
- can we define an AA timeout (on meter side or gateway side ?)
The client needs to establish the connection, so you can't release the association after every request.
The meter should implement the inactivity timeout already in TCP/UDP setup, so you shouldn't need to implement it for the gateway.
Hi,
Hi,
Gateway in DLMS is quite simple. You can send the PDU to the gateway that then delivers the PDU to the meter using a physical device address.
So it doesn't change the PDU, Gateway just tells for what meter PDU is sent.
BR,
Mikko
Hi,
Hi,
Thank you for the informations, excuse me juste for better understanding, what can be exactly the gateway component between client and meter ? Is it a network router for example (low level) or it can be a software service that forward the DPDU to the right meter destination ?
Best Regards,
Mansour
Hi Mansour,
Hi Mansour,
I don't believe that there are network routers that can do this at the moment. Some meter manufacturers are offering devices for this. You can also build your own router.
BR,
Mikko
Hi Mikko,
Hi Mikko,
Thank you very much for your response, the principle is interesting, we have to think about it.
For example if we choose to implement a gateway component, do you know if we can find best practices for managing meter associations :
- is it better to release association after every dlms/cosem request/response ?
- can we define an AA timeout (on meter side or gateway side ?)
Thanks !
Mansour
Hi Mansour,
Hi Mansour,
The client needs to establish the connection, so you can't release the association after every request.
The meter should implement the inactivity timeout already in TCP/UDP setup, so you shouldn't need to implement it for the gateway.
https://www.gurux.fi/Gurux.DLMS.Objects.GXDLMSTcpUdpSetup
BR,
Mikko
Thank you very much Mikko !
Thank you very much Mikko !