def send_feature_report(self, data, report_id=<NUM_LIT>):
self._check_device_status()<EOL>bufp = ffi.new("<STR_LIT>", len(data)+<NUM_LIT:1>)<EOL>buf = ffi.buffer(bufp, len(data)+<NUM_LIT:1>)<EOL>buf[<NUM_LIT:0>] = report_id<EOL>buf[<NUM_LIT:1>:] = data<EOL>rv = hidapi.hid_send_feature_report(self._device, bufp, len(bufp))<EOL>if rv == -<NUM_LIT:1>:<EOL><INDENT>raise IOError("<STR_LIT>"<EOL>.format(self._get_last_error_string()))<EOL><DEDENT>
Send a Feature report to the device.

        Feature reports are sent over the Control endpoint as a Set_Report
        transfer.

        :param data:        The data to send
        :type data:         str/bytes
        :param report_id:   The Report ID to send to
        :type report_id:    int