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. IEC62056-21 Handshake With Serial Port

IEC62056-21 Handshake with serial port

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 lara.wakim , 6 August, 2020
Forums
General discussion

Hi Mikko,

We read this information from your site "https://www.gurux.fi/Gurux.DLMS.Iec#ModeECPlusPlus" to support what we are writing below.

We know that if we are using IEC handshake with serial port we must first send identify command and move to mode E.

We will enumerate the steps below (correct me if we are wrong):

1- The client sends to the server "/?!\r\n" without the quotations. This requests the identity information from the device.

2- The server responds to the client with this format "/XXXZIdent\r\n" where XXX is the manufacturer name,Z is the maximum baud rate and Ident is the Identification info of the device

3- The client responds to the server with this format "0x06 "2" Z "2" \r\n" where Z is the requested connection speed. This is supposed to let us move to the mode E.

4- Our question concerns this step. In fact, at this stage the client and the server change the baud rate to the requested one. Then the client is waiting to a response from the server. What is this expected response? The server is supposed to send what from the client at that stage?
After this response the client and server are supposed to switch from 7E1 to 8N1 and the client should send the SNRM request and everything should work fine like a DLMS connection. Are we right?

Best Regards,

Lara Wakim

Profile picture for user Kurumi

Kurumi

5 years 10 months ago

Hi Lara,

Hi Lara,

Note! IEC handshake is used only when the optical probe is used. It's not used when you are communicating with a serial port.

If meter accepts the client settings t replies the approved settings, in your example "0x06 "2" Z "2" \r\n".

There is also a small delay after the baud-rate is changed before SNRM is sent.

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