Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

loon3y

macrumors 65816
Original poster
Oct 21, 2011
1,235
126
Is there any tutorials on device to device communication (more popularized by game center apps)

Phillips Hue (Smart Home App) basically just executed exactly what i needed.

DTD communication over a local (no internet connection) network.
 
Look at this sample code from Apple:

https://developer.apple.com/library/ios/samplecode/WiTap/Introduction/Intro.html
The WiTap sample demonstrates peer-to-peer networking over Wi-Fi and Bluetooth. Using Bonjour, the application both advertises itself on the local network and displays a list of other instances on the network. Supports infrastructure networks, peer-to-peer Bluetooth, and peer-to-peer Wi-Fi (on compatible hardware).

and more details on Bonjour here

https://developer.apple.com/bonjour/
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.