Sie sind nicht angemeldet.

Anmelden
Diese Seite kann nicht editiert werden.
 
 
 

Feature Report Protocol

Von $1

    Inhaltsverzeichnis
    Um zurückzugehen, müssen die aktuelle und die ältere Version mit Hilfe der Historie verglichen werden.

    Kombinierter Revisionsvergleich

    Vergleich der Version vom 18:41, 7 Mar 2015 von stephan mit der Version modifiziert am 03:20, 8 Mar 2015 von stephan.

    ...

    Implementation

    HIDAPICommand

    One Overviewof various ways to transfer feature reports, is the HIDAPI library, which 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
    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

    ...

    Version seit 03:20, 8 Mar 2015

    Diese Revision wurde von stephan (Sperren) verändert

    ...

    Implementation

    HIDAPI

    One of various ways to transfer feature reports, is the HIDAPI library, which 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
    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