LingaoM opened a new pull request, #3896:
URL: https://github.com/apache/nuttx-apps/pull/3896
## Summary
Build-only checks miss runtime failures in Host initialization, timer
delivery and Controller capability handling, as demonstrated by NuttX PR
#20879. As AI-assisted code generation becomes more common, stricter code
review, static checks and runtime regression testing are needed.
Add tests for BTSak advertising/scanning and NimBLE discovery, connection,
GATT discovery and subscription against Python BSControllers through BabbleSim.
Reuse the stock bt, blecent and bleprph commands, with one firmware image per
Host stack and roles selected through NSH.
Provide configuration fragments, separate preparation/build scripts and
local test instructions. Add a native Linux workflow that pins BSWorld,
rebuilds the current NuttX/apps sources, runs both tests with two workers and
uploads build logs, JUnit results, device logs and HCI/radio captures. Cache
only simulation dependencies and support companion PR dependencies.
## Testing:
Host: Ubuntu 22.04 x86_64, GCC 14.3.0, Python 3.12.3
Board/configs: sim:bthcisock and sim:nimble with SIM_BSIM_TIME=y
NuttX includes the fixes in apache/nuttx#20879.
Both firmware builds and both integration tests passed. The workflow's
build and pytest steps were also executed locally. HCI snoops, Ellisys
traces and firmware configurations matched the previous validated run.
ShellCheck, actionlint, Black, isort, Flake8, YAML validation and NuttX
checkpatch passed. The GitHub-hosted workflow has not been run yet.
Depends-On: https://github.com/apache/nuttx/pull/20879
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]