zephyr/subsys/net
Robert Lubos cf0b6068d2 net: coap_client: Fix CoAP client thread priority
The default thread priority for the CoAP client thread is set to
NUM_PREEMPT_PRIORITIES which is not a valid thread priority, as the
lowest application thread priority is actually
NUM_PREEMPT_PRIORITIES - 1. Because of this, CoAP client library gave an
assert on boot if assertions were enabled.

Kconfig does not allow for arithmetics when setting integer defaults,
therefore handle this at the preprocessor stage by limiting the actual
priority assigned to the CoAP client thread to a valid range.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2025-04-04 18:17:30 +02:00
..
conn_mgr
ip net: Add CONFIG_NET_CONN_PACKET_CLONE_TIMEOUT 2025-04-04 14:57:06 +02:00
l2 openthread: map Thread network interface state 2025-04-04 12:06:59 +02:00
lib net: coap_client: Fix CoAP client thread priority 2025-04-04 18:17:30 +02:00
pkt_filter
CMakeLists.txt
hostname.c
Kconfig
Kconfig.hostname
Kconfig.template.log_config.default.net
Kconfig.template.log_config.net