Hello, i am trying to read association logical name object but i get Not enough memory available error.
I am trying to do as your client example says to read one bye one, but i never leave com_readDataBlock() method and com_readDataBlock() returns out of memory error. Should I read only one data block, parse it, then again read?
Hi, Your meter doesn't…
Hi,
Your meter doesn't return all the bytes.
Some meters expect spesific frame size and if it's too small they can't handle it.
What meter you try to read?
BR,
Mikko
My meter is: CL730S22. I…
My meter is: CL730S22. I have no problem to read association view with GXDLMSDirector, it should be possible with C also.
also, i wanted to ask a…
also, i wanted to ask a question:
cl_getObjectsRequest() method has hardcoded one OBIS:
static unsigned char ln[] = { 0, 0, 40, 0, 0, 0xFF };
1. Is this OBIS code is always the same for all meters?
2. What if i have another association logical name OBIS? Will it read everything that is available?
Hi, Check your settings. If…
Hi,
Check your settings. If you can read your meter with GXDLMSDirector you can read it also with ANSI C.
This hardcoded OBIS is the default association view. There might be multiple association views in one meter, but the current association is assigned when the client establishes the connection for the meter.
BR,
Mikko