dressel / pyhackrf

A Python wrapper for libhackrf
66 stars 18 forks source link

Some update on libhackrf bindings #7

Closed eizemazal closed 1 year ago

eizemazal commented 1 year ago

Hi Dressel, thank you very much for your repo. I was looking to use HackRF in my projects, and I liked your idea to make Python bindings for libhackrf.so.

This was an option for me to learn ctypes via your work. I made some refactoring (added type hints, docstrings, packaged files, etc), and also wrote support for sweep mode, transmission, baseband filter, and bias tee.

There is no support for opera cake antenna switcher as I do not have it, and I did not bother to write support for led controls, firmware updates and low level routines. The rest things seem to work - I tested replay example on my 433 MHz radio controlled gate, so tx works fine.

I suggest to merge this update in your repo and to distribute the package via pip.

eizemazal commented 1 year ago

I am closing merge request as this repo seems to be unmaintained. Since my MR provides major rewrite and significant improvement of functionality, I will publish it in PyPI as pyhackrf2.