www.pudn.com > usbold11.rar > pltst.c


#include 
#include 
#include 
#include 
#include 

#include "plusb.h"

int main(int argc, char **argv)
{
	int retval;
	int i;
	int j=0;
	
	bulk_transfer_t b;
	int fd1 = open("/dev/plusb", O_RDWR);
	int fd2 = open("/dev/plusb1", O_RDWR);
#if 1
	b.size=64;
	for(i=0;i