• Home
Name Date Size #Lines LOC

..--

avatar/03-May-2024-2,1841,556

bt-test-interfaces/03-May-2024-

examples/03-May-2024-359275

third-party/bumble/03-May-2024-

.gitignoreD03-May-202418 22

Android.bpD03-May-20241 KiB5348

CONTRIBUTING.mdD03-May-20241 KiB3120

LICENSED03-May-202411.1 KiB203169

METADATAD03-May-2024321 119

MODULE_LICENSE_APACHE2D03-May-20240

OWNERSD03-May-202479 54

README.mdD03-May-20241.1 KiB5441

pyproject.tomlD03-May-20241.5 KiB7363

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