Hi, thanks for your answer, first, i'm trying to make an oot module to connect 
via HID a microcontroller with gnuradio,


I send you code uploaded via github, i appreciate all your help.


https://github.com/Fabeltranm/Out-of-tree-GRC/tree/master/gr-prueba_HID

[https://avatars0.githubusercontent.com/u/13863306?v=4&s=400]<https://github.com/Fabeltranm/Out-of-tree-GRC/tree/master/gr-prueba_HID>

Fabeltranm/Out-of-tree-GRC<https://github.com/Fabeltranm/Out-of-tree-GRC/tree/master/gr-prueba_HID>
github.com
Out-of-tree-GRC - Out-of-tree modules - GNU Radio Companion




have a nice day


Luis Gabriel Yaya García




________________________________
From: Marcus Müller <marcus.muel...@ettus.com>
Sent: Monday, September 11, 2017 12:02 PM
To: discuss-gnuradio@gnu.org; Luis Gabriel Yaya Garcia; 
discuss-gnuradio@gnu.org; Luis Gabriel Yaya Garcia
Subject: Re: [Discuss-gnuradio] Fw: mistake using hidapi in gnuradio block

You'll need to share your source code, because we have no idea what is 
happening here.

Happy hacking :)
Marcus

On 10 September 2017 10:59:47 AM GMT-07:00, Luis Gabriel Yaya Garcia 
<luize...@hotmail.com> wrote:



Hi dear colleages, i'm new in GNURADIO and i'm trying to use hidapi for HID 
device (ATMEL SAM3S), from c++ using ubuntu i use without problems, i can open, 
ennumerate and send/receive data, but when i use the same c++ code in GNURADIO 
OOT module i obtain ever the same mistake.

AttributeError: 'module' object has no attribute 'funciones'

PDT, another OOT modules that not include external elements (like HID) works 
fine,

I've modified CMakeList.txt


target_link_libraries(
  test-prueba_seleccion
  ${GNURADIO_RUNTIME_LIBRARIES}
  ${Boost_LIBRARIES}
  ${CPPUNIT_LIBRARIES}
  gnuradio-prueba_seleccion
  hidapi-hidraw
  hidapi-libusb
)

I don't know what i can do, please if any of yours can help me i appreciate 
much.


thanks

Luis Gabriel Yaya García


--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to