| Name | Date | Size | #Lines | LOC | ||
|---|---|---|---|---|---|---|
| .. | - | - | ||||
| avatar/ | 03-May-2024 | - | 2,184 | 1,556 | ||
| bt-test-interfaces/ | 03-May-2024 | - | ||||
| examples/ | 03-May-2024 | - | 359 | 275 | ||
| third-party/bumble/ | 03-May-2024 | - | ||||
| .gitignore | D | 03-May-2024 | 18 | 2 | 2 | |
| Android.bp | D | 03-May-2024 | 1 KiB | 53 | 48 | |
| CONTRIBUTING.md | D | 03-May-2024 | 1 KiB | 31 | 20 | |
| LICENSE | D | 03-May-2024 | 11.1 KiB | 203 | 169 | |
| METADATA | D | 03-May-2024 | 321 | 11 | 9 | |
| MODULE_LICENSE_APACHE2 | D | 03-May-2024 | 0 | |||
| OWNERS | D | 03-May-2024 | 79 | 5 | 4 | |
| README.md | D | 03-May-2024 | 1.1 KiB | 54 | 41 | |
| pyproject.toml | D | 03-May-2024 | 1.5 KiB | 73 | 63 |
README.md
1# Avatar 2 3Avatar aims to provide a scalable multi-platform Bluetooth testing tool capable 4of running any Bluetooth test cases virtually and physically. It aims to 5complete PTS-bot in the Pandora testing suite. 6 7## Install 8 9```bash 10git submodule update --init 11python -m venv venv 12source venv/bin/activate.fish # or any other shell 13pip install [-e] bt-test-interfaces/python 14pip install [-e] third-party/bumble 15pip install [-e] . 16``` 17 18## Rebuild gRPC Bluetooth test interfaces 19 20```bash 21pip install grpcio-tools==1.46.3 22./bt-test-interfaces/python/_build/grpc.py 23``` 24 25## Usage 26 27```bash 28python examples/example.py -c examples/simulated_bumble_android.yml --verbose 29``` 30 31## Development 32 331. Make sure to have a `root-canal` instance running somewhere. 34```bash 35root-canal 36``` 37 381. Run the example using Bumble vs Bumble config file. The default `6402` HCI port of `root-canal` may be changed in this config file. 39``` 40python examples/example.py -c examples/simulated_bumble_bumble.yml --verbose 41``` 42 433. Lint with `pyright` and `mypy` 44``` 45pyright 46mypy 47``` 48 493. Format & imports style 50``` 51black avatar/ examples/ 52isort avatar/ examples/ 53``` 54