Bluetooth framework for older iOS devices

后端 未结 2 1599
暗喜
暗喜 2020-12-17 05:14

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 CoreBluetoot

2条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-17 05:50

    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 ?

提交回复
热议问题