You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
1 year ago | |
|---|---|---|
| .. | ||
| avatar | 1 year ago | |
| examples | 1 year ago | |
| third-party | 1 year ago | |
| .gitignore | 1 year ago | |
| Android.bp | 1 year ago | |
| CONTRIBUTING.md | 1 year ago | |
| LICENSE | 1 year ago | |
| METADATA | 1 year ago | |
| MODULE_LICENSE_APACHE2 | 1 year ago | |
| OWNERS | 1 year ago | |
| README.md | 1 year ago | |
| bt-test-interfaces | 1 year ago | |
| pyproject.toml | 1 year ago | |
README.md
Avatar
Avatar aims to provide a scalable multi-platform Bluetooth testing tool capable of running any Bluetooth test cases virtually and physically. It aims to complete PTS-bot in the Pandora testing suite.
Install
git submodule update --init
python -m venv venv
source venv/bin/activate.fish # or any other shell
pip install [-e] bt-test-interfaces/python
pip install [-e] third-party/bumble
pip install [-e] .
Rebuild gRPC Bluetooth test interfaces
pip install grpcio-tools==1.46.3
./bt-test-interfaces/python/_build/grpc.py
Usage
python examples/example.py -c examples/simulated_bumble_android.yml --verbose
Development
- Make sure to have a
root-canalinstance running somewhere.
root-canal
- Run the example using Bumble vs Bumble config file. The default
6402HCI port ofroot-canalmay be changed in this config file.
python examples/example.py -c examples/simulated_bumble_bumble.yml --verbose
- Lint with
pyrightandmypy
pyright
mypy
- Format & imports style
black avatar/ examples/
isort avatar/ examples/