Hello!
In DLMS.c file gxget.c function getLNObjects().
First saving objects quantity in buffer for transmission, next increment this quantity. As result, DLMSDirector does not see last item.
Working correctly with this changes:
e->transaction EndIndex = count;
if (!found) // added
++count;
if ((ret = cosem_set Array(data, count)) != 0)
{
return ret;
}
if (!found)
{
// ++// ++count; // removed
//Count
if ((ret = cosem_set Structure(data, 4)) != 0 ||