一般都是把 iPad或 iPhone 當成 Central端, 再對 Peripheral(Device)進行控制
反過來就得要使用 CBPeripheralManager
但是測了幾個CBPeripheralManager範例, 使用兩台iPad連線, GATT傳輸都不是很穩定.
Central端使用 LightBlue
解決來源
Getting Started with Bluetooth Low Energy
BTLE Central Peripheral Transfer
Core Bluetooth snippets with Swift
Creating iOS application as Bluetooth Peripheral
BLEPeripheral (測試過, 很簡易的範例)
The Ultimate Guide to Apple’s Core Bluetooth
Bluetooth-LE-IOS-Swift (Peripheral Manager)