Skip to main content

API for RF receivers including ThinkRF WSA4000

Project description

This library currently supports development for the WSA4000 Platform, but may support additional hardware in the future.

Documentation

Cross-platform GUI Included

http://pyrf.readthedocs.org/en/latest/_images/wsa4000demo.png

Example Code

from pyrf.devices.thinkrf import WSA4000

# connect to wsa
dut = WSA4000()
dut.connect("10.126.110.103")

# setup test conditions
dut.request_read_perm()
dut.ifgain(0)
dut.freq(2450e6)
dut.gain('low')
dut.fshift(0)
dut.decimation(0)

# capture 1 packet with 1024 samples
dut.capture(1024, 1)

# skip the context packets
while not dut.eof():
    pkt = dut.read()

    if pkt.is_data_packet():
        break

# print I/Q data
for i, q in pkt.data:
    print "%d,%d" % (i, q)

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyrf-0.2.5.tar.gz (21.2 kB view details)

Uploaded Source

File details

Details for the file pyrf-0.2.5.tar.gz.

File metadata

  • Download URL: pyrf-0.2.5.tar.gz
  • Upload date:
  • Size: 21.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyrf-0.2.5.tar.gz
Algorithm Hash digest
SHA256 9d1b2407e28d7ea3e7cb00a0c04dfdeb79b0bdbc71b0dd7557b33d67ea1aefc1
MD5 09cc0be8bf00099107dca730af7b1e20
BLAKE2b-256 61cc7a225b61722e9b542bc4a9d0642e0c55097c476603ffe8f8b7b5a07c3a1b

See more details on using hashes here.

Provenance

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