I have previously referred to PTPPassThrough, but there is no example of sending the outData parameter, and I have not found it on Apple forums or online. So, I did find some test code of ours that does use outData. I can't directly provide the code, as it's part of a multi-layer architecture which means that code can't easily be provided. However, what I can say is: The way you've built out the structure generally appears correct. Every operation we send has type set to 1. It's actually hard coded into the method that builds out USB data packet. Nothing special is done to handle outData. The data object is built out as a separate data object and then included with the request. Finally, on the actual command you're sending, I don't know what the command format for 0x9205 actually is, but I don't think this is correct: unsigned char specialData = 1; NSData sendData = [NSData dataWithBytes:&specialData length:1]; As far as I can tell, the main reason the extra data approach is used is to provide a
Topic:
App & System Services
SubTopic:
Hardware