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. Not Able To Test Arduino Client Code With GXDLMSDirector. Please Guide Me.

Not able to test arduino client code with GXDLMSDirector. Please guide me.

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 ajit_dc , 21 December, 2021
Forums
Gurux.Serial

I am new to DLMS protocol. I want to learn DLMS with arduino stuffs.

I have downloaded DLMS c code and able to build and flash it to arduino mega2560 with arduino version1.8.16. I have not changed anything in source file (client.ino). Now I want to connect arduino to GXDLMSDirector, So I created a device with random meter and configured serial communication in GXDLMSDirector.

I am getting 0x00 on UART0 (9600 baud) and getting message as ""DATA SEND FAILED" on traces UART1 (115200 baud).

Please help me to get response on UART0 (DLMS interface uart). Let me know if something I am doing wrong at arduino side or GXDLMSDirector side configuration. Thanks in advance.

Profile picture for user Kurumi

Kurumi

4 years 5 months ago

Hi,

Hi,

The client code will read the existing client. If you want to connect with GXDLMSDirector you need to make a server example. Build the server example and try again.

You can read this:
http://gurux.fi/Arduino

BR,
Mikko

ajit_dc

4 years 5 months ago

In reply to Hi, by Kurumi

Thank you Mikko for your

Thank you Mikko for your reply.

In the real sense, I want to read DLMS related data from physical energy meter with Arduino. As per my understanding, in this scenario, Arduino will be the client and Energy meter will be the server. That is why I programmed my Arduino board with client code.

Also I have a curiosity about GXDLMSDirector, whether it can be act as energy meter? so I can use this utility/tool to simulate energy meter(server).

Please let me know your thoughts and correct me if I am wrong.

Regards,
Ajit

Profile picture for user Kurumi

Kurumi

4 years 5 months ago

Hi,

Hi,

GXDLMSDirector can only work as a client. You can use a server example to server and communicate with it.

https://github.com/Gurux/Gurux.DLMS.Net/tree/master/Gurux.DLMS.Server.E…

Start example server with parameters:
-S COM_YOUR_SERIAL_PORT -t Verbose

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