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 Client and Server As PC

DLMS Client and Server as PC

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 gkrishna , 2 April, 2020
Forums
General discussion

Hi,

I have actually Linux based IOT device like raspberry pi. I wanted to communicate with DLMS meters and me as a client, Instead of using my device, I have taken the PC where I am running Server and Client using Loopback interface since yet to buy the real meters. I am able to compile both server and client and able to run in PC, opening port and making connection everything is fine. But I am not getting detailed response like short name and long name. Do we need to make any settings for that,
I found the below. but there is no definition for ln_init() and how can we initialize parameters. Please help us on this that how can we initiate.

Before use you must set following device parameters. Parameters are manufacturer spesific.

All default parameters are given in constructor.
// Is used Logican Name or Short Name referencing.
dlmsSettings settings;
//Initialize settings using Logican Name referencing and HDLC.
ln_init(&settings);
//Initialize settings using Short Name referencing and HDLC.

Thanks,
Gopi Krishna

Profile picture for user Kurumi

Kurumi

6 years 2 months ago

Hi,

Hi,

Those values depend on the meter, manufacturer and authentication level.
When you start the example server you can see that it creates four servers. Connection settings are print to the command line. Use those settings.

BR,
Mikko

shakti0031

6 years 1 month ago

Hii

Hii

How to communicate between dlms server and dlms client using socket ??
Means without using any connection

Profile picture for user Kurumi

Kurumi

6 years 1 month ago

In reply to Hii by shakti0031

Hi,

Hi,

Please, create a new topic if you have a new question. I'll answer there for your question.

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