I’ve mentioned some great communication libraries that simplify interacting with web based services, communications using websockets, and asynchronous udp/tcp communications.
Today I came across a library that allows you to do something different – and that is communicate through a USB connection. I’ve seen questions about USB communication asked, but have never seen a complete answer.
The library provides a very easy syntax for detecting whether a device is connected, and additional libraries allowing you to communicate with TCP services on attached devices.
Here’s a video demonstrating the library in action:
The library is Peertalk by Rasmuss Anderson and can be found on Github here.
If you’ve been trying to figure out how to do this be sure to check out this library.
If you’re just looking to do file transfers – you may want to take a look at this previously mentioned iTunes file sharing tutorial.
©2012 iPhone, iOS 5, iPad SDK Development Tutorial and Programming Tips. All Rights Reserved.
.






