scpp.h 563 B

12345678910111213141516171819202122
  1. /* SPDX-License-Identifier: LGPL-2.1-or-later */
  2. /*
  3. *
  4. * BlueZ - Bluetooth protocol stack for Linux
  5. *
  6. * Copyright (C) 2014 Intel Corporation. All rights reserved.
  7. *
  8. *
  9. */
  10. struct bt_scpp;
  11. struct bt_scpp *bt_scpp_new(void *primary);
  12. struct bt_scpp *bt_scpp_ref(struct bt_scpp *scan);
  13. void bt_scpp_unref(struct bt_scpp *scan);
  14. bool bt_scpp_attach(struct bt_scpp *scan, void *gatt);
  15. void bt_scpp_detach(struct bt_scpp *scan);
  16. bool bt_scpp_set_interval(struct bt_scpp *scan, uint16_t value);
  17. bool bt_scpp_set_window(struct bt_scpp *scan, uint16_t value);