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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for iqrfpy_iqd_diagnostics-0.1.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 690c9b533151f797d3ca8bfaf3c68167a19f8ef36c9d5a488558ba90023099d0 |
|
MD5 | e399393d735649a7ba7370097157c343 |
|
BLAKE2b-256 | 7e250d1809c7fb6db5b6dd315771c0422fe4ec28bcc5f308c2e33c15e52d3ef6 |
Hashes for iqrfpy_iqd_diagnostics-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb064b44df50dc3c1993b1a159ac27b1ef43a9e5803c4b27d51721ed2662713b |
|
MD5 | 6ad2c46094b4dee0e777bbe461312b11 |
|
BLAKE2b-256 | 6517fb03d1ace340816c915795f2c606bc1ac7d4f6f7f20741bfc0d2795e7790 |