Through a serial port receive commands, there is another 600 timer interrupt us, after receive to send commands, length of 600 per 1024 us send a packet,
Package is such data [0]=ff data [1] a data [513]==a + 1 a starting from 0 each packet to add 2, other data has no special meaning,
The host program is as follows:
A serial port interrupt function
Timer interrupt function
Assistant caught after find through the network is the front (black part) lost more than n the appearance of the package, in theory should be red, why???????
CodePudding user response:
Is it possible is a question of wifi module, STM32 packets too fast, less than the time of wifi module based network, can try increasing the time interval between packets to check the problem of packet loss,CodePudding user response:
Should not,I interval to 2.4 ms sends a also is such,
Other WIFI modules throughput is 72 megabits per second, the 600 us send a, is 13.6 megabits per second, how do you say this is not fast!!!!!