I am reading a smart meter ZIV 5CTM, and I get connect with this and read a lot of objects. My initial settings are server 144, client 2, Low authentication and password 00000001. I connect throught serial port with an optical probe.
When I read many times all objects, I have a problem, I cant connect, and the program send me and error message (SNRMRequest failed 252). The reason could be the communication isn't closed the last time, o maybe a problem of memory. I don't know.
After some minutes, I can come back to connect other time and read the objects.
Do you know the reason???
And another question... I only need to read 3 or 4 instant objects, but always that I connect, the client read all of Objects and the time is so long. Could I read only 3 objects, or I have read all of objects to establish the association??
I imagine that yo speak is in the GXDLMSDirector, but I am working with a Gurux.DLMS.cpp, and If I don't get objects, I have a problem with AARQRequest.
How can I keep the connection alive to read every minute??? Because if I close the connection, it takes 3 minutes to connect.
Perfect. But I think that isn a solution for my problem. My problem is that I take two and a half minutes to read the four objects that I need because the clientexample get all of objects.
I understood in the previous post to save the objects for it isn't necessary to read all of them always, but I don't know the way to do it.
You can save objects what you need to read to the file. Then you read only objects what you want to.
You need to save Logical name (like 0.0.1.0.0.255) and Object Type.
Problem SNRMRequest after read objects many times
Hi,
I believe that problem is that you did not call Disconnect after you have read your objects.
You can save objects (OBIS code and object type) example to the file and read only objects you want to.
BR,
Mikko
Hi,
Hi,
I imagine that yo speak is in the GXDLMSDirector, but I am working with a Gurux.DLMS.cpp, and If I don't get objects, I have a problem with AARQRequest.
How can I keep the connection alive to read every minute??? Because if I close the connection, it takes 3 minutes to connect.
Thank you so much!!!
Problem SNRMRequest after read objects many times
Hi,
Get the latest version. There is a new method.CGXDLMSClient::GetKeepAlive. Call this when you need to generate keepalive message.
Hi,
Hi,
Perfect. But I think that isn a solution for my problem. My problem is that I take two and a half minutes to read the four objects that I need because the clientexample get all of objects.
I understood in the previous post to save the objects for it isn't necessary to read all of them always, but I don't know the way to do it.
Thanks!!!
Problem SNRMRequest after read objects many times
Hi,
You can save objects what you need to read to the file. Then you read only objects what you want to.
You need to save Logical name (like 0.0.1.0.0.255) and Object Type.
BR,
Mikko