I have application (win32) that works with IEC commands reading Load Profile and Billing Data.
It can use Network, USB and Modem.
After meter connection and <ACK>202 meter in dlms mode, how do I create correct message to send via Network( send(socket, message, messageLength,0)) and how to interoperate received data.
I want to read Landis Gyr meter Registers one at a time.
In DLMS you don't just read the value, you need first to establish the connection to the meter before you can read anything. I strongly propose that you use Gurux Open Source libraries to read your meter if you need to use DLMS. DLMS is not an easy protocol where you just send a message and get a reply.
I want to use the GuruX Open Source libraries to read meter after establishing TCP connection.
Is there a way to hand a socket over to GuruX libraries after succesfull connection and then do readings?
Gurux libraries only generate and parse the data. You need to send the generated bytes using a communication channel that you like. In this case TCP/IP or UDP. Check the client example it will do what you want to do.
Hi,
Hi,
IEC 62056-21 and DLMS/COSEM are different procols.
http://www.gurux.fi/DLMSCOSEMFAQ
In DLMS you don't just read the value, you need first to establish the connection to the meter before you can read anything. I strongly propose that you use Gurux Open Source libraries to read your meter if you need to use DLMS. DLMS is not an easy protocol where you just send a message and get a reply.
BR,
Mikko
I want to use the GuruX Open
I want to use the GuruX Open Source libraries to read meter after establishing TCP connection.
Is there a way to hand a socket over to GuruX libraries after succesfull connection and then do readings?
Hi,
Hi,
Gurux libraries only generate and parse the data. You need to send the generated bytes using a communication channel that you like. In this case TCP/IP or UDP. Check the client example it will do what you want to do.
BR,
Mikko