Skip to main content
Home
for DLMS smart meters
Open source solutions for DLMS smart metering

Main navigation

  • Home
  • Products
  • About us
  • Open Source
  • Community
  • Forum
  • Downloads
User account menu
  • Log in

Breadcrumb

  1. Home
  2. Forums
  3. Gateway Protocol

Gateway protocol

Forum Rules

Before commenting read Forum rules

Don't comment the topic if you have a new question.

You can create a new topic selecting correct category from Gurux Forum and then create a new topic selecting "New Topic" from the top left.

By mansour , 29 November, 2022
Forums
DLMSDirector

Hi Mikko,

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.

Thanks !

Best Regards,
Mansour.

Profile picture for user Kurumi

Kurumi

3 years 6 months ago

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

mansour

3 years 6 months ago

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

Profile picture for user Kurumi

Kurumi

3 years 6 months ago

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

mansour

3 years 6 months ago

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

Profile picture for user Kurumi

Kurumi

3 years 6 months ago

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

mansour

3 years 5 months ago

Thank you very much Mikko !

Thank you very much Mikko !

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Tue, 06/09/2026 - 11:16
    gurux.dlms.java 4.0.95
  • Tue, 06/09/2026 - 10:03
    Gurux.DLMS.Python 1.0.199
  • Mon, 06/08/2026 - 13:39
    gurux.dlms.cpp 9.0.2606.0801
  • Mon, 06/01/2026 - 10:15
    gurux.dlms.cpp 9.0.2606.0101
  • Thu, 05/28/2026 - 16:06
    gurux.dlms.java 4.0.94

New forum topics

  • Error reading L&G Meter
  • Pass a TCP Client to GXNet
  • Australian EDMI Mk10D (Essential Energy area)
  • Strange mix of data notificiation vs get response
  • DLMS Connection
More

Who's new

  • Tuanhgg
  • Adel
  • charnon
  • Paddles
  • Miguel Ángel
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin