zephyr/include/net
Michael Scott 0d67f6a78d net: lwm2m: introduce FLAG_OPTIONAL to denote optional resources
This patch introduces several changes to support OPTIONAL resources.

The primary indicator for this behavior is to assign FLAG_OPTIONAL
to the object field's permission flags.

These resources are not setup by the LwM2M object code.  They are
left up to the user-based code for initialization via the following
functions:
lwm2m_engine_set_res_data()
lwm2m_engine_get_res_data()

When assigning const-based data as a data buffer, user-based code can
also specify the following data flag: LWM2M_RES_DATA_FLAG_RO

The FLAG_OPTIONAL flag also affects the LwM2M engine in the following
ways:
- CREATE operations won't generate an error if optional resources are
  not included.
- Object instance READ operations won't complain about missing
  optional resources.
- In the future, BOOTSTRAP operations can have different handling
  based on optional resources.

Signed-off-by: Michael Scott <michael@opensourcefoundries.com>
2018-05-16 10:56:07 +03:00
..
arp.h doc: net: group all networking APIs in doxygen 2017-11-17 17:14:18 -05:00
bt.h net: bt: Add advertise management command 2017-08-04 18:18:40 +03:00
buf.h doc: misspellings in public API doxygen comments 2018-04-05 19:16:24 -04:00
coap_link_format.h net: coap: Add multi fragment support to CoAP library 2017-10-06 22:07:37 -04:00
coap.h doc: net: group all networking APIs in doxygen 2017-11-17 17:14:18 -05:00
dhcpv4.h doc: net: group all networking APIs in doxygen 2017-11-17 17:14:18 -05:00
dns_resolve.h net: dns: Allow to initialize DNS servers from struct sockaddr[] 2018-01-18 17:30:40 +02:00
ethernet_mgmt.h net/ethernet: Add a management interface 2018-04-10 14:45:37 +03:00
ethernet_vlan.h net: if: vlan: Add virtual lan support 2018-04-05 08:54:19 -04:00
ethernet.h net: stats: Add infrastructure for collecting ethernet stats 2018-04-11 16:49:48 +03:00
hostname.h doc: net: group all networking APIs in doxygen 2017-11-17 17:14:18 -05:00
http_parser_state.h net: lib: http: split out URL parsing as a separate CONFIG 2017-10-17 08:08:16 -04:00
http_parser_url.h net: lib: http: split out URL parsing as a separate CONFIG 2017-10-17 08:08:16 -04:00
http_parser.h net: http: Provide destination address in http replies 2018-03-05 10:23:17 +01:00
http.h net: http: Fix client compilation if HTTPS is enabled 2018-04-26 12:35:05 +03:00
ieee802154_mgmt.h net/ieee802154: Split the net mgmt part from the L2 specific header 2017-12-12 09:29:48 -05:00
ieee802154_radio.h ieee802154: Make AR flag check generic and not tight to L2 2018-03-16 13:57:55 -07:00
ieee802154.h net/ieee802154: Do not set the device UP by default 2018-01-15 15:15:38 +02:00
lwm2m.h net: lwm2m: introduce FLAG_OPTIONAL to denote optional resources 2018-05-16 10:56:07 +03:00
mii.h
mqtt_types.h doc: do not show undocumented members 2018-03-20 14:01:30 -04:00
mqtt.h doc: net: group all networking APIs in doxygen 2017-11-17 17:14:18 -05:00
net_app.h net: app: Add a new API to get net pkt based on dst 2018-02-09 14:45:53 +02:00
net_context.h net: context: Add PRIORITY option support 2018-03-27 10:06:54 -04:00
net_core.h net: Align the stack infos in net_stack linker section 2018-03-27 10:06:54 -04:00
net_event.h net/mgmt: Move NET_EVENT_INFO_MAX_SIZE into net core's private header 2018-04-12 09:56:07 -04:00
net_if.h net: if: Add functions to get correct IPv4 address 2018-05-03 12:47:52 +03:00
net_ip.h net: if: Add functions to get correct IPv4 address 2018-05-03 12:47:52 +03:00
net_l2.h net: Remove the need for an l2 on offloaded drivers 2018-04-12 09:56:07 -04:00
net_linkaddr.h doc: net: group all networking APIs in doxygen 2017-11-17 17:14:18 -05:00
net_mgmt.h net/mgmt: Fix how event_mask is handled on layer and layer code part 2018-03-02 16:50:21 +01:00
net_offload.h net: if: Separate IP address configuration from net_if 2018-03-27 10:06:54 -04:00
net_pkt.h net: Update bit size of _unused member in struct net_pkt 2018-05-09 09:53:34 -04:00
net_stats.h net: stats: Add infrastructure for collecting ethernet stats 2018-04-11 16:49:48 +03:00
openthread.h include: net: net_l2: Add OpenThread L2 2018-01-29 22:42:03 -05:00
sntp.h net: sntp: Implement SNTP client library 2017-10-03 15:29:27 -04:00
socket.h net: sockets: Add freeaddrinfo() 2018-03-21 10:00:05 +02:00
tcp.h net: tcp: expose some TCP helper functions 2018-05-15 18:07:47 +03:00
trickle.h doc: net: group all networking APIs in doxygen 2017-11-17 17:14:18 -05:00
udp.h doc: net: group all networking APIs in doxygen 2017-11-17 17:14:18 -05:00
websocket_console.h net: websocket: Add console support 2018-03-15 15:17:36 +02:00
websocket.h net: websocket: Initial support for server websocket 2018-03-15 15:17:36 +02:00
wifi_mgmt.h net/mgmt/wifi: Add dedicated net mgmt hooks for WiFi offload devices 2018-04-12 09:56:07 -04:00
wifi.h net/mgmt/wifi: Add dedicated net mgmt hooks for WiFi offload devices 2018-04-12 09:56:07 -04:00