diff options
author | gogerald <gogerald@chromium.org> | 2016-03-01 12:45:36 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-03-01 20:47:06 +0000 |
commit | 74459acf6390eed6009b8bf5edad68d7e03bf008 (patch) | |
tree | 4187f9836cb9e7992835eae39101a45f465fdb1b /device/bluetooth/bluetooth_low_energy_win.h | |
parent | 0a8abd1cd85e42b969740ca38e01df01ff244743 (diff) | |
download | chromium_src-74459acf6390eed6009b8bf5edad68d7e03bf008.zip chromium_src-74459acf6390eed6009b8bf5edad68d7e03bf008.tar.gz chromium_src-74459acf6390eed6009b8bf5edad68d7e03bf008.tar.bz2 |
Implement BluetoothRemoteGattCharacteristicWin::GetDescriptors
This CL implements GetDescriptors() in BluetoothRemoteGattCharacteristicWin.
It also optimized previous codes by renaming interfaces, data structures and so on.
BUG=579202
Review URL: https://codereview.chromium.org/1728163006
Cr-Commit-Position: refs/heads/master@{#378552}
Diffstat (limited to 'device/bluetooth/bluetooth_low_energy_win.h')
-rw-r--r-- | device/bluetooth/bluetooth_low_energy_win.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/device/bluetooth/bluetooth_low_energy_win.h b/device/bluetooth/bluetooth_low_energy_win.h index a2bae9e..b7d378a 100644 --- a/device/bluetooth/bluetooth_low_energy_win.h +++ b/device/bluetooth/bluetooth_low_energy_win.h @@ -153,6 +153,15 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothLowEnergyWrapper { scoped_ptr<BTH_LE_GATT_CHARACTERISTIC>* out_included_characteristics, USHORT* out_counts); + // Reads included descriptors of |characteristic| in service with service + // device path |service_path|. The result will be stored in + // |*out_included_descriptors| and |*out_counts|. + virtual HRESULT ReadDescriptorsOfACharacteristic( + base::FilePath& service_path, + const PBTH_LE_GATT_CHARACTERISTIC characteristic, + scoped_ptr<BTH_LE_GATT_DESCRIPTOR>* out_included_descriptors, + USHORT* out_counts); + protected: BluetoothLowEnergyWrapper(); virtual ~BluetoothLowEnergyWrapper(); |