bluetooth_gatt_attribute_helpers.h 690 B

123456789101112131415161718192021222324
  1. // Copyright 2016 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #ifndef DEVICE_BLUETOOTH_DBUS_BLUETOOTH_GATT_ATTRIBUTE_HELPERS_H_
  5. #define DEVICE_BLUETOOTH_DBUS_BLUETOOTH_GATT_ATTRIBUTE_HELPERS_H_
  6. #include <map>
  7. #include "dbus/object_path.h"
  8. namespace dbus {
  9. class MessageReader;
  10. }
  11. namespace bluez {
  12. // Helper methods used from various GATT attribute providers and clients.
  13. bool ReadOptions(dbus::MessageReader* reader,
  14. std::map<std::string, dbus::MessageReader>* options);
  15. } // namespace bluez
  16. #endif // DEVICE_BLUETOOTH_DBUS_BLUETOOTH_GATT_ATTRIBUTE_HELPERS_H_