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?
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