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. Trying To Autodiscover All Meters

Trying to autodiscover all meters

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 FedericoT , 7 June, 2017
Forums
Gurux.DLMS

(first of all, sorry for my bad english, i hope that you will understand my problem)
Hi, I'm really new using the DLMS protocol and the GURUX's library (thanks for that), so maybe my question is gonna be quite basic.

Right now I'm working on an emulator using c++. It's formed by a set of meters and recienty finish the data collector. What i wanted to do is to autodiscover which meters are conected to the net where I collect data. (I haven't tested it with real meters but in a few days I will)

I'm asking if there is some special message or broadcast which allow me to discover "all" the meter's IP (and ports) so i can connect. Or maybe is part of the protocol for meter to broadcast wich service they provide so the collector can add them to some list of servers.

I can connect using IP and port to all the meters and ask for all the Objects which were created on the side of the meter emulator, so I whink that everything is working fine from both sides.

Thank for taking your time.

Federico.

Profile picture for user Kurumi

Kurumi

9 years ago

Trying to autodiscover all meters

Hi Federico,

If you are using TCP/IP connections there is no way to auto discover all meters.
You have to add each separately. :-(

DLMS is offering broadcast message that can be used to find meters, but TCP/IP connections need to
know meter IP address and port number.

BR,

Mikko

BR,

Mikko

FedericoT

9 years ago

Hi mikko,

Hi mikko,

Yes, that exactly what I'm looking for, some broadcast message that data collectors (or meters) send and only meters (or data collectors) will understand. I have been looking for some way of broadcast using the GURUX DLMS implementation but I couldn't find anything, could you guide me a little more please?

Thanks mikko,
Federico.

Profile picture for user Kurumi

Kurumi

9 years ago

Hi,

Hi,

You can try to set server address to 0x7e. It's a broadcast message.
Then send SNRM message. If meter is there you will receive reply.

Do not try to send AARQ. It fails.

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