CBService and its subclass
CBMutable represent a peripheral’s service—a collection of data and associated behaviors for accomplishing a function or feature of a device (or portions of that device).
CBService objects in particular represent services of a remote peripheral device (represented by a
CBPeripheral object). Services are either primary or secondary and may contain a number of characteristics or included services (references to other services).
- iOS 5.0+
- macOS 10.7+
- tvOS 9.0+
- watchOS 2.0+
- Core Bluetooth