First off, thanks for this amazing project :) Thanks to it I was able to build a sous vide controller.
https://github.com/aguaviva/SousVide
It turns out that it works fine on PC

but on my mobile and my tablet I get this:

The main.cpp file in my github repo shows how am I using the websockets.
In the setup() I init the websockets like this:
ws.onEvent([](AsyncWebSocket * server, AsyncWebSocketClient * client, AwsEventType type, void * arg, uint8_t *data, size_t len)
{
if(type == WS_EVT_CONNECT)
{
Serial.printf("ws[%s][%u] connected\n", server->url(), client->id());
client->ping();
websocketsOnConnect(client);
}
else if(type == WS_EVT_DISCONNECT)
{
Serial.printf("ws[%s][%u] disconnected\n", server->url(), client->id());
}
});
server.addHandler(&ws);
and in the loop() I do something like this:
if (DataStreamer.tick())
{
STATE st = { (float)Temperature, (float)Power };
histData.Queue(st);
ws.binaryAll((char*)&st, sizeof(STATE));
}
Any ideas what could be going on? I'll be happy to test any experiments you may want me to test.