this was my base, and my solution for this.
but if i send more as 10 Bytes ( data + \0 ) then the string is cutting.
because the sbuffer is 20 ( sbuff ) i think there can it be a bug in FC.
perhabs you can check it, would be fine
thanks Leigh, i edit the c code in FCM_helperFunc_X:
Code: Select all
int (*lf) ();
lf = ( unsigned short *) FCL_PADDR;
think now i understand the principal with strings in FC better.
this local copy of strings is same theme with char++
if i want make char++ then i do not use the local copy,
you gave me this last year, i remember me
have test to make send struct now too, and do the work
will update the fcx later time and upload a solution for sending structs.