#include "stdafx.h"
#include <iostream>
#include "lusb0_usb.h"
#define m_dev_VENDOR 0xC251 /* Vendor ID of the m_dev */
#define m_dev_PRODUCT 0x3505 /* Product ID of the m_dev */
#define m_dev_DATA_SIZE 10240 /* Number of bytes to get at once */
char RecTraData[1024] = { 0 };
struct usb_bus *bus;
struct usb_device * m_dev = NULL;
struct usb_dev_handle *m_dev_handle;
int OpenUSB(void)
{
int ret;
/* 第1步:USB 初始化 */
usb_init();
/* 第2步:寻找系统上的usb总线,