This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Increasing number of bytes in HID descriptor

Hi,

I'm working on hid keyboard example. How can I check whether multiple bytes are received & transmitted after I increase the assigned no. of bytes in input/output report? From the code I understood that nrf device can send 64 bytes to host device. So how do I append bytes in one packet of 64 bytes when sending to host? How does it work from host side? Does nrf read 1 byte at a time sent from host?

Parents Reply
  • bop123 said:
    I see 20 bytes in nrfConnect but how can it receive 20 bytes without making changes to report descriptor for input report???

     As far as I know it's impossible without changes to the report descriptor.

     

    bop123 said:
    Why only 2 bytes are received? 

     Do you get this with other applications too, or is it just the SimpleHIDWrite that is able to receive two bytes?

     

    bop123 said:
    What needs to be done to increase no. of bytes for output report?

     I think you need to change this in the report descriptor.

     

    bop123 said:
    Is IN/OUT endpoint configured to send/receive data on receiving an IN/OUT token packet?

     I'm not sure. This has little to do with BLE and more to do with low level USB implementation.

     

    bop123 said:
    What is the maximum size possible for output reports for Windows & MAC OS?

     I believe it's 64 bytes.

Children
Related