| Index: device/bluetooth/dbus/bluetooth_gatt_characteristic_service_provider_impl.h
|
| diff --git a/device/bluetooth/dbus/bluetooth_gatt_characteristic_service_provider_impl.h b/device/bluetooth/dbus/bluetooth_gatt_characteristic_service_provider_impl.h
|
| index f9c0f06d51316b9d0676d3355bdaf3a9786b1735..ca5d0c021a5844fc3b7c6d562f3381447b4c7fbf 100644
|
| --- a/device/bluetooth/dbus/bluetooth_gatt_characteristic_service_provider_impl.h
|
| +++ b/device/bluetooth/dbus/bluetooth_gatt_characteristic_service_provider_impl.h
|
| @@ -66,6 +66,16 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothGattCharacteristicServiceProviderImpl
|
| void GetAll(dbus::MethodCall* method_call,
|
| dbus::ExportedObject::ResponseSender response_sender);
|
|
|
| + // Called by BlueZ when a remote central is requesting to read the value of
|
| + // this characteristic.
|
| + void ReadValue(dbus::MethodCall* method_call,
|
| + dbus::ExportedObject::ResponseSender response_sender);
|
| +
|
| + // Called by BlueZ when a remote central is requesting to write the value of
|
| + // this characteristic.
|
| + void WriteValue(dbus::MethodCall* method_call,
|
| + dbus::ExportedObject::ResponseSender response_sender);
|
| +
|
| // Called by dbus:: when a method is exported.
|
| void OnExported(const std::string& interface_name,
|
| const std::string& method_name,
|
| @@ -93,6 +103,17 @@ class DEVICE_BLUETOOTH_EXPORT BluetoothGattCharacteristicServiceProviderImpl
|
| void OnSet(dbus::MethodCall* method_call,
|
| dbus::ExportedObject::ResponseSender response_sender);
|
|
|
| + // Called by the Delegate in response to a method to call to read the value
|
| + // of this characteristic.
|
| + void OnReadValue(dbus::MethodCall* method_call,
|
| + dbus::ExportedObject::ResponseSender response_sender,
|
| + const std::vector<uint8_t>& value);
|
| +
|
| + // Called by the Delegate in response to a method to call to write the value
|
| + // of this characteristic.
|
| + void OnWriteValue(dbus::MethodCall* method_call,
|
| + dbus::ExportedObject::ResponseSender response_sender);
|
| +
|
| // Called by the Delegate in response to a failed method call to get or set
|
| // the characteristic value.
|
| void OnFailure(dbus::MethodCall* method_call,
|
|
|