Get Updates By E-mail 

Article Written By:
Johann Dowa

Open Source: Library For Easy USB And TCP Communication Within iOS/Mac Apps

  •  
  •  
  •  
  •  
  •  

I’ve mentioned some great communication libraries that simplify interacting with web based servicescommunications 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.


  •  
  •  
  •  
  •  
  •  

Submit A Resource

Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?

You can submit the url here.

The resources we feel will appeal to our readers the most will be posted on the front page.

Comments