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. How To Read Dlms Frame Details?

How to read dlms frame details?

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 znasim , 17 August, 2019
Forums
General discussion

Hi Mikko
I want to read dlms frame and Parse its subfields. we want to connect a pc to a meter via 485 port, i study some standards and paper but still i don't know what is for example AARQ tag and how should i set it's value? or in some frames (SNRM & UA) the format & group identifier is one, and in other frames is another one.which subject can i read and understand this issues?

Profile picture for user Kurumi

Kurumi

6 years 9 months ago

Hi,

Hi,

DLMS is very complicated standard. AARQ depends on the used authentication level and several other parameters. I strongly suggest that you use our Open Source library to handle communication.
It saves a lot of time.

BR,
Mikko

znasim

6 years 9 months ago

Hi Mikko

Hi Mikko
do have stm library ?

znasim

6 years 9 months ago

hi mikko

hi mikko
i want to read data of meter via 485 and process with micro st how shoud i start?

Profile picture for user Kurumi

Kurumi

6 years 9 months ago

Hi,

Hi,

You can use normal ANSI C stack with STM. The only thing what is important is that you have enough memory. It also saves heap if you don't read the association view at all. In this case, you need to know what you are reading from the meter.

You can clone a client example from here:
https://github.com/Gurux/GuruxDLMS.c

You need to modify the example to read data from a serial port. You can check AtMega2560 example and modify com_readSerialPort for your needs.

BR

Mikko

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