Topic: Struct limit of 256 bytes?
Hello, I have this code
uint8_t RemoteXY_CONF[] =
{ 13,280,113,0,6,0,2,4,16,93
,2,5,53,56,2,5,90,0,7,36
,1,57,87,5,1,94,50,5,0,11
,1,1,89,57,10,5,52,94,10,5
,0,83,69,78,68,0,67,0,2,2
,91,3,2,2,55,5,2,56,67,0
,2,5,91,3,2,7,55,5,2,56
,67,0,2,8,91,3,2,12,55,5
,2,56,67,0,2,11,91,3,2,17
,55,5,2,56,67,0,2,14,91,3
,2,22,55,5,2,56,130,0,1,1
,98,55,1,1,61,92,6 };
/* this structure defines all the variables of your control interface */
struct {
/* input variable */
int8_t slider_1; /* =0..100 slider position */
char edit_1[11]; /* string UTF8 end zero */
uint8_t button_1; /* =1 if button pressed, else =0 */
/* output variable */
char text_1[56]; /* string UTF8 end zero */
char text_2[56]; /* string UTF8 end zero */
char text_3[56]; /* string UTF8 end zero */
char text_4[56]; /* string UTF8 end zero */
char text_5[56]; /* string UTF8 end zero */
/* other variable */
uint8_t connect_flag; /* =1 if wire connected, else =0 */
} RemoteXY;
It doesn't works, but if I change size of texts to like 32, then it will work.
Looking in the code I can see #define REMOTEXY_SEND_BUFFER_LENGTH 256 but increasing it (tried 2560) doesn't solve the problem.
I would like a way to increase this limit, or better yet, remove limit if possible