Skip to content

Conversation

JordanYates
Copy link
Contributor

Add a command to trigger a reboot on remote devices through MCUMgr.

Add handlers to detect if either the TX or RX ePacket buffer pools are exhausted, defined as N seconds passing with no buffers being returned to the pool after it has been emptied.

@JordanYates JordanYates force-pushed the feature/reboot_mcumgr branch 4 times, most recently from a1e67a9 to 9670960 Compare August 13, 2025 03:02
Update zephyr fork to fix the default partition map for nRF5340 devices.

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

codecov bot commented Aug 13, 2025

Codecov Report

❌ Patch coverage is 90.58824% with 8 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
subsys/rpc/commands/bt_mcumgr_reboot.c 90.19% 2 Missing and 3 partials ⚠️
subsys/epacket/forwarding.c 71.42% 1 Missing and 1 partial ⚠️
subsys/epacket/epacket.c 96.29% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

Add a command to trigger a reboot on remote devices through MCUMgr.

Signed-off-by: Jordan Yates <[email protected]>
Support reboot requests in the Bluetooth simulated devices.

Signed-off-by: Jordan Yates <[email protected]>
Validate that the `bt_mcumgr_reboot` command works as expected.

Signed-off-by: Jordan Yates <[email protected]>
Add a watchdog onto the forwarding thread to ensure the pending packet
queue is being properly drained.

Signed-off-by: Jordan Yates <[email protected]>
Use a dedicated variable for the RX processing thread watchdog period.
This only effects testing.

Signed-off-by: Jordan Yates <[email protected]>
Add a testcase for the RX processing thread watchdog.

Signed-off-by: Jordan Yates <[email protected]>
Add handlers to detect if either the TX or RX ePacket buffer pools are
exhausted, defined as N seconds passing with no buffers being returned
to the pool after it has been emptied.

Signed-off-by: Jordan Yates <[email protected]>
Test that buffer exhaustion results in a device reboot.

Signed-off-by: Jordan Yates <[email protected]>
@JordanYates JordanYates force-pushed the feature/reboot_mcumgr branch from 9670960 to a71c51e Compare August 13, 2025 04:08
Copy link

@JordanYates JordanYates merged commit ebad040 into main Aug 13, 2025
16 checks passed
@JordanYates JordanYates deleted the feature/reboot_mcumgr branch August 13, 2025 05:10
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