在BLE协议中,有两个角色,Periphery和Central; Peripheral 是数据提供者,Central 是数据用户/处理器;在 iOS SDK 中,一个 iOS 设备可以作为外围设备,也可以作为中心;但在Android SDK中,直到最新的Android4.4.2,Android手机只能以数据为中心使用和处理;数据来自哪里?从 BLE 设备来看,现在很多可穿戴设备都使用 BLE 来提供数据。
一个中心可以同时连接多个外围,但一个外围一次只能连接一个中心。
(In ble protocol, there are two roles, periphery and central; Peripheral is the data provider, and central is the data user / processor; In the IOS SDK, an IOS device can be used as a peripheral device or as a center; However, in the Android SDK, until the latest android4.4.2, Android phones can only be used and processed based on data; Where does the data come from? From the perspective of ble devices, many wearable devices now use ble to provide data.
A center can connect multiple peripherals at the same time, but a periphery can only connect one center at a time.)