Xiaomi open-sources Bluetooth emulation testing tool BSWorld
Understand this story
Xiaomi has open-sourced BSWorld, a Bluetooth emulation testing tool that lets AI agents test the Bluetooth Host and applications on Linux through deterministic emulation, without real hardware and without modifying source code. Tests use pytest to define topologies and expected behavior; the Host connects to BSController via H4 HCI and shares the BabbleSim radio. The tool supports multiple devices on the same emulated clock, parallel scenario execution with pytest-xdist, and path attenuation, interference injection, and recorded signal replay. The runtime environment is Linux/x86_64, development and testing require Python 3.12 or later, and it is licensed under Apache License 2.0.
AI overview based on source reports · Updated 5 hr ago
Coverage timeline
Follow the coverage to explore different perspectives.
- Hacker News AIShow HN: BSWorld – AI agents can now test Bluetooth code without hardware
BSWorld is a Linux/x86_64 tool that tests Bluetooth Hosts and applications through deterministic simulation, letting Hosts connect to BSController over H4 HCI and communicate over a shared BabbleSim radio without hardware or source changes. It supports pytest-defined topologies, parallel scenarios via pytest-xdist, path attenuation, interference injection, and replay of recorded radio signals, with integrations for BlueZ, Zephyr, NuttX, Apache NimBLE, and TrouBLE. It is available as a Docker image and via local build, licensed under Apache 2.0.
Activity for this story
- Current comparable activity
- 9
- Peak comparable activity
- 10Nov 20 15:00
- Change in the past 24 hours
- –
Trends compare the same fully observed participants, which may cover fewer participants than current activity. Move the pointer or tap the chart to inspect hourly activity; use the left and right arrow keys with a keyboard.