蓝牙框架对老年人的iOS设备 [英] Bluetooth framework for older iOS devices

查看:173
本文介绍了蓝牙框架对老年人的iOS设备的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的问题是周围的iOS蓝牙技术有关。
我看过关于WWDC蓝牙低能耗101,有什么新的,基础知识等,以及使用iOS 5中及更高版本的CoreBluetooth框架。
我已经通过不同的网站和文档试图找到有关蓝牙2.1和4的更多信息看,但有这么几个。
的GameKit不是一个答案,我开发一个应用程序与非iOS设备工作。
一些主题我已经经历了:

My question is related with Bluetooth technology around iOS. I've watched WWDC about Bluetooth Low Energy 101, what's new, the basics etc, and about using the CoreBluetooth framework available in iOS 5 and later. I've looked through different sites and documentations trying to find more information about Bluetooth 2.1 and 4, but there is so few. GameKIt is not an answer, I am developing an app to work with an non-iOS device. Some of the topics I've went through:

<一个href=\"http://stackoverflow.com/questions/11955278/connecting-to-a-bluetooth-device-from-ios-no-mfi\">Connecting到蓝牙设备的iOS从没有MFI

<一个href=\"http://stackoverflow.com/questions/8090298/ios-how-to-integrate-bluetooth-devices-in-my-app\">iOS - 如何在我的应用程序蓝牙设备集成

http://www.bluegiga.com/files/bluegiga /$p$psentations/BT4_0_for_Apple.pdf

蓝牙4.0与旧蓝牙

<一个href=\"http://stackoverflow.com/questions/6071516/iphone-bluetooth-connectivity-to-non-ios-devices\">IPhone蓝牙连接到非iOS设备

但支持的设备只是4S和和latests台iPad ...

But the supported devices are just 4S and up and latests iPads...

1)将最新的CoreBluetooth框架只是失败的旧设备?

1) will the latest CoreBluetooth framework just fail on older devices?

2),苹果没有对BT 2.1或任何东西的框架?怎么办,还是有那么多的iPad2和iPhone4用户,我不能不理会他们。所以实际使用什么样的框架?

2) Did apple have any frameworks for BT 2.1 or something? What to do, there are still so many ipad2 and iphone4 users, I can't just ignore them.. So what framework actually to use?

任何帮助,建议,想法,链接将是非常美联社preciated!

Any help, advice, idea,link will be highly appreciated!

推荐答案

唉...
你要明白一件事: CoreBluetooth框架 蓝牙低功耗的并用于 ExternalAccessory框架作为的经典蓝牙的。它实际上是两个什么样的,我们通常所说的蓝牙(作为一个简单的用户/消费者)不同approchs的。
只有最近的iDevices支持的蓝牙低功耗的(iPhone 4S距离,MacBook Air的2011年,等)。这就是为什么它不支持的的iOS4 的为例。
为了您的信息,低功耗蓝牙是一种蓝牙叉子其中只出现在蓝牙4.0。即使有一个蓝牙4.0设备无法确保它支持蓝牙低功耗(正如我所说,这是一个叉,这并不总是包含)。
作为一个简单的设想,蓝牙低能量就像在它NSDictionnary一个NSDictionnary。你得到一个的外围的,它随着越来越多的服务之一的有一个或一个以上的特性的。从一个普通的设备完全不同的,对吧?

Well... You need to understand one thing: CoreBluetooth framework is used for Bluetooth Low Energy and ExternalAccessory framework for the "Classic" Bluetooth. It is really two kind of different approchs of what we usually call Bluetooth (as a simple user/consumer). Only recent iDevices support Bluetooth Low Energy (iPhone from 4S, MacBook Air from 2011, etc.). That's why it doesn't support iOS4 for example. For your information, Bluetooth Low Energy is kind of a fork of Bluetooth which appears only in Bluetooth 4.0. Even if having a Bluetooth 4.0 device does not ensure that it supports Bluetooth Low Energy (as I said, it's a fork which is not always include). As a simplistic vision, Bluetooth Low Energy works like a NSDictionnary with a NSDictionnary in it. You get a Peripheral, which as one of more Services which has one or more Characteristics. Quite different from a common device, right ?

这篇关于蓝牙框架对老年人的iOS设备的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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