iPhone Wireless Comms with Embedded Linux Device

Feb 22, 2012 0 Replies

Hello,



I am looking for advice on protocols for use in LAN comms between an iPhone and an embedded Linux device. The embedded Linux device requires the following functionality...


  1. Connectible to Wireless LAN.
  2. Discoverable as a device on the Wireless LAN.
  3. (Virtually) connectible with iPhone.
  4. Remotely Callable API provided to the iPhone.
  5. Able to remotely call back functions on the iPhone.

I am looking to use platform independent protocols to achieve this functionality because the mobile application will be ported from the iPhone to other mobile platforms like Android. Since I am a newbie with Embedded Linux, my research (and possibly naivety) suggests that said functionality could be realised with the following protocols...


  1. DHCP for obtaining dynamic IP address.
  2. DNLA? (Bonjour is native to iOS right?)
  3. Connection-oriented communication implies TCP.
  4. SOAP or REST architecture on HTTP.
  5. SOAP or REST architecture on HTTP.

Can you suggest other, more suitable protocols? Am I barking up the wrong tree? Is there a much more simple way I could achieve this functionality? For example, providing the remote API using only a TCP socket?



Any advice you can offer is welcome...


Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required