discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Fw: mistake using hidapi in gnuradio block


From: Luis Gabriel Yaya Garcia
Subject: Re: [Discuss-gnuradio] Fw: mistake using hidapi in gnuradio block
Date: Mon, 11 Sep 2017 18:51:11 +0000

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



have a nice day


Luis Gabriel Yaya García





From: Marcus Müller <address@hidden>
Sent: Monday, September 11, 2017 12:02 PM
To: address@hidden; Luis Gabriel Yaya Garcia; address@hidden; 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 <address@hidden> 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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]