Hello
I am new to Blynk. So far i like it very much but i have a really strange behaviour.
First off all:
I use an ESP32 Dev Board with Bluetooth Connection BLE
I use the IOS App
When i call:
table.addRow(rowCount,"name" ,"Float" );
it doesnt show up in the table in the app… but what is awkward… if i change the name… sometimes it gets shown and other times it doesnt… i tried a little bit and it seems to me, that it doesnt show up, if the name is exactly 4 characters… when i add a space after the name… example:
table.addRow(rowCount,"name " ,"Float" );
it is shown in the app…
Can someone check if it is the same issue with an Android app?
I made an example Scetch:
const String Names[5] ={"This", "is", "a","Test","Test2"};
float Time[5] = {0};
#define BLYNK_PRINT Serial
#define BLYNK_USE_DIRECT_CONNECT
#include <BlynkSimpleEsp32_BLE.h>
#include <BLEDevice.h>
#include <BLEServer.h>
char auth[] = "auth";
WidgetTable table;
BLYNK_ATTACH_WIDGET(table, V1);
// Button on V10 adds new items
BLYNK_WRITE(V10) {
if (param.asInt()) {
for (int i=0;i<5; i++){
table.addRow(i, Names[i], Time[i]);
Blynk.virtualWrite(V1, "deselect", i);
}
}
}
// Button on V11 clears the table
BLYNK_WRITE(V11) {
if (param.asInt()) {
table.clear();
}
}
void setup() {
// put your setup code here, to run once:
Blynk.begin(auth);
}
void loop() {
// put your main code here, to run repeatedly:
Blynk.run();
}