Chromium Code Reviews| Index: device/bluetooth/bluetooth_low_energy_win.h |
| diff --git a/device/bluetooth/bluetooth_low_energy_win.h b/device/bluetooth/bluetooth_low_energy_win.h |
| index b7d378aa73644390fd2bdb9005e48a1d6e78b2d2..0267c47e201fbc916fba1f763e62aff702effb88 100644 |
| --- a/device/bluetooth/bluetooth_low_energy_win.h |
| +++ b/device/bluetooth/bluetooth_low_energy_win.h |
| @@ -162,6 +162,20 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothLowEnergyWrapper { |
| scoped_ptr<BTH_LE_GATT_DESCRIPTOR>* out_included_descriptors, |
| USHORT* out_counts); |
| + // Reads |characteristic| value in service with service device path |
| + // |service_path|. The result will be stored in |*out_value|. |
| + virtual HRESULT ReadTheValueOfACharacteristic( |
|
scheib
2016/03/02 05:59:05
ReadCharacteristic or
ReadCharacteristicValue
gogerald1
2016/03/02 23:56:29
Done.
|
| + base::FilePath& service_path, |
| + const PBTH_LE_GATT_CHARACTERISTIC characteristic, |
| + scoped_ptr<BTH_LE_GATT_CHARACTERISTIC_VALUE>* out_value); |
| + |
| + // Writes |characteristic| value in service with service device path |
| + // |service_path| to |*new_value|. |
| + virtual HRESULT WriteTheValueOfACharacteristic( |
|
scheib
2016/03/02 05:59:05
WriteCharacteristic or
WriteCharacteristicValue
gogerald1
2016/03/02 23:56:29
Done.
|
| + base::FilePath& service_path, |
| + const PBTH_LE_GATT_CHARACTERISTIC characteristic, |
| + PBTH_LE_GATT_CHARACTERISTIC_VALUE new_value); |
| + |
| protected: |
| BluetoothLowEnergyWrapper(); |
| virtual ~BluetoothLowEnergyWrapper(); |