Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 15 of 15

Thread: Rawhid

Threaded View

  1. #1
    Senior Member
    Join Date
    Apr 2018
    Location
    Eastern Time, USA
    Posts
    163

    Rawhid

    Hi,

    Running the USB RAWHID example in a Teensy 3.2, and python hidapi library, hid,enumerate() returns two device interfaces,

    The packets seem to appear on both, even if open at the same time. Why are there two interfaces? Is there support on the teensy side to read or write one or the other explicitly?

    Next question

    hid.read(64) returns a list, length 64, type is int, and sys.getsizeof( buffer[0] ) is 28!

    Shouldn't that be a byte array of length 64?
    Last edited by DrM; 06-17-2021 at 01:55 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •