Hi legato,
i am facing the issue in legato api struct . please check the below
.api*************************************************
STRUCT ARRAY
{
string Array1[10];
string Array2[10];
string Array3[10];
string Array4[10];
string Array5[10];
};
FUNCTION arraySend
(
ARRAY asd
);
log********
Apr 16 18:23:14 swi-mdm9x28-wp user.info Legato: INFO | canDBC[20710]/canDBCComponent T=canDBC | main.c PeriodicCanDataHdlr() 104 | PeriodicCanDataHdlr
Apr 16 18:23:14 swi-mdm9x28-wp user.emerg Legato: EMR | canDBC[20710]/framework T=canDBC | tm_pack_client.c tm_pack_arraySend() 722 | Assert Failed: ‘tm_pack_PackARRAY( &_msgBufPtr, &_msgBufSize, asdPtr )’
Apr 16 18:23:14 swi-mdm9x28-wp user.info Legato: INFO | supervisor[20690]/supervisor T=main | proc.c proc_SigChildHandler() 2051 | Process ‘canDBC’ (PID: 20710) has exited with exit code 1.
Apr 16 18:23:14 swi-mdm9x28-wp user.warn Legato: -WRN- | supervisor[20690]/supervisor T=main | app.c app_SigChildHandler() 4015 | Process ‘canDBC’ in app ‘canDBC’ faulted: Ignored.
Apr 16 18:23:14 swi-mdm9x28-wp user.info Legato: INFO | supervisor[20690]/supervisor T=main | app.c app_StopComplete() 4686 | app ‘canDBC’ has stopped.
Apr 16 18:23:14 swi-mdm9x28-wp user.info Legato: INFO | supervisor[20690]/supervisor T=main | apps.c DeactivateAppContainer() 374 | Application ‘canDBC’ has stopped.
legato version 19.02 , release13.1, vscode leaf swi-wp76_4.0.1