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

Unified Diff: device/bluetooth/bluetooth_remote_gatt_service_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: Final version 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_remote_gatt_service_mac.mm
diff --git a/device/bluetooth/bluetooth_remote_gatt_service_mac.mm b/device/bluetooth/bluetooth_remote_gatt_service_mac.mm
index 6e5e167f174b8eccb69860f5998bc43a31c683fe..aadcf19c9302b7b1350a074d4a1f788b0c97ba76 100644
--- a/device/bluetooth/bluetooth_remote_gatt_service_mac.mm
+++ b/device/bluetooth/bluetooth_remote_gatt_service_mac.mm
@@ -128,6 +128,15 @@ void BluetoothRemoteGattServiceMac::DidUpdateValue(
gatt_characteristic->DidUpdateValue(error);
}
+void BluetoothRemoteGattServiceMac::DidWriteValue(
+ CBCharacteristic* characteristic,
+ NSError* error) {
+ BluetoothRemoteGattCharacteristicMac* gatt_characteristic =
+ GetBluetoothRemoteGattCharacteristicMac(characteristic);
+ DCHECK(gatt_characteristic);
+ gatt_characteristic->DidWriteValue(error);
+}
+
bool BluetoothRemoteGattServiceMac::IsDiscoveryComplete() {
return is_discovery_complete_;
}

Powered by Google App Engine
This is Rietveld 408576698