Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

net: lib: nrf_cloud_coap: Various cleanups / fixes #17300

Merged
merged 3 commits into from
Sep 19, 2024

Commits on Sep 18, 2024

  1. net: lib: nrf_cloud: Add FOTA status callback

    Convert error callback to include general status notifications from
    the FOTA library as well as error events.
    
    This gives the application the opportunity
    to block network related operations during FOTA updates.
    
    Add image type to reboot function to allow the application to
    reinitialize the modem after a firmware update. Its not nessecary to
    reboot the device after modem FOTA.
    
    Signed-off-by: Simen S. Røstad <[email protected]>
    simensrostad committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    3b27c56 View commit details
    Browse the repository at this point in the history
  2. memfault: Various fixes for FOTA

     - Use nrf modem library CFUN callback to prevent modem info
       calls in offline and powered off states. This is needed instead of
       fetching the func mode due to the modem being shutdown when
       a lte handler notification is received.
    
     - Ease up on the logging when modem info API are called.
       Its expected that they fail in certain scenarios, and logging an
       error in those instances is not necessary.
    
    Signed-off-by: Simen S. Røstad <[email protected]>
    simensrostad committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    43f88c0 View commit details
    Browse the repository at this point in the history
  3. net: lib: nrf_cloud_coap: Add option to disconnect on a failed request

    Add option, CONFIG_NRF_CLOUD_COAP_DISCONNECT_ON_FAILED_REQUEST, that
    disconnects the CoAP client on a failed request. Disabled by default.
    
    Signed-off-by: Simen S. Røstad <[email protected]>
    simensrostad committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    2c58526 View commit details
    Browse the repository at this point in the history