Git Product home page Git Product logo

gr-cc1111's People

Contributors

funoverip avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

gr-cc1111's Issues

cmake error with gnuradio installed with apt-get

Dear sirs,

install failed with the following configuration:

gnuradio -> sudo apt-get install gnuradio
gr-cc1111 git clone

any idear to fix this? thanks a lot.

error log:

ubuntu@ubuntu:~/rf/gr-cc1111/src/gr-cc1111/build$ cmake ../
-- Build type not specified: defaulting to release.
-- Boost version: 1.54.0
-- Found the following Boost libraries:
-- filesystem
-- system
CMake Error at CMakeLists.txt:93 (find_package):
By not providing "FindGnuradio.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "Gnuradio",
but CMake did not find one.

Could not find a package configuration file provided by "Gnuradio"
(requested version 3.7.2.1) with any of the following names:

GnuradioConfig.cmake
gnuradio-config.cmake

Add the installation prefix of "Gnuradio" to CMAKE_PREFIX_PATH or set
"Gnuradio_DIR" to a directory containing one of the above files. If
"Gnuradio" provides a separate development package or SDK, be sure it has
been installed.
-- Configuring incomplete, errors occurred!

AttributeError with GNU Radio 3.7.8

I've built this module but it doesn't work on the latest stable GNU Radio version. Here's the error I'm getting:

Traceback (most recent call last):
  File "./send_packet.py", line 38, in <module>
    rf = cc1111_packet_sender.cc1111_packet_sender()
  File "/<path>/cc1111_packet_sender.py", line 116, in __init__
    source_queue=data
  File "/usr/lib/python2.7/site-packages/cc1111/cc1111_packet.py", line 140, in __init__
    gr.io_signature(1, 1, packet_source._hb.output_signature().sizeof_stream_item(0)) # Output signature
  File "/usr/lib/python2.7/site-packages/gnuradio/gr/hier_block2.py", line 92, in __getattr__
    return getattr(self._impl, name)
AttributeError: 'hier_block2_sptr' object has no attribute '_hb'

From this, it appears as though packet_source does not have an _hb attribute. I'm not sure what _hb was supposed to be, so I don't know how to fix it myself. I'm also not entirely sure if it is or isn't an implementation error on my part. data is gr.message_queue(2) and cc1111_packet_sender is the name of my flow graph.

If it helps, here's the what dir(packet_source) gives me:

['__class__', '__delattr__', '__dict__', '__doc__', '__format__', '__getattr__', '__getattribute__', '__hash__', '__init__', '__module__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', '__weakref__', '_access_code', '_add_crc', '_bits_per_symbol', '_do_whitening', '_impl', '_msgq_out', '_pad_for_usrp', '_preamble', '_samples_per_symbol', 'connect', 'disconnect', 'dot_graph', 'message_port_register_hier_in', 'message_port_register_hier_out', 'msg_connect', 'msg_disconnect', 'send_pkt']

How to do setMdmModulation(MOD_ASK_OOK) ?

Hi, thank you for your great work !!

In RFCat, you can do setMdmModulation(MOD_ASK_OOK) to create this type of packets, but I can't find similar option in your lib.

Is this possible to do setMdmModulation(MOD_ASK_OOK) with your lib ?

Thank you

SWIG Issues

Hi,

Im struggling to get this modual to work correctly, done as requested in the install guide. this is on a FRESH install of Kali 2017.1 vm,

Thanks for any help, really appreciate it.

root@kali:~/Documents/gr-cc1111/testing-scripts# python hackrf_receiver.py
Traceback (most recent call last):
File "hackrf_receiver.py", line 6, in
import grc_cc1111_hackrf_receiver
File "/root/Documents/gr-cc1111/testing-scripts/grc_cc1111_hackrf_receiver.py", line 18, in
import cc1111
File "/usr/local/lib/python2.7/dist-packages/cc1111/init.py", line 45, in
from cc1111_swig import *
File "/usr/local/lib/python2.7/dist-packages/cc1111/cc1111_swig.py", line 21, in
_cc1111_swig = swig_import_helper()
File "/usr/local/lib/python2.7/dist-packages/cc1111/cc1111_swig.py", line 20, in swig_import_helper
return importlib.import_module('_cc1111_swig')
File "/usr/lib/python2.7/importlib/init.py", line 37, in import_module
import(name)
ImportError: No module named _cc1111_swig

Attirube error

Hİ, I've geting this error on gnuradio V3.7.1. Could you please help me..?

Traceback (most recent call last):
File "/home/hp/gr-cc1111/grc/grc_cc1111_hackrf_sender.py", line 129, in
main()
File "/home/hp/gr-cc1111/grc/grc_cc1111_hackrf_sender.py", line 118, in main
tb = top_block_cls()
File "/home/hp/gr-cc1111/grc/grc_cc1111_hackrf_sender.py", line 55, in init
source_queue=myqueue_in
File "/usr/local/lib/python2.7/dist-packages/cc1111/cc1111_packet.py", line 139, in init
gr.io_signature(1, 1, packet_source._hb.output_signature().sizeof_stream_item(0)) # Output signature
File "/usr/lib/python2.7/dist-packages/gnuradio/gr/hier_block2.py", line 92, in getattr
return getattr(self._impl, name)
AttributeError: 'hier_block2_sptr' object has no attribute '_hb'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.