currently i send a struct over udp like this from esp32 to esp8266,
Udp.beginPacket(custom, 4210);
Udp.print("ALDATA");
Udp.write((uint8_t*)&ts1, sizeof(ts1)); //cast to bytes
Udp.endPacket();
the size of ts1 is 262 bytes, When i send this message it seems like slow transmission, and slow receive. How can i speed this up. if i try to send like this would it send larger chunks?
I figured out why it was going slow, i was reading *39 uint32_t " 1248 bytes into a 255 byte buffer..
The problem with the variable sizes between the two cpu's is still a problem. i have a chart that explains the difference between arduino cpu's. but i cant seem to find a chart that explains the esp32 or 8266.