|author||cyueh <email@example.com>||Mon Dec 09 05:20:38 2019|
|committer||Commit Bot <firstname.lastname@example.org>||Tue Mar 10 05:52:29 2020|
graphyte: Make "make test" python 2/3 compatible. python2 is deprecated in 2020. (1) Use list instead of map function to create lists. (2) Decodes bytes input from socket to string. (3) Encodes string output to socket to bytes. (4) Adapts inspect library behavior changes. (5) Replace iteritems() with items(). (6) Import packages from six.moves. (7) Use python3 print function syntax. BUG=chromium:1019481 TEST=make test PYTHON=python2; make test PYTHON=python3 Change-Id: I82dcf6efa00da4d7cb6e9f1ec63101c027f00047 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/graphyte/+/2058226 Commit-Queue: Cheng Yueh <email@example.com> Tested-by: Cheng Yueh <firstname.lastname@example.org> Reviewed-by: Mike Frysinger <email@example.com> Reviewed-by: Yong Hong <firstname.lastname@example.org>
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.
No build step is required.
$ (sudo) make install
$ (sudo) pip install .
$ (sudo) pip uninstall graphyte
Create a tarball by: make dist The tarball can be found under the folder ‘dist’
Copy the tarball to target machine
Extract the tarball
Inside the extracted folder, type the command to install:
$ (sudo) pip install
Please find the user manual here for more details.
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:
Install the graphyte framework and necessary plugins.
Follow the user manual to create a valid config file.
Run the interactive shell by:
$ python -m graphyte.plugin_shell path/to/config/file