Is it possible to develop an iOS app with bluetooth capabilities?

后端 未结 3 1838
有刺的猬
有刺的猬 2021-02-14 12:32

Would the following be possible?

Let\'s say I have a scale with Bluetooth capabilities, when I turn it on, it sends the weight via BT.

Is it technically possible

3条回答
  •  你的背包
    2021-02-14 13:35

    According to Apple:

    Technical Q&A QA1657: Using External Accessory framework with Bluetooth devices.

    Q: I understand that the External Accessory framework in iOS 3.0 and later will allow my application to communicate with Bluetooth devices. So why doesn't my application see the Bluetooth accessory sitting next to my iPhone?

    A: The External Accessory framework is designed to allow iOS applications to communicate only with hardware accessories that are developed under Apple's MFi licensee program. MFi compliant accessories can be implemented as wired devices, meaning they plug in to the Apple device's 30-pin or Lightning connector, or as wireless devices, whereby they use Bluetooth as the communication channel. Either way, an application that uses the External Accessory framework will not be notified of an accessory's presence unless the accessory identifies itself as being MFi compliant, i.e., it was specifically designed to interface with an iOS application.

提交回复
热议问题