Metadata-Version: 1.0
Name: thinkrf
Version: 0.1.0
Summary: ThinkRF Python Device API
Home-page: https://github.com/thinkrf/python-thinkrf
Author: ThinkRF Corporation
Author-email: support@thinkrf.com
License: LICENSE.txt
Description: thinkRF Device API
        ==================
        
        This is a preliminary release of the thinkRF Python Device API.
        
        This library supports development for the WSA4000 Platform.
        
        Documentation
        -------------
        
        Module is documented with Doxygen.  Run to generate latex or HTML
        documentation::
        
            # doxygen
        
        Example:
        --------
        
        ::
        
            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
            dut.capture(1024, 1)
        
            # read until I get 1 data packet
            while not dut.eof():
                pkt = dut.read()
        
                if pkt.is_data_packet():
                    break
        
            # print I/Q data into i and q
            for i, q in pkt.data:
                print "%d,%d" % (i, q)
        
Platform: UNKNOWN
