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. Gurux DLMS MeterStudio
  3. Gurux DLMS MeterStudio
  4. Transport
By Gurux Documentation , 30 November, 2026
Gurux DLMS MeterStudio

Open 4. Transport to choose how clients connect and how much space is available for DLMS messages.

Setting Effect
WRAPPER Enables DLMS WRAPPER over TCP on supported targets.
HDLC Enables direct HDLC communication over the target's serial interface.
HdlcWithModeE Enables an IEC 62056-21 Mode E opening exchange followed by HDLC.
Receive DLMS PDU size Sets the receive PDU buffer size in bytes and limits the request size the server can handle.
Send DLMS PDU workspace size Sets the working space used to construct outgoing DLMS messages. Size it for the requests and responses being handled; the workspace must accommodate the received request.
TCP port Sets the listening port for WRAPPER/TCP. Configure the client to use the same port.
HDLC max information TX Sets the server's HDLC transmit information-field limit. This is a link-layer limit, separate from the DLMS PDU size.
HDLC max information RX Sets the server's receive information-field limit for HDLC.
Serial port Selects the serial device opened by a desktop server, such as /dev/ttyUSB0 or the Windows device path shown in the field. It names the server's port.
Baud rate Sets the serial communication speed for direct HDLC. The peer must use compatible framing and speed.
Initial baud rate, Mode E Sets the opening exchange speed. The expected starting exchange is 300 baud, 7E1.
Negotiated baud rate, Mode E Sets the subsequent HDLC speed, using 8N1 framing.

Only interfaces supported by the selected target are listed. At least one interface is required. Selecting more than one interface adds their corresponding platform communication paths; account for their resource requirements.

Choosing buffer limits

The default receive and send PDU sizes in the current generator are 1024 bytes each. PDU sizes and HDLC information limits serve different layers. Raising an HDLC limit does not increase the PDU workspace. Increasing buffers also raises memory requirements, especially with static allocation.

WRAPPER additionally needs space for its eight-byte header. The generator checks applicable frame and memory limits; use Validation after changing sizes. Test larger object lists, profile reads and block transfers with the intended client.

Platform details

Desktop TCP servers bind to loopback by default. A port number alone does not expose the server on every network interface.

On ESP32, serial communication uses the device's configured pins. On NUCLEO, firmware uses LPUART1 PA2/PA3; choose the ST-LINK Virtual COM Port in the PC client. No PC COM-port name is embedded in that firmware.

Mode E uses the manufacturer FLAG ID from Standard. A successful TCP test does not verify serial wiring or Mode E behavior.

Return to the manual.

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

Book navigation

  • Standard
  • Target
  • Referencing
  • Transport
  • Associations
  • Passwords
  • Security
  • Objects
  • Validation
  • ZIP
  • Build

Hire Us!

Latest Releases

  • Mon, 11/30/2026 - 14:21
    gurux.dlms.c 9.0.2611.3001
  • Thu, 11/26/2026 - 15:24
    gurux.dlms.c 9.0.2611.2601
  • Thu, 11/19/2026 - 10:57
    Gurux.DLMS.Python 1.0.204
  • Thu, 11/19/2026 - 10:12
    gurux.dlms.c 9.0.2611.1901
  • Tue, 10/13/2026 - 12:00
    gurux.dlms.java 4.0.97

New forum topics

  • Landis E650 meter reading over DLMS
  • class_id = 40, version = 2, pushsetup Unparsed data frame
  • GXObisValueItem entries without MaskSize appear to be interpreted as bit flags
  • CheckedListBox incorrectly selects GXObisValueItem Value=0 for non-zero values
  • UIValueType=TextBox is rendered as CheckedListBox when Values are defined
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin