zephyr/subsys/mgmt/mcumgr
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
..
buf.c misc: Replace assert include and calls by sys/__assert.h equivalent 2020-10-02 11:42:40 +02:00
CMakeLists.txt
Kconfig mgmt: mcumgr: Add support for enabling Direct-XIP app address check 2021-01-18 16:59:29 -05:00
serial_util.c misc: Replace assert include and calls by sys/__assert.h equivalent 2020-10-02 11:42:40 +02:00
smp_bt.c
smp_shell.c smp: shell: consume all pending buffers in smp_shell_process() 2021-05-06 19:13:20 +02:00
smp_uart.c
smp_udp.c
smp.c mgmt/mcumgr: Fixing use of k_fifo function on net buf 2021-03-29 16:13:38 -05:00