mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-15 20:29:53 +00:00
This calculation reads the length portion of the COAP header to determine the length of the coap packet. However, when encrypted via DTLS this value seems to be getting corrupted. Let's change this calculation so that it will work for when DTLS is both enabled and disabled. Use the total length of the fragment data and substract back out the headers to get a correct value. Signed-off-by: Michael Scott <michael.scott@linaro.org> |
||
---|---|---|
.. | ||
bluetooth | ||
console | ||
cpp | ||
debug | ||
dfu | ||
disk | ||
driver_handlers | ||
fs | ||
logging | ||
net | ||
shell | ||
usb | ||
Kconfig | ||
Makefile |