Add more "labels" in MENU from hardware side

Hello, I wanted to know if it is possible to add more than 30 “labels” using the command Blynk.setProperty(Variable, “labels”, “1”, …, “30”);

I’ve been trying several ways (like add.items), but the only one that allows me to add more than 30 labels is through the BLYNK APP (in theory up to 255), can this be done from the hardware side? It would make it much easier for me to replicate the code instead of making it by hand in the APP.

Thank you!

Hi @PabloBck

Yes, my guess it should work.

but there ir a code-way to do this?.
im trying :

items.add(“1”);
items.add(“2”);

items.add(“40”);
Blynk.setProperty(V1,“labels”, items);

and i can only see 30 labels.

and whit : Blynk.setProperty(Variable, “labels”, “1”, …, “40”);

its the same.

ty

Apparently some limitation does come up.
Maybe your message is out of BLYNK_MAX_SENDBYTES on library side?

already try puttin #define BLYNK_MAX_SENDBYTES 1024 on top .

and this is what i do: (* V1 is virtual pin - int 0-255)

void function(){
BlynkParamAllocated items(128);
items.add(“1”);
items.add(“2”);

items.add(“40”);
Blynk.setProperty(V1,“labels”, items);
Blynk.virtualWrite(V1, 1);
}

BLYNK_CONNECTED(){
function();
}