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 treewide: use full path to can.h header 2020-01-26 17:52:12 +01:00
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 net: Verify correctness of iface_api inside L2 driver API 2019-12-09 12:55:29 -05:00
ethernet_mgmt.h
ethernet_vlan.h
ethernet.h net: Enable PM settings on network devices 2020-03-27 14:48:30 +02:00
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: mqtt: add MQTT_UTF8_LITERAL() helper macro 2020-03-13 10:06:18 +02:00
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: Expose a way to know if the network interface is suspended or not 2020-03-27 14:48:30 +02:00
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/iface: Add PM suspend state statistics 2020-04-02 11:07:45 +03:00
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 net: openthread: Update OpenThread version 2019-10-28 13:00:56 +02:00
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 net: Verify correctness of iface_api inside L2 driver API 2019-12-09 12:55:29 -05:00
socket_net_mgmt.h
socket_offload.h net: sockets: Remove socket offloading interface 2020-01-31 11:36:02 -05:00
socket_select.h
socket.h net: sockets: Remove socket offloading interface 2020-01-31 11:36:02 -05:00
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 net: Verify correctness of iface_api inside L2 driver API 2019-12-09 12:55:29 -05:00
wifi.h