Skip to content

Conversation

JordanYates
Copy link
Contributor

@JordanYates JordanYates commented Oct 12, 2025

Automatically pause ePacket Bluetooth scanning while erasing internal flash. This can reduce the time it takes to erase 160kB from ~14 seconds down to 400 ms (on a nRF54L15 using the Nordic Softdevice).

Add an API for subsystems to request a pause in Bluetooth scanning, if
it is currently running. This can yield significant speed improvements
for some tasks, like erasing or writing to internal flash on nRF
devices.

Signed-off-by: Jordan Yates <[email protected]>
Test the behaviour of the `epacket_bt_adv_scan_suspend` and
`epacket_bt_adv_scan_resume` functions.

Signed-off-by: Jordan Yates <[email protected]>
Automatically pause ePacket Bluetooth scanning while erasing internal
flash. This can reduce the time it takes to erase 160kB from ~14 seconds
down to 400 ms.

Signed-off-by: Jordan Yates <[email protected]>
Ensure that at the end of running DFU related calls that erase/write to
flash, `infuse_dfu_write_erase_finish` has been called the same number
of times as `infuse_dfu_write_erase_start`.

Signed-off-by: Jordan Yates <[email protected]>
Pause BT scanning while writing to internal flash devices.

Signed-off-by: Jordan Yates <[email protected]>
Copy link

Copy link

codecov bot commented Oct 12, 2025

Codecov Report

❌ Patch coverage is 92.00000% with 2 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
subsys/rpc/commands/common_file_actions.c 81.81% 1 Missing and 1 partial ⚠️

📢 Thoughts on this report? Let us know!

@JordanYates JordanYates merged commit 2c09489 into main Oct 12, 2025
17 checks passed
@JordanYates JordanYates deleted the feature/bt_scan_pause branch October 12, 2025 02:49
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