如何使用蓝牙连接两台iPhone? [英] How to use bluetooth to connect two iPhone?
问题描述
我想使用iPhone SDK来实现两台iPhone间的蓝牙连接,但我不觉得在iPhone SDK 3.0的蓝牙API。有谁能够帮助我?谢谢你。
I want to use iPhone SDK to implement a bluetooth connection between two iPhones, but I don't find any bluetooth API in iPhone SDK 3.0. Can anybody help me? Thanks.
BTW:是否有可能超过两台iPhone在同一时间使用蓝牙连接
BTW: Is it possible to connect more than two iPhones at the same time by using bluetooth?
推荐答案
您可以通过蓝牙或者使用高级连接两台iPhone和传输数据<一个href=\"http://developer.apple.com/iphone/library/documentation/NetworkingInternet/Conceptual/GameKit%5FGuide/GameKitConcepts/GameKitConcepts.html\">GameKit框架或较低水平(但仍易于使用)<一个href=\"http://developer.apple.com/iphone/library/documentation/Networking/Conceptual/NSNetServiceProgGuide/Introduction.html#//apple%5Fref/doc/uid/TP40002520\">Bonjour发现机制的。卓悦也适用透明蓝牙和WiFi的iPhone之间的下3.0,所以它的,如果你想支持那些两种网络的iPhone到iPhone的数据传输一个不错的选择。
You can connect two iPhones and transfer data via Bluetooth using either the high-level GameKit framework or the lower-level (but still easy to work with) Bonjour discovery mechanisms. Bonjour also works transparently between Bluetooth and WiFi on the iPhone under 3.0, so it's a good choice if you would like to support iPhone-to-iPhone data transfers on those two types of networks.
有关详细信息,你也可以看看在回应这些问题:
For more information, you can also look at the responses to these questions:
- \"where我能找到的iPhone SDK 3.0的GameKit教程开发P2P应用程序?
- iPhone到iPhone网络
- 的GameKit在iPhone SDK 3.0
- 是在OS 3.0的限制iPhone蓝牙功能?
- "where can I find iphone sdk 3.0 GameKit tutorials for developing P2P applications?"
- "iPhone to iPhone networking"
- "GameKit in iPhone SDK 3.0"
- "Is iPhone bluetooth function limited in OS 3.0?"
这篇关于如何使用蓝牙连接两台iPhone?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!