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. DLMS Server and DLMS Client Functionality

DLMS Server and DLMS client functionality

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 Harshad Patel , 27 June, 2022
Forums
Gurux.DLMS

I want to prepare below functionality

1. Need to read data from meter using DLMS client library source code
Done and working fine.

2. Need to push data using DLMS server( a data read by DLMS client) to third party server
Done and working fine.

3. Need to get request from third party server to connect/disconnect load of meter.
For that I want to pass third party request to
DLMS Server -> DLMS client -> Meter
and same for response from meter
Meter -> DLMS client -> DLMS server -> Third part server

Is it possible ? if yes then is there any example or guidance ?

Here, I am using below request as an example for send a request from third party server to DLMS Server

0001003000010022CB203000002F9FAD1A74C45D22A1C51977897540D92EE94CF3CB0A98759142012265

Profile picture for user Kurumi

Kurumi

3 years 11 months ago

Hi,

Hi,

Is the idea to use Security Suite 1 or 2 and general-ciphering?

3rd party signs the message and sends it to the client. The client checks the signing and removes it before sending a message for the meter.

Is this what you are looking for?

BR,
Mikko

Harshad Patel

3 years 11 months ago

We are using security as

We are using security as authenticationencryption and suite 0.

We are tryiing to send same payload request as generated by DLMS Gurux tool, from third party server to DLMS server -> DLMS client -> Meter

Till now achived below things :
Received load disconnect request from third party and parsed(decrypt ) it successfully using below API
svr_handleRequest2
But after decrypt payload, firmware get stucked at some where in API "dlms_getLNPdu"

Profile picture for user Kurumi

Kurumi

3 years 11 months ago

Hi,

Hi,

This is not designed for Security Suite 0. It's using GMAC.

Do you want to decrypt the message in the client before handling it?
It might work if your block cipher keys and frame counters are the same in the client as in the server and meter.

The better alternative is if the client works as a gateway that decrypts the messages before sending them from the server to the meter and vice versa. In that way, GW has its own frame counter and it might be more robust.

BR,
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