zephyr/samples
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
..
application_development samples/code_relocation_nocopy: Increase fake flash size 2023-11-20 06:07:58 -05:00
arch samples: fix thread function signatures 2023-10-30 12:24:34 +01:00
basic samples/basic: Switch from native_posix to native_sim 2023-11-14 13:06:01 +01:00
bluetooth samples/bluetooth: Reduce sysbuild boilerplate 2023-12-02 07:53:11 -05:00
boards samples/boards/nrf/nrf53_sync_rtc: Reduce sysbuild boilerplate 2023-12-02 07:53:11 -05:00
charger samples: charger: Creates a generic sample application for chargers 2023-10-20 14:55:22 +02:00
compression samples: lz4: reduce malloc arena size 2023-11-14 09:04:11 +01:00
cpp doc: fix :zephyr-app: paths 2023-07-17 16:51:16 -04:00
drivers samples/drivers/mbox: Reduce sysbuild boilerplate 2023-12-02 07:53:11 -05:00
fuel_gauge fuel_gauge: Repl property struct w/ union 2023-09-27 12:07:59 +02:00
hello_world samples: Switch integration_platforms from native_posix to native_sim 2023-11-20 12:02:48 +01:00
kernel samples/kernel/metairq_dispatch: Correct comment 2023-11-20 12:02:48 +01:00
modules samples: chre: Fix format strings for size_t types 2023-11-24 13:10:24 +02:00
net net: lwm2m: Implement fallback mechanism and support for diable 2023-12-05 16:40:06 -06:00
philosophers samples: Switch integration_platforms from native_posix to native_sim 2023-11-20 12:02:48 +01:00
posix samples posix uname: Fix sample yaml filtering 2023-10-25 09:57:58 +02:00
sensor samples: sensors: espressif board added to die_temp_polling 2023-12-04 14:32:09 +01:00
shields samples: shields: npm1300_ek: Fix display of negative temperature 2023-11-27 19:57:57 +01:00
subsys samples/subsys/logging/multidomain: Reduce sysbuild boilerplate 2023-12-02 07:53:11 -05:00
synchronization samples: synchronization: add static thread 2023-11-16 09:25:33 +01:00
tfm_integration samples: Switch from NEWLIB_LIBC to REQUIRES_FULL_LIBC 2023-10-25 08:32:06 +02:00
userspace tests: userspace: exclude ucans32k1sic due to lack of MPU regions 2023-12-05 16:20:10 -06:00
classic.rst
index.rst doc: samples: Fix incorrect maxdepth for some toctrees 2023-09-26 12:02:54 +02:00
sample_definition_and_criteria.rst docs: Sample definition: Replace native_posix with native_sim 2023-11-20 12:02:48 +01:00