Documentation declares that maximum amount of bytes hold in struct that is sended as message is 250 bytes. I have made message that contains 60 int:
Code: Select all
typedef struct struct_message {
int message[60];
} struct_message;
Code: Select all
for (int i = 0; i < 14*4; i++) Serial.printf("mess[%i]: %i | ", i, incomingBuff.message[i]);
Serial monitor result:
mess[0]: 101 | mess[1]: 0 | mess[2]: 70 | mess[3]: 210 | mess[4]: 280 | mess[5]: 210 | mess[6]: 210 | mess[7]: 220 | mess[8]: 280 | mess[9]: 280 | mess[10]: 280 | mess[11]: 280 | mess[12]: 210 | mess[13]: 140 | mess[14]: 0 | mess[15]: 0 | mess[16]: 0 | mess[17]: 0 | mess[18]: 0 | mess[19]: 0 | mess[20]: 0 | mess[21]: 50 | mess[22]: 140 | mess[23]: 140 | mess[24]: 140 | mess[25]: 50 | mess[26]: 0 | mess[27]: 0 | mess[28]: 0 | mess[29]: 0 | mess[30]: 0 | mess[31]: 0 | mess[32]: 0 | mess[33]: 0 | mess[34]: 0 | mess[35]: 50 | mess[36]: 140 | mess[37]: 140 | mess[38]: 140 | mess[39]: 50 | mess[40]: 0 | mess[41]: 0 | mess[42]: 0 | mess[43]: 0 | mess[44]: 0 | mess[45]: 0 | mess[46]: 0 | mess[47]: 0 | mess[48]: 50 | mess[49]: 140 | mess[50]: 140 | mess[51]: 140 | mess[52]: 50 | mess[53]: 0 | mess[54]: 0 | mess[55]: 0 |
What magic is happening behind scene? I can't find any information about it in documentation
//Im using two ESP-32, both are set to two way communication with defined broadcast adresses.