Show HN: BSWorld – AI agents can now test Bluetooth code without hardware github...
Show HN @show
Show HN: BSWorld – AI agents can now test Bluetooth code without hardware github.com · 3 points · 1 comments · HN thread
TL;DR BSWorld is a Linux/x86_64 test framework from Xiaomi that runs Bluetooth Host stacks against simulated Controllers, so developers can test Bluetooth code in pytest without physical radios. It combines BabbleSim, a UML Guest environment and Bumble as a peer device, and ships as a Docker image. The post is a project README; the one comment is a short question about whether AI agents could help offline networking software.
- Tests open-source Bluetooth Host stacks without hardware or changes to their source code, with topology and expected behavior defined in pytest.
- Each Host connects to its own BSController over H4 HCI; all Controllers, the pytest clock and interference sources share a BabbleSim radio.
- Simulation time governs protocol timers, RF events, asyncio waits and test timeouts, making runs deterministic given identical binaries and inputs.
- Supports path attenuation, interference and WLAN activity injection, and replay of recorded radio signals.
- Integration suites cover BlueZ, Zephyr Bluetooth shell, NuttX BTSak/NimBLE, Apache NimBLE Linux and TrouBLE.
- Outputs include pytest.xml, process logs, HCI BTSnoop captures, per-Controller radio captures and Ellisys traces; licensed under Apache 2.0.
Discussion The thread has a single comment, a brief question from essfrmexistence asking whether AI-agent-driven hardware-free Bluetooth testing could give offline networking software a better chance. There is no substantive debate or replies, so the mood is neutral and exploratory rather than critical.
- Hardware-free simulated testing could benefit offline networking software (a few): The only commenter speculates that letting AI agents run Bluetooth tests without hardware might help offline or mesh-style networking software get better support. The comment is a question rather than a firm claim, and no one responded.
#bluetooth #simulation #testing #babblesim #embedded #pytest