I recently tried to use the timer to make the C6657 send and receive packets in the timer interrupt. It was found that some of the functions of the network packet transmission and reception in the NDK library function could not be used in the interrupt.
Console print information: It must be used in Task.
This seems very unreasonable. If you use polling to send and receive data, you will waste a lot of system resources.
So is there any way to send and receive network data in the timer interrupt?
Best wishes!