zephyr/subsys/mgmt
Dominik Ermel 8a4c58618b mgmt/mcumgr/lib: Return error on bad SMP header
The changes smp_process_request_packet to return MGMT_ERR_ECORRUPT
in case when failed to read header.
This helps to recognize that there will not be any response sent
from mcumgr to the buffer given to smp_process_request_packet as
it has not been recognized as valid request.
It also removes redundant check on mgmt_streamer_init_reader which
always returns 0 (no failure) in Zephyr.

Signed-off-by: Dominik Ermel <dominik.ermel@nordicsemi.no>
2022-01-31 17:22:03 +01:00
..
ec_host_cmd toolchain: migrate iterable sections calls to the external API 2021-08-12 17:47:04 -04:00
hawkbit subsys/mgmt/hawkbit: Check retval of mbedtls_md_update 2021-09-14 12:28:40 -04:00
mcumgr mgmt/mcumgr/lib: Return error on bad SMP header 2022-01-31 17:22:03 +01:00
osdp mgmt/osdp: Handle errors in uart_fifo_read() 2021-11-23 10:39:03 -05:00
updatehub mgmt: updatehub: Use coap_packet_get_payload function 2021-09-02 16:54:15 +02: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