The #36758 fixes coap_packet_get_payload function by normalizing offset value in the library. That change create a regression on UpdateHub. However, the UpdateHub can now use coap_packet_get_payload function instead manually compute payload start and payload size. This refactors the current code in favor of coap_packet_get_payload and fixes the regression. Signed-off-by: Gerson Fernando Budke <gerson.budke@ossystems.com.br> |
||
|---|---|---|
| .. | ||
| include | ||
| CMakeLists.txt | ||
| Kconfig | ||
| shell.c | ||
| updatehub_device.c | ||
| updatehub_device.h | ||
| updatehub_firmware.c | ||
| updatehub_firmware.h | ||
| updatehub_priv.h | ||
| updatehub_timer.c | ||
| updatehub_timer.h | ||
| updatehub.c | ||