zephyr/subsys/mgmt
Marcin Niestroj 1beb95938e smp: shell: consume all pending buffers in smp_shell_process()
smp_shell_process() is called only once after receiving new bytes over
shell. If multiple MCUMGR frames were received over UART one after the
other, then calling smp_shell_process() resulted in consuming only the
first one. All subsequent frames were not processed unless there was
some more RX traffic.

Process received frames in smp_shell_process() in a loop until there is
no frame left. This will make sure that received packets are not stalled
waiting for more RX traffic to trigger processing again.

Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>
2021-05-06 19:13:20 +02:00
..
ec_host_cmd include: Move ec_host_cmd.h to mgmt/ec_host_cmd.h 2021-04-22 12:51:16 -04:00
hawkbit power: move reboot functionality to os lib 2021-04-28 20:34:00 -04:00
mcumgr smp: shell: consume all pending buffers in smp_shell_process() 2021-05-06 19:13:20 +02:00
osdp mgmt/osdp: Fix coverity identified logical dead-code 2021-03-10 10:15:48 -05:00
updatehub power: move reboot functionality to os lib 2021-04-28 20:34:00 -04:00
CMakeLists.txt ec_host_cmd: add ec host command handler framework 2020-09-04 14:50:45 -04:00
Kconfig ec_host_cmd: add ec host command handler framework 2020-09-04 14:50:45 -04:00