zephyr/subsys/mgmt/mcumgr
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
..
buf.c
CMakeLists.txt
Kconfig mgmt: mcumgr: Consolidate Kconfig into a single file 2020-08-04 15:16:35 -04:00
serial_util.c
smp_bt.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
smp_shell.c mgmt: smp: Change smp_shell_rx_byte to process data in bulk 2020-09-03 21:53:00 +02:00
smp_uart.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
smp_udp.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
smp.c