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...
- Connectible to Wireless LAN.
- Discoverable as a device on the Wireless LAN.
- (Virtually) connectible with iPhone.
- Remotely Callable API provided to the iPhone.
- 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...
- DHCP for obtaining dynamic IP address.
- DNLA? (Bonjour is native to iOS right?)
- Connection-oriented communication implies TCP.
- SOAP or REST architecture on HTTP.
- 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...