mirror of
https://github.com/espressif/openthread.git
synced 2026-07-11 06:40:19 +00:00
70d315af23
The original `diag send` command is an asynchronous command. Users must wait for a certain period of time and then run the `diag stats` command to query how many packets have been sent to know whether all packets have been sent. This is very inefficient, and it is not convenient for scripts to process this command. This commit changes the command `diag send` from an asynchronous command to a synchronous command, and add the asynchronous command `diag send async`.