zephyr/include
Kyle Sun a9b926414c net: lwm2m: Publicize firmware block context
This change is to allow access to the firmware block context in order to
give the firmware update callback implementation an indication of when
to reset the flash context. Additionally, it allows for a validity check
between the total expected size downloaded and the actual size
downloaded. A simple implementation can check if the block context's
current downloaded blocks is equal to the expected block size in order
to determine if the flash context needs to be reset. This approach
seemed the simplest, and knowing the firmware block context can have
other purposes. This has been tested by accessing the block context
during the update in the block received callback and confirming that the
callback had information regarding the current downloaded bytes.

Fixes #16122

Signed-off-by: Kyle Sun <yaomon18@yahoo.com>
2020-04-09 16:48:45 +02:00
..
app_memory kernel: fix k_mem_partition data types 2019-12-12 14:48:42 -08:00
arch arch: arc: optimize the arc v2 interrupt unit driver 2020-04-06 11:17:38 -07:00
audio doc: reference: Add pages for audio 2020-03-18 11:47:24 +01:00
bluetooth Bluetooth: host: Fix scan filter_dup parameter on big endian systems 2020-04-08 17:58:53 +03:00
canbus doc: doxygen: add missing groups and categorise 2020-03-14 13:01:03 -04:00
cmsis_rtos_v1
cmsis_rtos_v2 global: Remove leading/trailing blank lines in files 2019-12-11 19:17:27 +01:00
console
crypto docs: crypto: crypto API documentation 2020-03-14 13:01:03 -04:00
data treewide: avoid address-of-compound-literal idiom in headers 2019-12-18 21:53:17 +01:00
debug include: debug: remove old stack functions 2020-03-14 13:10:19 -04:00
devicetree devicetree: Rename spi cs gpio macros 2020-03-26 12:24:23 -05:00
dfu DFU: add init function with area id as parameter 2020-03-10 15:07:27 +02:00
disk doc: reference: Add disk access API 2020-03-18 11:47:24 +01:00
display
drivers drivers: arm_cmsdk/arm: Convert drivers to new DT_INST macros 2020-03-31 19:28:47 -05:00
dt-bindings soc: arm: nxp_imx: Convert from Kconfig to DT_NODELABEL 2020-04-04 09:34:00 -05:00
fs fs: remove NFFS subsystem 2020-01-21 15:32:47 +01:00
linker net: Remove leftovers for obsolete net stacks shell command 2020-04-01 10:41:58 -04:00
logging logging: Fix LOG_LEVEL_SET macro 2020-03-26 08:04:02 -04:00
mgmt subsys/mgmt: Enabling mynewt-core version of tinycbor 2020-03-17 11:58:18 +01:00
net net: lwm2m: Publicize firmware block context 2020-04-09 16:48:45 +02:00
posix pthread: add setname/getname glibc extensions 2020-03-10 15:15:34 +02:00
power power: add system power management direct force mode. 2020-01-24 21:37:40 -05:00
random doc: doxygen: add missing groups and categorise 2020-03-14 13:01:03 -04:00
settings doc: doxygen: add missing groups and categorise 2020-03-14 13:01:03 -04:00
shell global: Replace BUILD_ASSERT_MSG() with BUILD_ASSERT() 2020-03-31 07:18:06 +02:00
stats
storage
sys sys: onoff: generalize and shorten API 2020-04-06 16:41:41 +02:00
toolchain toolchain: common: Merge build assert macros 2020-03-31 07:18:06 +02:00
tracing tracing: move headers under include/tracing 2020-02-07 15:58:05 -05:00
usb usb: make usb descriptor power options configurable 2019-12-20 19:46:16 -05:00
zephyr include: Remove compat include headers 2019-12-10 08:39:37 -05:00
cache.h
device.h device: Provide a dummy macro for device_pm_control_nop on disabled PM 2020-03-27 14:48:30 +02:00
devicetree.h devicetree: re-work DT_INST_FOREACH() 2020-04-08 09:00:38 -05:00
exc_handle.h kernel: rename z_arch_ to arch_ 2019-11-07 15:21:46 -08:00
fatal.h
generated_dts_board.h dts: Add include/generated_dts_board.h for backwards compatibility 2020-01-17 17:57:59 +01:00
init.h kernel: add sys init level for SMP 2020-03-25 19:07:28 -04:00
irq_nextlevel.h include: respect line limit in api pointer initialization 2019-12-16 21:14:08 -05:00
irq_offload.h kernel: sychronize irq_offload() access 2019-11-08 15:16:43 -08:00
irq.h api: irq: Add Multi-level IRQ utility functions 2020-03-28 07:12:30 -04:00
kernel_includes.h headers: Refactor kernel and arch headers. 2019-11-06 16:07:32 -08:00
kernel_structs.h kernel/userspace: Move syscall_frame field to thread struct 2020-02-08 08:51:04 -05:00
kernel_version.h
kernel.h kernel/timeout: Doc cleanup 2020-03-31 19:40:47 -04:00
ptp_clock.h scripts: Replace hard-coded subsystem list with __subsystem annotations. 2020-03-11 17:13:39 +02:00
sched_priq.h
shared_irq.h include: respect line limit in api pointer initialization 2019-12-16 21:14:08 -05:00
spinlock.h global: Replace BUILD_ASSERT_MSG() with BUILD_ASSERT() 2020-03-31 07:18:06 +02:00
sw_isr_table.h
sys_clock.h kernel/timeout: Doc cleanup 2020-03-31 19:40:47 -04:00
syscall_handler.h kernel: rename struct _k_object 2020-03-17 20:11:27 +02:00
syscall.h global: Remove leading/trailing blank lines in files 2019-12-11 19:17:27 +01:00
timeout_q.h kernel/timeout: Add timeout remaining/expires APIs 2020-03-31 19:40:47 -04:00
toolchain.h
wait_q.h headers: Refactor kernel and arch headers. 2019-11-06 16:07:32 -08:00
zephyr.h