In legato 19.02 api is not supporting more than 2 string

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

how about making the API file like this?

STRUCT ARRAY123
{
string Array1[10];
int32 port1;
string Array2[10];
int32 port2;
string Array3[10];
int32 port3;
string Array4[10];
int32 port4;
string Array5[10];
int32 port5;
};

FUNCTION arraySend
(
ARRAY123 asd IN
);

It is working on my side with vscode leaf swi-wp76_4.7.0.
You can use my code:
IPC_step1.rar (2.4 KB)

HI please check in legato 19.02 version(swi-_wp76_4.0.1)

legato 20.04 fdmonitor issue

Please try in swi-wp76_4.7.0 first as it is proven to be working