I have a computer that creates an AP which multiple microcontrollers connect to. The computer sends out UDP Broadcast packets that tell the microcontrollers to do different things.
I have an issue where the packets are being received by the microcontrollers out of sync, meaning the computer is sending the packets at a very consistent interval, but on the receiving end, the packets are being received with the time between them compressing and expanding every so many packets. This only happens when there are lower times between packets being sent (usually around 0.5 seconds or less).
I have confirmed that this issue is being caused by the network, and not the microcontrollers decoding the packets. Are there any ways I can optimize a 2.4gHz WiFi network to decrease these inconsistencies with the timing?