是否有可能开发具有蓝牙功能的iOS应用程序? [英] Is it possible to develop an iOS app with bluetooth capabilities?

查看:145
本文介绍了是否有可能开发具有蓝牙功能的iOS应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请问以下是可能的?

比方说,我有蓝牙功能规模,当我打开它,它通过发送BT的重量。

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

从技术上可以开发一个iOS应用其中对具有规模,并从接收到的数据?

Is it technically possible to develop an iOS app which pairs with the scale and receives the data from it?

推荐答案

据苹果公司称:

技术Q&安培; A QA1657:使用外部
  与蓝牙附件框架
  设备。

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

问:据我了解,
  在iOS的外部附件框架
  3.0及更高版本将让我的应用程序进行通信
  蓝牙设备。那么,为什么没有我
  应用程序看到蓝牙
  附件坐在旁边的我的iPhone?

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?

答:外部附件框架
  旨在让iOS的应用程序
  仅用于与硬件通信
  被下开发的配件
  苹果MFI许可程序。 MFI
  标准配件可
  作为有线设备来实现,这意味着
  它们插入到iOS设备的
  30针连接器,或者作为无线
  设备,因此他们使用蓝牙作为
  通信信道。无论哪种方式,
  使用外部应用程序
  附件框架将不会被
  附件的presence的通知
  除非附件本身标识
  作为是MFI柔顺的,即,它是
  专门设计的接口
  与iOS应用程序。

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 iOS device's 30-pin 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应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆