| Index: device/bluetooth/bluetooth_low_energy_peripheral_delegate.mm
|
| diff --git a/device/bluetooth/bluetooth_low_energy_peripheral_delegate.mm b/device/bluetooth/bluetooth_low_energy_peripheral_delegate.mm
|
| index 24d9d879aef099a15c9b8ba0e9215439272b3977..ac7b66ea44ce11aca7113192c5ea4e6d08cd205a 100644
|
| --- a/device/bluetooth/bluetooth_low_energy_peripheral_delegate.mm
|
| +++ b/device/bluetooth/bluetooth_low_energy_peripheral_delegate.mm
|
| @@ -35,6 +35,10 @@ class BluetoothLowEnergyPeripheralBridge {
|
| device_mac_->DidUpdateValue(characteristic, error);
|
| }
|
|
|
| + void DidWriteValue(CBCharacteristic* characteristic, NSError* error) {
|
| + device_mac_->DidWriteValue(characteristic, error);
|
| + }
|
| +
|
| CBPeripheral* GetPeripheral() { return device_mac_->GetPeripheral(); }
|
|
|
| private:
|
| @@ -80,4 +84,9 @@ class BluetoothLowEnergyPeripheralBridge {
|
| bridge_->DidUpdateValue(characteristic, error);
|
| }
|
|
|
| +- (void)peripheral:(CBPeripheral*)peripheral
|
| + didWriteValueForCharacteristic:(nonnull CBCharacteristic*)characteristic
|
| + error:(nullable NSError*)error {
|
| + bridge_->DidWriteValue(characteristic, error);
|
| +}
|
| @end
|
|
|