68bc981c52
In case zperf session was aborted by the user (by for instance stopping it from shell), or practically in case of any other communication-related error, the zperf session could end up in a state other than NULL or COMPLETED, with no way to recover. This made the session no longer usable and eventually could lead to zperf being not able to start a new session anymore. Fix this by introducing zperf_session_reset() function, which resets the session state back to defaults. The function is called when the zperf receiver service is stopped. Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no> |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
Kconfig | ||
zperf_common.c | ||
zperf_internal.h | ||
zperf_session.c | ||
zperf_session.h | ||
zperf_shell.c | ||
zperf_tcp_receiver.c | ||
zperf_tcp_uploader.c | ||
zperf_udp_receiver.c | ||
zperf_udp_uploader.c |