remote.h 1.3 KB

1234567891011121314151617181920212223242526272829303132
  1. /* SPDX-License-Identifier: LGPL-2.1-or-later */
  2. /*
  3. *
  4. * BlueZ - Bluetooth protocol stack for Linux
  5. *
  6. * Copyright (C) 2019 Intel Corporation. All rights reserved.
  7. *
  8. *
  9. */
  10. bool remote_add_node(const uint8_t uuid[16], uint16_t unicast,
  11. uint8_t ele_cnt, uint16_t net_idx);
  12. uint8_t remote_del_node(uint16_t unicast);
  13. bool remote_set_model(uint16_t unicast, uint8_t ele_idx, uint32_t mod_id,
  14. bool vendor);
  15. void remote_add_rejected_address(uint16_t addr, uint32_t iv_index, bool save);
  16. void remote_clear_rejected_addresses(uint32_t iv_index);
  17. uint16_t remote_get_next_unicast(uint16_t low, uint16_t high, uint8_t ele_cnt);
  18. bool remote_add_net_key(uint16_t addr, uint16_t net_idx, bool save);
  19. bool remote_del_net_key(uint16_t addr, uint16_t net_idx);
  20. bool remote_update_net_key(uint16_t addr, uint16_t net_idx, bool update,
  21. bool save);
  22. bool remote_add_app_key(uint16_t addr, uint16_t app_idx, bool save);
  23. bool remote_del_app_key(uint16_t addr, uint16_t app_idx);
  24. bool remote_update_app_key(uint16_t addr, uint16_t app_idx, bool update,
  25. bool save);
  26. bool remote_finish_key_refresh(uint16_t addr, uint16_t net_idx);
  27. void remote_set_composition(uint16_t addr, bool comp);
  28. bool remote_has_composition(uint16_t addr);
  29. uint16_t remote_get_subnet_idx(uint16_t addr);
  30. void remote_print_node(uint16_t addr);
  31. void remote_print_all(void);