摘要: 总体概述CBCentralManagerDelegate协议中定义了一系列方法列表,这些方法是委托对象必须要实现的方法(也有可选择的),当中央管理器的相应变化就会调用委托对象中实现的相应方法。Monitoring Connections with Peripherals 监测外设的连接–centralManager:didConnectPeripheral:- (void)centralManager:(CBCentralManager*)centraldidConnectPeripheral:(CBPeripheral*)peripheral 当中央管理器成功连接一个外设时会唤醒该方法当co 阅读全文
posted @ 2013-12-18 17:13 haotianling 阅读(361) 评论(0) 推荐(0) 编辑
摘要: Overview总体概述CBCentralManagerobjects are used to manage discovered or connected remote peripheral devices (represented byCBPeripheralobjects), including scanning for, discovering, and connecting to advertising peripherals.CBCentralManager对象负责管理外设的发现或连接,包括扫描、发现、连接正在广播的外设。Before you callCBCentralManage 阅读全文
posted @ 2013-12-18 16:45 haotianling 阅读(1066) 评论(0) 推荐(0) 编辑