testplan: Check Bluetooth test plan according to core spec.

This CL checks more detail about the test plan arguments arccording to the
packet type. A result limit interval should be contained by the interval
from the core specification.

BUG=None
TEST=manually run with test plans
TEST=make test PYTHON=python2

Cq-Depend: chromium:1886573
Change-Id: I8acaeb59af1ced04eba042568223369131b58f4c
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/graphyte/+/1895109
Tested-by: Cheng Yueh <cyueh@chromium.org>
Reviewed-by: Yong Hong <yhong@chromium.org>
Commit-Queue: Cheng Yueh <cyueh@chromium.org>
2 files changed
tree: dac4fbc2fb71c76576b09cf22b3524b068563231
  1. .gitignore
  2. .local.vimrc
  3. MANIFEST.in
  4. Makefile
  5. OWNERS
  6. README.md
  7. devtools/
  8. doc/
  9. graphyte/
  10. pylintrc
  11. setup.py
  12. unittest_runner.py
README.md

Google Radio Phy Test Framework

Overview

Graphyte (Google RAdio PHY TEst) is a Python based software framework for the calibration and verification of wireless connectivity radios in design and manufacturing. It is designed with an open, extensible architecture enabling wireless silicon and instrumentation vendors to develop their own plugins for PHY calibration and verification. The initial focus is on Wi-Fi and Bluetooth with 802.15.4 on the horizon.

Please refer to the user manual for more details.

Flow chart

Build

No build step is required.

Install

Two options:

$ (sudo) make install

or

$ (sudo) pip install .

Uninstall

$ (sudo) pip uninstall graphyte

Distribution

  1. Create a tarball by: make dist The tarball can be found under the folder ‘dist’

  2. Copy the tarball to target machine

  3. Extract the tarball

  4. Inside the extracted folder, type the command to install:

     $ (sudo) pip install
    

User manual

Please find the user manual here for more details.

Interactive shell

An interactive shell is also implemented to analyze the interactions between a DUT and an instrument step by step.

Follow these steps to start the interactive shell:

  1. Install the graphyte framework and necessary plugins.

  2. Follow the user manual to create a valid config file.

  3. Run the interactive shell by:

    $ python -m graphyte.plugin_shell path/to/config/file