cancel
Showing results for 
Search instead for 
Did you mean: 

Custom HID data transfer

beammeup
Associate II
Posted on October 11, 2009 at 06:00

Custom HID data transfer

12 REPLIES 12
satishgn
Associate II
Posted on May 17, 2011 at 12:41

Hi,

Could you please also send me the code for 63+1 data transmission.

Email Id:

mailto:satishgn@yahoo.com

Thanks

Satish.

mcp
Associate II
Posted on May 17, 2011 at 12:41

Have a look at the following post:

http://www.st.com/mcu/forums-cat-8368-23.html

Post name: HID demo : can't increase packet size

Forum: ARM Cortex-M3 STM32

bartek2
Associate
Posted on May 17, 2011 at 12:41

Hi all.

Currently I am working with Custom HID example, the uC is STM32F107. Ihave changed the descriptor accordingly:

From:

   

/* Led 1 */

       

   

0x85, 0x01,

           

/*

    

REPORT_ID (1)

                  

    

*/

   

0x09, 0x01,

           

/*

    

USAGE (LED 1)

      

            

*/

   

0x15, 0x00,

           

/*

    

LOGICAL_MINIMUM (0)

       

*/

         

   

0x25, 0x01,

           

/*

    

LOGICAL_MAXIMUM (1)

       

*/

          

   

0x75, 0x08,

           

/*

    

REPORT_SIZE (8)

           

*/

       

   

0x95, 0x01,

           

/*

    

REPORT_COUNT (1)

          

*/

To:

   

/* Led 1 */

       

   

0x85, 0x01,

           

/*

    

REPORT_ID (1)

                  

    

*/

   

0x09, 0x01,

           

/*

    

USAGE (LED 1)

      

            

*/

   

0x15, 0x00,

           

/*

    

LOGICAL_MINIMUM (0)

       

*/

         

   

0x25, 0x01,

           

/*

    

LOGICAL_MAXIMUM (1)

       

*/

        

  

   

0x75, 0x08,

           

/*

    

REPORT_SIZE (8)

           

*/

       

   

0x95, 0x08,

           

/*

    

REPORT_COUNT (8)

          

*/

Can any tell me why I cannot send this report without error? When I set reportcount to lower than 8 everything is OK.