Skip to content

Conversation

simensrostad
Copy link
Collaborator

Disconnect from lte and coap whenever the
NRF_CLOUD_FOTA_FMFU_VALIDATION_NEEDED event is received. This event was introduced when the sdk nrf version was updated. And CI nightly is currently failing due to it being unhandled.

Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds handling for a new FOTA (Firmware Over The Air) event NRF_CLOUD_FOTA_FMFU_VALIDATION_NEEDED that was introduced in an SDK update. The implementation disconnects from LTE and CoAP networks before applying the firmware update to prevent CI failures.

  • Adds case handling for NRF_CLOUD_FOTA_FMFU_VALIDATION_NEEDED event
  • Implements network disconnection before applying FMFU (Full Modem Firmware Update)
  • Includes error handling for the update application process

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

This change addresses the NRF_CLOUD_FOTA_FMFU_VALIDATION_NEEDED event
that was introduced in the updated nRF SDK version, which is currently
causing CI nightly failures.

Changes:
- Add NETWORK_DISCONNECT event handling in network module
- Implement proper state transitions for LTE disconnection
- Update FOTA module with new states for FMFU validation scenario

The system now correctly disconnects from LTE when the
validation event is received, ensuring proper FOTA completion for FMFU.

Signed-off-by: Simen S. Røstad <[email protected]>
Copy link

@simensrostad simensrostad merged commit d9c783a into main Sep 23, 2025
7 checks passed
@simensrostad simensrostad deleted the fix-fmfmu branch September 23, 2025 13:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant