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-Cosem On GPRS For Gas Meter

Dlms-Cosem On GPRS For Gas Meter

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 Caner Dinçer , 29 June, 2020
Forums
Gurux.DLMS

Hi,

I need to add dlms/cosem structure on our gas metering module so which will run on GPRS(udp) network.
As far as i understand on this platform, our module must push messages in scheduled time and must act like a client.
At this point, is it enough using of dlms client source code on Gurux Git? I'm a little confused about this integration so could you help me?

Best Regards

Profile picture for user Kurumi

Kurumi

5 years 11 months ago

Hi,

Hi,

You need to download Gurux.DLMS.Push.Listener.Example.
https://github.com/Gurux/Gurux.DLMS.Net/tree/master/Gurux.DLMS.Push.Lis…

It will listen to push messages and convert them to XML.

If you are using ciphered connection you must set correct authentication and block cipher keys.

BR,
Mikko

Caner Dinçer

5 years 11 months ago

Hi Mikko,

Hi Mikko,

As far as i understand, your suggestion is for usage remote server side. Can i use push example code on meter side?
https://github.com/Gurux/GuruxDLMS.c/tree/master/GuruxDLMSPushExample

Profile picture for user Kurumi

Kurumi

5 years 11 months ago

Hi,

Hi,

If you want to send push messages from the meter, check Arduino example:
https://github.com/Gurux/GuruxDLMS.c/blob/20d0ceadf1fc80d2ee0bbddf1d6cb…

BR,
Mikko

Caner Dinçer

5 years 11 months ago

Hi Mikko,

Hi Mikko,

I have tried to compile this code on Ardunio Uno but i'm getting an error but when i try to compile this code according to Ardunio Mega i didn't get any error. As far as i see, Uno memory is not suitable for this library. Also our own hardware has restricted rom and ram as Uno MCU so can i decrease some function usage on this library? Is it possible?

Profile picture for user Kurumi

Kurumi

5 years 11 months ago

Hi,

Hi,

EEPROM size in 1 KB in UNO. I'm sorry to say that it's too small. Generating CRC table is takin 1/4 from it. If you want to cipher generated data, the GMAC table will take the whole EEPROM.

I'm sorry to say but it's not possible to run in UNO.

BR,
Mikko

Caner Dinçer

5 years 11 months ago

Hi Mikko,

Hi Mikko,

It is not problem. Our own hardware has 2kb ram so can we use uncipher data on this mcu(MSP430FR6972)? What are min requirements of this library?

Profile picture for user Kurumi

Kurumi

5 years 11 months ago

Hi,

Hi,

It depends on what kind of functionality you want to implement. If you want to only send push messages and there is not a lot of data that you want to send it might be possible even with 2 LB of RAM. DLMS is not a simple protocol.

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