gpt4 book ai didi

ios - 是否可以开发具有蓝牙功能的 iOS 应用程序?

转载 作者:技术小花猫 更新时间:2023-10-29 10:59:41 26 4
gpt4 key购买 nike

以下是否可能?

假设我有一个带有蓝牙功能的秤,当我打开它时,它会通过 BT 发送重量。

在技术上是否有可能开发一个与体重秤配对并从中接收数据的 iOS 应用程序?

最佳答案

根据 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.

关于ios - 是否可以开发具有蓝牙功能的 iOS 应用程序?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4795962/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com