"NOTE As specified in DLMS UA 1000-1 Ed. 13:2019, 4.1.2, manufacturers may add proprietary methods and/or attributes to any object, using negative numbers."
There is a lot of index positivity checks (for methods and attributes ) in GXDLMSClient.cs, so as far as I see proprietary methods or attributes will be blocked. Any way to change this behaviour?
Hi to all,
We are managing an AMI project and we designed with our provider an external modem than can connect to different existing meters, including elster A1800. The modem is powered with external 220v source and connected to the elster meter through the rs485 port. The meter has been configured to enable the connection with the modem and the dlms protocol has been activated also to support data collection from our HES.
1. In getCompactArrayItem() use only gxfree(value); but i think need use:
var_clear(value);
gxfree(value);
like in function getCompactArrayItem2().
2. In getCompactArrayItem2():
if (tmp->Arr == NULL)
{
//here need gxfree(tmp); because in row 1637: dlmsVARIANT* tmp = gxmalloc(sizeof(dlmsVARIANT));
return DLMS_ERROR_CODE_OUTOFMEMORY;
}