aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
blob: f6c9a89e522c21672b52f83564e131d018e2268d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# README

Python wrapper of airspyhf library

https://github.com/airspy/airspyhf.git

Project webpage main.lv
main project page http://main.lv
cgit source viewer http://git.main.lv/cgit.cgi/pyairspyhf.git


# Source code

```
git clone https://git.main.lv/cgit/pyairspyhf.git
```

# Install airspyhf

Install all dependencies such as:
```
    cmake, libusb
```

Checked supported and tested version list

To build the libairspyhf follow: https://github.com/airspy/airspyhf

Workes localy
```
git clone https://github.com/airspy/airspyhf.git
cd airspyhf
cmake .
make
sudo make install
```

If there is issues with libusb header try to find libusb header locations
```
cmake  -DLIBUSB_INCLUDE_DIR=/usr/include/libusb-1.0/ -DINSTALL_UDEV_RULES=ON
```

```commandline
udevadm control --reload-rules
```

# API
## libairspyhf

## AirSpyHF

# Examples

## airspyhf_rx.py

## Supported and tested

| Python | libairspyhf | OS | Status |
| --- |--- | --- | --- | 
| 3.9, 3.10 | 1.7.1 | ArchLinux, Ubuntu 20.04 | Supported and tested |


## Install

## Links

https://docs.python.org/3/library/ctypes.html