I am getting an segfault when trying to use activity calendar COSEM object.
Exact place where it happens:
In converters.c obj_activityCalendarToString:
when calling obj_dayProfileToString we want to append logicalName, but logicalName somehow is NULL.
Segfault occurs not always, maybe 7/10 times.
Is it known bug?
Found solved this by adding…
Found out, that simulator sends wrong data. Solved this by adding
if (!tmp2->byteArr) {
// ret = 1;
break;
}
to updateDayProfileTable method.