Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(397)

Unified Diff: device/bluetooth/bluetooth_low_energy_device_mac.mm

Issue 2074563002: bluetooth: mac: write characteristic implementation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@read_characteristicscan_servicescan_cleanup
Patch Set: Merge from top of tree Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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) {
« no previous file with comments | « device/bluetooth/bluetooth_low_energy_device_mac.h ('k') | device/bluetooth/bluetooth_low_energy_peripheral_delegate.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698