Index: device/bluetooth/bluetooth_low_energy_device_mac.mm |
diff --git a/device/bluetooth/bluetooth_low_energy_device_mac.mm b/device/bluetooth/bluetooth_low_energy_device_mac.mm |
index 395afefc2f128972c4eb6edcf5e509d1ee4e8b63..af7dfe5765f37b88ab64ddb20d03c8eb41751afb 100644 |
--- a/device/bluetooth/bluetooth_low_energy_device_mac.mm |
+++ b/device/bluetooth/bluetooth_low_energy_device_mac.mm |
@@ -317,6 +317,15 @@ void BluetoothLowEnergyDeviceMac::DidUpdateValue( |
gatt_service->DidUpdateValue(characteristic, error); |
} |
+void BluetoothLowEnergyDeviceMac::DidWriteValue( |
+ CBCharacteristic* characteristic, |
+ NSError* error) { |
+ BluetoothRemoteGattServiceMac* gatt_service = |
+ GetBluetoothRemoteGattService(characteristic.service); |
+ DCHECK(gatt_service); |
+ gatt_service->DidWriteValue(characteristic, error); |
+} |
+ |
// static |
std::string BluetoothLowEnergyDeviceMac::GetPeripheralIdentifier( |
CBPeripheral* peripheral) { |