QlightRead package | ESS final project 1.22-beta
|
#include <stdio.h>
#include <stdlib.h>
#include <QtGui>
#include <iostream>
#include <libusb-1.0/libusb.h>
Go to the source code of this file.
Defines | |
#define | OUT libusb_close(devh); libusb_exit(NULL); |
#define | DATAOUTEP 4 |
#define | DATAINEP (0x80 | 3) |
#define | DATAINSIZE 16 |
#define | DATAOUTSIZE 16 |
#define | VID 0x03eb |
#define | PID 0x0666 |
Functions | |
int | printdev (libusb_device *dev) |
int | find_estick_device (struct libusb_device_handle **pdevh) |
find_estick_device() wrapper for libusb's libusb_open_device_with_vid_pid() |
QlightRead programm
----------------------------------------------------------------------
Description: This File contains the the classes to respective sourcefile
----------------------------------------------------------------------
LICENSE: Copyright (C) 2011 by Ron Ablinger trilog_studios@nerdshack.com
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
----------------------------------------------------------------------
Last Modified: 2010/01/17
Definition in file tools.h.
int find_estick_device | ( | struct libusb_device_handle ** | pdevh | ) |
find_estick_device() wrapper for libusb's libusb_open_device_with_vid_pid()
pdevh | - struct libusb_device_handle ** |
Returns | -1 on error, 0 else |
int printdev | ( | libusb_device * | dev | ) |