I would like to understand how the client-server connection works.
I am using ANSI C via RS-232 serial port. How does the client initiate communication with the server? What is the address you need to connect to a specific server, a MAC address?
In the command:
// Initialize settings using Logical Name referencing and HDLC.
cl_init (& con.settings, 1, 16, 1, DLMS_AUTHENTICATION_NONE, NULL, DLMS_INTERFACE_TYPE_HDLC);
16 is the client ID, 1 is the server ID, what are those IDs? If I change the server ID it still connects.
If I had more than one meter, how could I connect to one or the other?
Hi,
Hi,
You can read basics from the addressing:
https://www.gurux.fi/dlmsaddress
If you have several meters in RS-485 bus you can (usually) use meter serial number to count the address for each meter
BR,
Mikko