zephyr/subsys/shell
Pisit Sawangvonganan 7abda99fe3 shell: mqtt: use ring_buf_reset to flush rx_rb
The `sh_mqtt_rx_rb_flush` function was intended to flush `rx_rb` when
get an error return from `mqtt_read_publish_payload_blocking`.
Instead of retrieving values from `rx_rb` one by one, calling
`ring_buf_reset` achieves the same result more efficiently.

Signed-off-by: Pisit Sawangvonganan <pisit@ndrsolution.com>
2025-04-09 22:06:05 +02:00
..
backends shell: mqtt: use ring_buf_reset to flush rx_rb 2025-04-09 22:06:05 +02:00
modules shell: kernel: Add a panic command 2025-03-29 07:44:11 -04:00
CMakeLists.txt
Kconfig shell: Set default max argc count when WiFi shell is enabled 2025-03-14 14:40:57 +01:00
Kconfig.template.shell_log_queue_size
Kconfig.template.shell_log_queue_timeout
shell_cmds.c
shell_fprintf.c
shell_help.c
shell_help.h
shell_history.c
shell_log_backend.c
shell_ops.c
shell_ops.h
shell_utils.c
shell_utils.h
shell_vt100.h
shell_wildcard.c
shell_wildcard.h
shell.c shell: fixes shell dead code issue 2025-03-07 20:00:27 +01:00