Skip to main content

Silicon Laboratories WFx Wi-Fi tools for all supported platforms

Project description


Silicon Laboratories WFx Wi-Fi tools for all supported platforms

Related Parts

Select the proper Wi-Fi product for your application from here.

Read the documentation on docs.silabs.com


Support

Please use the Silicon Labs Support Portal for all support requests.


wfx-common-tools

This repository contains WFX tools which are not platform-specific, and can be used on several platforms.

Installation

It would be a best practice to install packages in a virtual environment using pip & venv for different projects as the guideline here.

Basically, some basic steps as the following commands:

$ mkdir -p my_project && cd my_project
$ python -m venv .my_env
$ source ./my_env/bin/activate

Installing the package from PyPI (Stable version)

Still under the "my_project" from the above commands:

$ pip install wfx-common-tools
$ pip list # see a list of just installed packages

Installing the package from Github repository (Latest version)

You also can install the package from this repo to test the latest code.

$ pip install wfx_common_tools@git+https://github.com/SiliconLabs/wfx-common-tools.git

Typical Usage

After installing "wfx_common_tools" package, we can import the library into our script as below:

See README of connection package for SSH connection setup.

# Using the "test_feature" package
from wfx_common_tools.test_feature import wfx_test_dut

# Control the DUT via SSH connection by using "root" user & authentication by SSH keys (not using the password)
dut = wfx_test_dut.WfxTestDut('Pi_111', host='192.168.2.111', user='pi', password='default_password', port=22)
dut.test_conditions()

Repository Sub-Packages

Typically, Python resources can be used to run tests on WFX devices, and such tools can be running on any Python-capable platform.

Packages Usage Documentation
connection Python communication resources imported from other tools, accessed using from wfx_common_tools.connection import * README
pta Python scripts for PTA (Packet Traffic Arbitration), when several radio standards use shared RF resources README
test_feature Pythons scripts used to test the RF performance tests

NB: Prior to running RF testing, make sure you must stop any WLAN use of your product.
For instance: $ sudo ip link set dev wlan0 down
README

Please refer to the corresponding README files for details on using the tools.

Related resources

Whenever a tool is only valid for a single platform, it is stored in a corresponding platform-specific repository.

Platform-specific repositories are:

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wfx_common_tools-5.5.5.tar.gz (38.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wfx_common_tools-5.5.5-py3-none-any.whl (44.7 kB view details)

Uploaded Python 3

File details

Details for the file wfx_common_tools-5.5.5.tar.gz.

File metadata

  • Download URL: wfx_common_tools-5.5.5.tar.gz
  • Upload date:
  • Size: 38.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for wfx_common_tools-5.5.5.tar.gz
Algorithm Hash digest
SHA256 fec8ca6893bc119cf5a27671555c244f2fdd412faa2412736120ddc541e6bb8e
MD5 c113a64a7164497aca958d6bd318f6e4
BLAKE2b-256 288564a04a3df4e6d9f2f2cb9edb7f7eb7cc0bd91d29178c2ba4d89e75f35db4

See more details on using hashes here.

Provenance

The following attestation bundles were made for wfx_common_tools-5.5.5.tar.gz:

Publisher: python-publish.yml on SiliconLabs/wfx-common-tools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file wfx_common_tools-5.5.5-py3-none-any.whl.

File metadata

File hashes

Hashes for wfx_common_tools-5.5.5-py3-none-any.whl
Algorithm Hash digest
SHA256 21d2f6908ef65968637edc275dbfc75fdbb4519349707596e33cda70bb6c6e4f
MD5 c18dcaee2f0512664a6b8c131146067c
BLAKE2b-256 0ec4a1abe2aa07fc8b212a5aa85fb240d8020e9dec9c1f575e1c2aba2079724f

See more details on using hashes here.

Provenance

The following attestation bundles were made for wfx_common_tools-5.5.5-py3-none-any.whl:

Publisher: python-publish.yml on SiliconLabs/wfx-common-tools

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page