Core Bluetooth Overview
概览 略
Central and Peripheral Devices and Their Roles in Bluetooth Communication
central和peripheral设备和他们在蓝牙通讯中的角色
蓝牙通讯中的两个重要的角色,central和peripheral。相对于传统的client-server架构,peripheral代表着拥有数据的一方并且外界是需要这数据的。central代表着使用数据方,从peripheral那里获得数据并完成特定的事情。如图1-1所示。心率监测器有数据,你的mac和ios app 需要这些数据。
Figure 1-1 Central and peripheral devices


本文介绍了iOS中Core Bluetooth框架的基础知识,包括Central和Peripheral设备的角色及其在蓝牙通信中的作用。Central设备发现并连接到广播数据的Peripheral设备,Peripheral设备通过服务和特性提供数据。Central可以通过服务的特性进行读写操作。蓝牙框架中,Central使用CBCentralManager对象管理远程Peripheral,而Peripheral使用CBPeripheralManager对象管理其发布的服务和特性。
蓝牙概述&spm=1001.2101.3001.5002&articleId=52096148&d=1&t=3&u=e7d8ecfd70e94e9397642c99ed60b122)
1517

被折叠的 条评论
为什么被折叠?



