PAN with Linux, iOS, Bluetooth, Bonjour, GameKit — Possible?

前端 未结 1 1351
说谎
说谎 2021-02-06 17:44

So I read different takes on this matter (I think I read all the related questions on SO). Can I connect in a PAN - Can I write an app that will connect - my linux machine and m

相关标签:
1条回答
  • 2021-02-06 18:27

    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

    Personally, I would instead use wifi + bonjour. Here's a tutorial about implementing it, some of the code can be pretty gross, but once you get the boilerplate out of the way, it "just works", which is always a feel good moment.

    0 讨论(0)
提交回复
热议问题