ios - PAN 与 Linux、iOS、蓝牙、Bonjour、GameKit——可能吗?

标签 ios linux bluetooth gamekit bonjour

所以我阅读了对此事的不同看法(我想我阅读了关于 SO 的所有相关问题)。我可以在 PAN 中连接 - 我可以编写一个应用程序来连接 - 我的 linux 机器和我的 iOS 设备通过蓝牙吗?使用或不使用 Bonjour 或 GameKit。

一些必要条件:

  1. iOS 设备越狱。
  2. iOS 设备可能启用也可能未启用热点/网络共享功能(据我所知,这是由宽带提供商决定的——也就是说,如果您付费,就可以共享您的连接)。
  3. iOS 可以运行使用文档化 API 的定制应用。
  4. 蓝牙可由 iOS 设备用户手动激活。

非常感谢!

最佳答案

iOS 3.0 provides support for headsets (mono/stereo), networking via the PAN/BNEP protocol and support for "Made for iPhone" devices which require a proprietary Bluetooth protocol. Still, not even basic OBEX support is included (available with any low-price mobile phone), and no API is available to connect to arbitrary Bluetooth devices. It also extents the GameKit API to allow for iOS-to-iOS communication.

iPhone Bluetooth Information

就我个人而言,我会改用 wifi + bonjour。 Here's a tutorial about implementing it,一些代码可能非常粗糙,但一旦您将样板文件移开,它就会“正常工作”,这总是让人感觉良好的时刻。

关于ios - PAN 与 Linux、iOS、蓝牙、Bonjour、GameKit——可能吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7251023/

相关文章:

ios - 是什么导致了 <Error> : CGContextSetBaseCTM: invalid context 0x0 when implementing loadView?

连接到 rfcomm0 的 Java rxtx 代码不起作用

ios - 在 iOS 中使用 Google Places nearbySearch 功能

ios - 为什么我的应用程序不显示要求访问用户位置的警报?

linux - 如何在 X-Windows 中改变焦点?

c - 使用套接字通信在 stdout 上打印的剩余字符

php - UTF-8贯穿始终

python - 通过 Cron 作业的音频

Android catch Bluetooth HFP's Activate 语音识别

ios - 如何跟踪 iOS 中的音轨进度?