Skip to main content

Diagnostics for iqrfpy

Project description

iqrfpy-iqd-diagnostics

An extension for iqrfpy for processing and interpreting IQD diagnostics data.

Diagnostics is a common data structure located in the permanent memory of all IQD devices, which contains the result of the HW test of the device and other operational data that affect its correct operation.

Quick start

Before installing the library, it is recommended to first create a virtual environment. Virtual environments help isolate python installations as well as pip packages independent of the operating system.

A virtual environment can be created and launched using the following commands:

python3 -m venv <dir>
source <dir>/bin/activate

iqrfpy-iqd-diagnostics can be installed using the pip utility:

python3 -m pip install -U iqrfpy-iqd-diagnostics

Example use:

from iqrfpy.ext.iqd_diagnostics import IqdDiagnostics

# get iqd_diagnostics data
data = ...

# parse into class
diagnostics = IqdDiagnostics(data=data)

# access values
diagnostics.beaming_cnt

# print formatted data
print(diagnostics.to_string())

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

iqrfpy_iqd_diagnostics-0.1.3.tar.gz (9.8 kB view hashes)

Uploaded Source

Built Distribution

iqrfpy_iqd_diagnostics-0.1.3-py3-none-any.whl (11.0 kB view hashes)

Uploaded Python 3

Supported by

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