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. Connecting To Meter Using Wrapper

Connecting to meter using Wrapper

By Nintenzo , 23 August, 2026
Forums
Gurux.DLMS
 

Hello, I’m trying to connect to a meter using GXDLMSDirector.

I can successfully connect to the meter using a probe with the following configuration:

  • Interface: HDLC with Mode E
  • Logical Server Address: 1
  • Client Address: 1
  • Physical Server Address: 16
  • Authentication: Low
  • Password: 00000000

However, I cannot connect to the meter over TCP/IP.

1. HDLC with Mode E over TCP/IP

I first tried using HDLC with Mode E over the network. I received the following:

15:44:00 Initializing Network connection.
15:44:01 Send SNRM request.

7E A0 08 02 21 03 93 86 C1 7E

15:44:06 Data send failed. Try to resend 1/3
15:44:11 Data send failed. Try to resend 2/3
15:44:16 Failed to receive reply from the device in given time.

15:44:16 Disconnect request

7E A0 08 02 21 03 53 8A 07 7E

15:44:21 Data send failed. Try to resend 1/3
15:44:26 Data send failed. Try to resend 2/3
15:44:31 Failed to receive reply from the device in given time.

System.TimeoutException:
Failed to receive reply from the device in given time.

2. WRAPPER over TCP/IP

I then tried using the WRAPPER interface with:

  • IP: 105.198.230.49
  • Port: 4059
  • Client Address: 1
  • Logical Server Address: 1
  • Physical Server Address: 16
  • Authentication: Low
  • Password: 00000000

The TCP port is reachable (Test-NetConnection succeeds), but the DLMS association is rejected:

 

15:54:44 Initializing Network connection.
15:54:44 Send AARQ request.

00 01 00 01 00 10 00 38
60 36
A1 09 06 07 60 85 74 05 08 01 01
8A 02 07 80
8B 07 60 85 74 05 08 02 01
AC 0A 80 08 30 30 30 30 30 30 30 30
BE 10 04 0E 01 00 00 00 06 5F 1F 04 00 62 1E 5D FF FF

15:54:46

00 01 00 10 00 01 00 2B
61 29
A1 09 06 07 60 85 74 05 08 01 01
A2 03 02 01 01
A3 05 A2 03 02 01 01
BE 10 04 0E 08 00 06 5F 1F 04 00 00 1E 1D 00 00 00 07

Gurux.DLMS.GXDLMSException:
Connection is permanently rejected. No reason given.

Since the probe connection works with the same DLMS addresses, authentication, and password, I’m wondering whether there is a different configuration required for TCP/IP, such as a different client/server address, interface setting, or WRAPPER-specific configuration.

Is there anything I need to change in the GXDLMSDirector configuration to connect to the meter over TCP/IP?

  • Log in or register to post comments
  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Mon, 08/17/2026 - 11:28
    Gurux.DLMS.Python 1.0.202
  • Mon, 08/17/2026 - 09:47
    gurux.dlms.cpp 9.0.2608.1701
  • Mon, 08/17/2026 - 09:25
    gurux.dlms.c 9.0.2608.1701
  • Mon, 07/27/2026 - 12:37
    gurux.dlms.cpp 9.0.2607.2701
  • Thu, 07/23/2026 - 16:19
    gurux.dlms.java 4.0.96

New forum topics

  • Connecting to meter using Wrapper
  • DLMS Server / Meter emulation in Golang library
  • Unknown Baudrate
  • negative indexing for custom method/attribute
  • System title
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin