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. Mdm

Mdm

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 benyamin.chesh… , 24 January, 2022
Forums
Gurux.DLMS.AMI

Hi sir
I am building a modem for DLms meters and I have successfully launched the client with a microcontroller stm32 and read data meters successful and now I want to process it with the wrapper tcp that takes the request from the MDM's and reading it from the meters with client. How should I do that ?

Profile picture for user Kurumi

Kurumi

4 years 4 months ago

Hi,

Hi,

You need to implement both client and server for the stm32. The server is using WRAPPER and client HDLC. When svr_preRead of the server is invoked you will get the OBIS code and read that from the meter.
Then you set handled to true and return read value.

You can check this example to get started:

https://github.com/Gurux/GuruxDLMS.c/tree/master/GuruxDLMSDataCollector…

BR,
Mikko

benyamin.chesh…

4 years 4 months ago

Thank you, what I do not have

Thank you, what I do not have here is the lack of data sent from the
mdm and I do not know how to give and receive that data or what the data sent from the mdm is like. I have read section 10.7 of the Green Book. My country mdm use this method gateway portocol . Can you tell me how to build a simulator mdm that can test my modem?

Profile picture for user Kurumi

Kurumi

4 years 4 months ago

Hi,

Hi,

The simulator doesn't support gateway protocol at the moment without modifications. What framing you are using to send gateway protocol data? I can check if it can be added to the simulator.

BR,
Mikko

benyamin.chesh…

4 years 2 months ago

In reply to Hi, by Kurumi

0001000100010025E60002105CC81

0001000100010025E60002105CC81E300000038A5CC472560AE01B9C40F9491BAAD2377790ABFB1D3E2C5D0670
hi sir
Sample code that you wanted

Profile picture for user Kurumi

Kurumi

4 years 2 months ago

Hi,

Hi,

So you are using WRAPPER. We can add support to the gateway protocol for the simulator, but it will take time because there are other topics on the worklist at the moment.

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