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

Unified Diff: device/bluetooth/bluetooth_low_energy_device_mac.mm

Issue 2052513002: Read characteristic implementation on macOS (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@characteristicscan_servicescan_cleanup
Patch Set: Addressing msarda's comment 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 04c400a781bc86a8df6c9076b44e533b36c1cd95..1d2267c2788bd4c8b172281e1fe75c822031754c 100644
--- a/device/bluetooth/bluetooth_low_energy_device_mac.mm
+++ b/device/bluetooth/bluetooth_low_energy_device_mac.mm
@@ -312,6 +312,15 @@ void BluetoothLowEnergyDeviceMac::DidModifyServices(
[GetPeripheral() discoverServices:nil];
}
+void BluetoothLowEnergyDeviceMac::DidUpdateValue(
+ CBCharacteristic* characteristic,
+ NSError* error) {
+ BluetoothRemoteGattServiceMac* gatt_service =
+ GetBluetoothRemoteGattService(characteristic.service);
+ DCHECK(gatt_service);
+ gatt_service->DidUpdateValue(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