G'Day programmers...I am planning to make an application which will be using peer to peer bluetooth connection between two different iOS device.
So my question is, is there any good tutorials which can guide me through?
Purpose is to send a stream of strings, like in chat application.
I want to learn so you may give me a direction something like,
"Hey check this, XYZ API they intent to do what you are looking for..." Or "There is a tutorial ..."
Thank you for any kind of help!
Research So far :
http://jens.mooseyard.com/2009/05/a-bonjour-chat-tutorial-for-iphone-developers/
http://developer.apple.com/library/ios/#documentation/NetworkingInternet/Conceptual/GameKit_Guide/GameKitConcepts/GameKitConcepts.html#//apple_ref/doc/uid/TP40008304-CH100-SW1
Here, the app uses Apple's Multipeer Connectivity framework, essentially a peer-to-peer feature that lets you share messages (and soon photos) with other app users nearby, regardless of whether you have an actual Wi-Fi or cellular connection.
The official list of current iOS Wi-Fi Management APIs. There is no Wi-Fi Direct type of connection available. The primary issue being that Apple does not allow programmatic setting of the Wi-Fi network SSID and password.
Select Wi-Fi in the iPhone's settings to turn on the Wi-Fi. Tap Direct-xx-BRAVIA on the iPhone's screen to display the password input screen. Enter the WPA key (password) displayed on the TV screen, then tap Join. Allow a few minutes for the connection to be established, and the Settings screen to appear.
GameKit is your best bet, in my opinion. The official docs are fantastic and should walk you through it just well, even though it's not a tutorial, per se.
Here are a couple though:
http://vivianaranha.com/apple-gamekit-bluetooth-integration-tutorial/
http://www.devx.com/wireless/Article/43502/1954
and you can check out the source code of BeamIt!
http://arctouch.com/beamit/
Hope that helps.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With