zephyr/subsys/shell
Dominik Ermel 1b617a368f mgmt: smp: Change smp_shell_rx_byte to process data in bulk
The smp_shell_rx_byte has been renamed to smp_shell_rx_bytes and now
accepts data buffer pointer and its size as parameters. Return value
has been changed to size_t and represents number of bytes processed from
the given buffer.

The change has been done to more efficiently serve most common scenario
when the function is called in loop to process buffer, byte by byte.
Previously such operation required passing each byte separately,
with the change the function will work directly on source buffer
reducing number of calls and byte copy operations.

Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
2020-09-03 21:53:00 +02:00
..
modules device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
CMakeLists.txt
Kconfig
Kconfig.backends shell: kconfig: Clarify dependency of UART option from DTS 2020-08-11 19:30:05 +02:00
Kconfig.template.shell_log_queue_size
Kconfig.template.shell_log_queue_timeout
shell_cmds.c shell: correct build-in commands definition 2020-07-31 11:54:34 +02:00
shell_dummy.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
shell_fprintf.c
shell_help.c
shell_help.h
shell_history.c
shell_log_backend.c guideline: Make explicit fallthrough cases 2020-08-24 20:28:47 -04:00
shell_ops.c
shell_ops.h shell_ops: simplify flag_xxx_get functions 2020-08-18 10:44:35 -04:00
shell_rtt.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
shell_telnet_protocol.h
shell_telnet.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
shell_uart.c mgmt: smp: Change smp_shell_rx_byte to process data in bulk 2020-09-03 21:53:00 +02:00
shell_utils.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
shell_utils.h
shell_vt100.h
shell_wildcard.c
shell_wildcard.h
shell.c guideline: Make explicit fallthrough cases 2020-08-24 20:28:47 -04:00