API结构导图CoreBluetooth中,需要用到的类和协议(完整导图):基础知识蓝牙分类中心端和外设端(完整导图)。中心端(接收端)1.创建中心端控制器(CBCentralManager)2.扫描设备(Discover)3.连接(Connect)4.获取Service和Characteristic扫描Service(一个service中包含一个或多个Characteristic)获取Service中Characteristic获取Characteristic的值5.数据交互(exploreandinteract)订阅Characteristic的通知6.断开链接外设端(发送端)创建Peri