Implement the serial media

Project: 
gurux.dlms.c

Hi,

In the server example 2, the medium of communication implemented so far is the TCP/UDP.

We are interested in the serial communication on the server side knowing that this media is already implemented and supported by the GXDLMSDirector, the client side.

We want the serial media to support the IEC62056-21 protocol handshake when optical port (strobe) connection is used before starting to communicate using DLMS protocol.

Best Regards,

Lara Wakim

Status: 
Closed (fixed)
Priority: 
Major
Category: 
Task
Component: 
Code
Reporter: 
lara.wakim
Created: 
Mon, 08/10/2020 - 13:02
Updated: 
Thu, 08/27/2020 - 12:08

Comments

Hi,

Do you know when the serial communication will be implemented on the server side (ANSI C)?

Thank you.

Administrator's picture

Status: Active » Closed (fixed)

Hi,

We downloaded the latest version and we tested it. We are glad to say that the serial communication is well implemented on the server side and everything is working fine.

But, we realize that the serial communication does not support the IEC62056-21 protocol handshake when optical port (strobe) connection is used (on the server side)
In fact, you implemented the function com_initializeSerialPort() taking as third argument the iec. But in the code you are always setting this argument to 0.

After checking the ANSI C client example, we noticed the use of the function com_initializeOpticalHead() that is also needed on the server side.

Can you please implement this feature? Do you want us to open a feature request on the blog?

Best Regards,

Lara Wakim

Kurumi's picture

Hi Lara,

We are adding support to handshake IEC62056-21 so you can move to mode E at some point. In the following weeks, our clients are keeping us so busy that we can add this at the beginning of next month.

BR,
Mikko