Retrieves the value of a specified characteristic.
- iOS 5.0+
- macOS 10.7+
- tvOS 9.0+
- watchOS 4.0+
- Core Bluetooth
The characteristic whose value you want to read.
When you call this method to read the value of a characteristic, the peripheral calls the peripheral:didUpdateValueForCharacteristic:error: method of its delegate object. If the value of the characteristic is successfully retrieved, you can access it through the characteristic’s
Not all characteristics are guaranteed to have a readable value. You can determine whether a characteristic’s value is readable by accessing the relevant properties of the CBCharacteristicProperties enumeration, which are detailed in