Closed peterpaulis closed 9 years ago
You can use PTUSBHub connectToDevice... and use the dispatch_io_t, which you can probably wrap with a NSStream. AFAIK NSStream is built on top of libdispatch and io channels.
not sure about that, looks like NSStream implements even a lower api than dispatch_io...
ok, did manage to trick it wit this https://github.com/peterpaulis/BufferOutputStreamToInputStream
i 'simulate' an NSStream
Is there a way to open a NSStream over the connection? This would be much apriechieted