zephyr/include/net
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
..
bt.h
buf.h net: buf: Convert net_buf to use k_timeout_t where appropriate 2020-04-03 23:17:53 +03:00
can.h
coap_link_format.h
coap.h
dhcpv4.h
dns_resolve.h net: dns: Refactor because of timeout overhaul 2020-04-09 16:07:03 +03:00
dummy.h
ethernet_mgmt.h
ethernet_vlan.h
ethernet.h
gptp.h
hostname.h
http_client.h net: http: Refactor because of timeout overhaul 2020-04-09 16:07:03 +03:00
http_parser_state.h
http_parser_url.h
http_parser.h
ieee802154_mgmt.h
ieee802154_radio.h net: ieee802154: Allow event callback configuration 2020-04-07 14:24:10 +03:00
ieee802154.h
ipv4_autoconf.h
lldp.h
lwm2m.h net: lwm2m: Publicize firmware block context 2020-04-09 16:48:45 +02:00
mii.h
mqtt.h
net_config.h
net_conn_mgr.h
net_context.h net: context: Refactor because of timeout overhaul 2020-04-09 16:07:03 +03:00
net_core.h net: Add NET_WAIT_FOREVER symbol to be used as timeout in network APIs 2020-04-09 16:07:03 +03:00
net_event.h
net_if.h
net_ip.h
net_l2.h
net_linkaddr.h
net_mgmt.h net: mgmt: Refactor because of timeout overhaul 2020-04-09 16:07:03 +03:00
net_offload.h net: context: Refactor because of timeout overhaul 2020-04-09 16:07:03 +03:00
net_pkt.h net: pkt: Refactor because of timeout overhaul 2020-04-09 16:07:03 +03:00
net_stats.h
net_timeout.h net: Add NET_WAIT_FOREVER symbol to be used as timeout in network APIs 2020-04-09 16:07:03 +03:00
openthread.h
ppp.h net: ppp: Refactor because of timeout overhaul 2020-04-09 16:07:03 +03:00
promiscuous.h net: promisc: Refactor because of timeout overhaul 2020-04-09 16:07:03 +03:00
ptp_time.h
sntp.h
socket_can.h
socket_net_mgmt.h
socket_offload.h
socket_select.h
socket.h
socketutils.h
tls_credentials.h
trickle.h
udp.h
websocket.h net: websocket: Refactor because of timeout overhaul 2020-04-09 16:07:03 +03:00
wifi_mgmt.h
wifi.h