I am sending data to a custom USB device and trying to read it's response. WritePipe() is successful, but when I go to ReadPipe(), the pipe stalls, causing my application to hang. I tried clearing both ends of the pipe, but still no luck.
IOUSBInterfaceInterface245 **interface; Device is opened and the desired interface is found. (*interface)->ClearPipeStallBothEnds( interface, 2 ); char gBuffer[64]; UInt32 numBytesRead = sizeof(gBuffer); Hangs on this function. IOReturn kernalReturn = (*interface)->ReadPipe( interface, 2, gBuffer, &numBytesRead ); _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com