Skip to main content

ThinkRF Python Device API

Project description

This is an early release of the ThinkRF Python Device API.

This library supports development for the WSA4000 Platform.

Documentation

Cross-platform GUI Included

http://python-thinkrf.readthedocs.org/en/latest/_images/wsa4000demo.png

Example Code

from thinkrf.devices 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)

Project details


Download files

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

Source Distribution

thinkrf-0.2.0.tar.gz (18.4 kB view details)

Uploaded Source

File details

Details for the file thinkrf-0.2.0.tar.gz.

File metadata

  • Download URL: thinkrf-0.2.0.tar.gz
  • Upload date:
  • Size: 18.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for thinkrf-0.2.0.tar.gz
Algorithm Hash digest
SHA256 ec8e8811348d0729c3fc91fac20df54bdba2a0b92c619f10a398331d72d50bba
MD5 fc0780261800ad9c8e1db0466d4a4a16
BLAKE2b-256 82d4a32086b2f2938d11958783f547c5b847399fc755de7191dac1a1d4e0df50

See more details on using hashes here.

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