zephyr/subsys/net/lib
Seppo Takalo dc8f6da53c net: lwm2m: Implement fallback mechanism and support for diable
If server registration fails, allow fallback to secondary server,
or fallback to bootstrap.
Also allow fallback to different bootstrap server.

Add API to tell RD client when server have been disabled by
executable command.

Changes to RD state machine:
* All retry logic should be handled in NETWORK_ERROR state.
* New state SERVER_DISABLED.
* Internally disable servers that reject registration
* Temporary disable server on network error.
* Clean up all "disable timers" on start.
* Select server first, then find security object for it.
* State functions return void, error handling is done using states.
* DISCONNECT event will only come when client is requested to stop.
* NETWORK_ERROR will stop engine. This is generic error for all kinds
  of registration or network failures.
* BOOTSTRAP_REG_FAILURE also stops engine. This is fatal, and we cannot
  recover.

Refactoring:
* Server selection logic is inside server object.
* sm_handle_timeout_state() does not require msg parameter. Unused.
* When bootstrap fail, we should NOT back off to registration.
  This is a fatal error, and it stops the engine and informs application.

Signed-off-by: Seppo Takalo <seppo.takalo@nordicsemi.no>
2023-12-05 16:40:06 -06:00
..
capture
coap net: lib: coap: Add coap_service_is_running 2023-12-01 10:56:56 +00:00
config net: l2: ieee802154: security config 2023-09-29 16:27:31 +02:00
dns net: dns: responders: Set the multicast TTL or hoplimit 2023-12-04 15:07:43 +01:00
http
lwm2m net: lwm2m: Implement fallback mechanism and support for diable 2023-12-05 16:40:06 -06:00
mqtt net: mqtt: close tcp socket after websocket_disconnect 2023-06-19 09:18:45 +01:00
mqtt_sn net: mqtt-sn: Remember incoming registered topic name 2023-11-22 09:53:33 +01:00
shell net: shell: ping: Fix double packet unref in ping reply handler 2023-12-04 14:30:26 +01:00
sntp
sockets net: socket: Add IPv6 multicast join/leave via socket 2023-12-04 16:38:49 +00:00
socks
tftp net: tftp: Ensure the error message fits into transmit buffer 2023-11-20 09:24:18 +01:00
tls_credentials net: tls_credentials: Add missing include dir for PSA API 2023-11-28 15:35:00 +01:00
utils
websocket random: Rename random header 2023-10-10 14:23:50 +03:00
zperf net: zperf: Fix TCP packet counting 2023-11-21 08:46:45 +00:00
CMakeLists.txt net: shell: Move the shell code to subsys/net/lib/shell 2023-10-23 10:40:28 +02:00
Kconfig