I am reading from IS15959-2 meter and using libguruxdlmsc C Library.
Query: How to bypass com_getAssociationView() ?
Issue: After AARQ response, C library get meter info through com_getAssociationView(). In case I comment out that, than not getting expected value from oa_findByLN() API.
Hi,
Hi,
If you know what you want to read you don't need to read association view. You can define OCSEM objects like this and then read them.
static gxClock clock1;
const unsigned char ln[6] = { 0, 0, 1, 0, 0, 255 };
INIT_OBJECT(clock1, DLMS_OBJECT_TYPE_CLOCK, ln);
ret = com_read(connection, &clock1, 2);
BR,
Mikko
Hi Mikko,
Hi Mikko,
It works. Thank you!
Best Regards,
Vishal PATEL
Hi,
Hi,
Just remember that if you change the meter type you must verify that the same logical name is used in the new meter. This is a quite common problem.
BR,
Mikko