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. Node
  3. 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?

Profile picture for user Kurumi

Kurumi

2 weeks 6 days ago

Hi, I believe that your…

Hi,

I believe that your meter is using a different client address than 0x10.
Try changing the authentication level to None and keeping the client address at 0x10.

I believe that you can connect to the meter.

This used client address should be in the meter documentation.

Regards,
Mikko

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Wed, 08/26/2026 - 09:04
    Gurux.DLMS.Python 1.0.203
  • 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

New forum topics

  • Topic: Insufficient Memory Error When Reading Class 7 Profile Generic Objects
  • SN ReadResponse returns all-null values when response spans multiple HDLC frames
  • Gurux.Serial.Android 3.0.6 – CH340 (HL-340) USB-Serial Adapter Not Working,
  • Trying to talk to a L&G E360 meter (Using Python Gurux)
  • Reading PushSetupObject attr 10 error
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin