iOS SDK蓝牙4.0相关的组件为CoreBluetooth,官方文档翻译

Core Bluetooth Framework Reference 指南:

      The Core Bluetooth framework provides the classes needed for your iOS and Mac apps to communicate with devices that are equipped with Bluetooth low energy wireless technology. /CoreBluetooth框架提供了苹果设备去连接低功耗外围设备的类。

      Classes 

     NSObject :NSObject is the root class of most Objective-C class hierarchies.根类

     CBATTRequest:The CBATTRequest class represents Attribute Protocol (ATT) read and write requests from remote central devices (represented by CBCentral objects)./CBATTRequest类展现ATT去读写来自远程中央设备(由CBCentral类代表)的请求。

     CBCharacteristic:CBCharacteristic and its subclass CBMutableCharacteristic represent further information about a peripheral’s service./CBCharacteristic和它的子类CBMutableCharacteristic进一步展示了一个外围设备peripheral的服务。

     CBMutableCharacteristic:CBMutableCharacteristic objects represent the characteristics of a local peripheral’s service (local peripheral devices are represented by CBPeripheralManager objects)./CBMutableCharacteristic类展示了一个本地外围设备peripheral(CBPeripheralManager类代表本地peripheral设备)的服务。

     CBDescriptor:CBDescriptor and it subclass CBMutableDescriptor represent a descriptor of a peripheral’s characteristic./CBDescriptor和它的子类CBMutableDescriptor展示了一个外围设备peripheral的详细特征。

     CBMutableDescriptor:CBMutableDescriptor objects represent the descriptors of a local peripheral’s characteristic (local peripheral devices are represented by CBPeripheralManager objects)./CBMutableDescriptor类展示了一个本地peripheral(CBPeripheralManager代表本地peripheral设备)的详细特征。

     CBService:CBService and its subclass CBMutableService represent a peripheral’s service—a collection of data and associated behaviors for accomplishing a function or feature of a device (or portions of that device)./CBService和它的子类CBMutableService呈现了一个外围设备peripheral的服务-一连串的数据和分类的行为完成一个设备(或者设备的部分服务)的功能或者特征。

     CBMutableService:The CBMutableService class adds write access to all of the properties in the CBService class it inherits from./CBMutableService类可增加写访问继承自 CBService 类所有的属性。

     CBCentralManager:CBCentralManager objects are used to manage discovered or connected remote peripheral devices (represented by CBPeripheral objects), including scanning for, discovering, and connecting to advertising peripherals./CBCentralManager类被使用去管理发现或者连接的远程外围设备peripheral(由CBPeripheral类代表),包括扫描、发现和连接广告设备。

     CBCentral:The CBCentral class represents remote central devices that have connected to an app implementing the peripheral role on a local device./CBCentral类呈现已经连接到在本地设备上实现的APP的远程中心设备。

     CBPeripheral:The CBPeripheral class represents remote peripheral devices that your app—by means of a central manager (an instance of CBCentralManager)—has discovered advertising or is currently connected to./CBPeripheral类呈现你的APP-意思是中心管理者CBCentralManager  已经发现的广播或者被连接的远程外围设备peripheral。

     CBPeripheralManager:CBPeripheralManager objects are used to manage published services within the local peripheral device’s Generic Attribute Profile (GATT) database and to advertise these services to central devices (represented by CBCentral objects)./CBPeripheralManager被用来去管理公共服务:本地外围设备peripheral的GATT数据库并且广播这些服务给中央设备(由CBCentral代表)。

     CBUUID:Instances of the CBUUID class represent the 128-bit universally unique identifiers (UUIDs) of attributes used in Bluetooth low energy communication, such as a peripheral’s services, characteristics, and characteristic descriptors./在使用蓝牙低能量交流中CBUUID类的实例呈现128位全局唯一标识符(uuid)属性,例如一个外围设备、特征集合和特征详细信息。

     Protocols

     CBCentralManagerDelegate:The CBCentralManagerDelegate protocol defines the methods that a delegate of a CBCentralManager object must adopt./CBCentralManagerDelegate协议定义了很多CBCentralManager必须实现的代理方法。

     CBPeripheralDelegate:The delegate of a CBPeripheral object must adopt the CBPeripheralDelegate protocol./CBPeripheral的代理者必须实现CBPeripheralDelegate协议。

     CBPeripheralManagerDelegate:The delegate of a CBPeripheralManager object must adopt the CBPeripheralManagerDelegate protocol, a protocol consisting of numerous optional methods and one required method./CBPeripheralManager的代理者必须实现CBPeripheralManagerDelegate协议,一个协议组成的许多可选的方法和一个必需的方法。

 

iOS蓝牙编程指南 -- 核心蓝牙概述 http://www.jianshu.com/p/760f042a1d81

 

      

posted @ 2016-03-16 13:00  天生的普通人  阅读(376)  评论(0编辑  收藏  举报