Responds to a read or write request from a connected central.
- iOS 6.0+
- macOS 10.9+
- tvOS 9.0+
- watchOS 4.0+
- Core Bluetooth
When the peripheral manager receives a request (represented as a
CBATTRequest object) from a connected central to read or write a characteristic’s value, it calls the
peripheral method of its delegate object. Each time one of these delegate methods is called, you call this method to respond to the corresponding read or write request.