A small library to communicate with ICOM devices using CI-V protocol
Project description
IU2FRL ICOM CI-V Library
Python library for communicating with iCOM radios using CI-V.
Compatible devices
- IC-7300 (fw: 1.42)
Usage
1. Installing dependencies
- Install the package using
pip install iu2frl-civ
2. Importing the module
- Import the module using
from iu2frl_civ import iu2frl_civ
3. Creating the device object
- Initialize the target device using
device = iu2frl_civ.Device("0x94", port="/dev/tty", debug=True)
Where:
0x94is the transceiver address
Then, additional arguments can be passed:
port = "/dev/ttyUSB0": communication port of the transceiverbaudrate: int = 19200: baudrate of the devicedebug = False: useful to troubleshoot communication issuescontroller_address = "0xE0": address of the controller (this library)timeout = 1: serial port communication timeout in secondsattempts = 3: how many attempts to perform in case of timeout or errors
4. Use the radio object
Once the device object is created, any supported method can be used, for example:
- Power on the transceiver:
device.power_on() - Get the current frequency:
device.read_operating_frequency()
Some test code
Some sample commands are available in the tests/main.py file
Original project
This project was forked and then improved from: siyka-au/pycom
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file iu2frl_civ-0.0.16.tar.gz.
File metadata
- Download URL: iu2frl_civ-0.0.16.tar.gz
- Upload date:
- Size: 20.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
797ce499d2cd5d587ea88b7ec1fc76453d284de8eb87008adca0c98781710c8a
|
|
| MD5 |
36338edf50d72f16a6dd082db579db68
|
|
| BLAKE2b-256 |
1f1c8510b573bfcfc06225dc3945a4a954ddc488248ee962318fe547b3708aee
|
Provenance
The following attestation bundles were made for iu2frl_civ-0.0.16.tar.gz:
Publisher:
publish.yaml on iu2frl/iu2frl-civ
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
iu2frl_civ-0.0.16.tar.gz -
Subject digest:
797ce499d2cd5d587ea88b7ec1fc76453d284de8eb87008adca0c98781710c8a - Sigstore transparency entry: 160763198
- Sigstore integration time:
-
Permalink:
iu2frl/iu2frl-civ@c433741958604447857960c9258da60b211e3570 -
Branch / Tag:
refs/tags/0.0.16 - Owner: https://github.com/iu2frl
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yaml@c433741958604447857960c9258da60b211e3570 -
Trigger Event:
release
-
Statement type:
File details
Details for the file iu2frl_civ-0.0.16-py3-none-any.whl.
File metadata
- Download URL: iu2frl_civ-0.0.16-py3-none-any.whl
- Upload date:
- Size: 18.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
656d4919a235fdadefc40eadc63dbea49ad6393897268a00625c03c9bcaa4a2d
|
|
| MD5 |
960a1e4ccbf160bfbf5b8c01a740c077
|
|
| BLAKE2b-256 |
b4dee2c2759827c718b8bed0890daeab71c0b80d9a4c8742ab4ca982d11f4021
|
Provenance
The following attestation bundles were made for iu2frl_civ-0.0.16-py3-none-any.whl:
Publisher:
publish.yaml on iu2frl/iu2frl-civ
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
iu2frl_civ-0.0.16-py3-none-any.whl -
Subject digest:
656d4919a235fdadefc40eadc63dbea49ad6393897268a00625c03c9bcaa4a2d - Sigstore transparency entry: 160763212
- Sigstore integration time:
-
Permalink:
iu2frl/iu2frl-civ@c433741958604447857960c9258da60b211e3570 -
Branch / Tag:
refs/tags/0.0.16 - Owner: https://github.com/iu2frl
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yaml@c433741958604447857960c9258da60b211e3570 -
Trigger Event:
release
-
Statement type: