File dlms.c, line 4477, function dlms_handleSetResponse()
Type Set-Response-Last-Datablock PDU include a Result element that is not present in type Set-Response-Datablock PDU.
In the code both PDUs are interpreted as having the same elements:
else if (type == DLMS_SET_RESPONSE_TYPE_DATA_BLOCK || type == DLMS_SET_RESPONSE_TYPE_LAST_DATA_BLOCK)
{
uint32_t tmp;
if ((ret = bb_getUInt32(&data->data, &tmp)) != 0)
{
return ret;
}
}