Sie sind nicht angemeldet.

Anmelden
Diese Seite kann nicht editiert werden.
 
 
 

Feature Report Protocol

Von $1

    Inhaltsverzeichnis
    zur älteren Version oder zurück zu versionshistorie.

    Kombinierter Revisionsvergleich

    Vergleich der Version vom 18:41, 7 Mar 2015 von stephan mit der aktuellen Version modifiziert am 04:43, 8 Mar 2015 von stephan.

    ...

    Implementation

    There Command Overvieware various libraries simplifiying the transfer of USB feature reports on different operating systems. Some of them will be shown here. Feel free to contribute your favorite API.

    HIDAPI

    The HIDAPI library is available for Windows, Linux, and Mac OS X based platforms. Documentation and download are available here: http://www.signal11.us/oss/hidapi/

    Basic communication can be as simple as this (minus all error checking):

    // Establish USB connection
    handle = hid_open(0x1690, 0xfe13, NULL);
    
    // Prepare out report data ("Read Ports" command)
    buf[0] = 0x00;  
    buf[1] = 0x08;
    
    // Send out report
    res = hid_send_feature_report(handle, buf, 65);
    
    // Receive in report
    res = hid_get_feature_report(handle, buf, sizeof(buf));
    

    Command Reference

    ...

    Version vom 18:41, 7 Mar 2015

    Diese Revision wurde von stephan (Sperren) verändert

    ...

    Command OverviewBereich bearbeiten

    ...

    Aktuelle Version

    Diese Revision wurde von stephan (Sperren) verändert

    ...

    Implementation

    There are various libraries simplifiying the transfer of USB feature reports on different operating systems. Some of them will be shown here. Feel free to contribute your favorite API.

    HIDAPI

    The HIDAPI library is available for Windows, Linux, and Mac OS X based platforms. Documentation and download are available here: http://www.signal11.us/oss/hidapi/

    Basic communication can be as simple as this (minus all error checking):

    // Establish USB connection
    handle = hid_open(0x1690, 0xfe13, NULL);
    
    // Prepare out report data ("Read Ports" command)
    buf[0] = 0x00;  
    buf[1] = 0x08;
    
    // Send out report
    res = hid_send_feature_report(handle, buf, 65);
    
    // Receive in report
    res = hid_get_feature_report(handle, buf, sizeof(buf));
    

    Command Reference

    ...

     
    © Simple Solutions  •  Impressum  •  Wiki powered by Mindtouch