btif_pbap.c 533 B

123456789101112131415161718192021222324
  1. /*
  2. * Copyright (c) 2016 Actions Semi Co., Inc.
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. */
  6. /**
  7. * @file
  8. * @brief bt pbap interface
  9. */
  10. #define SYS_LOG_DOMAIN "btif_pbap"
  11. #include "btsrv_os_common.h"
  12. #include "btsrv_inner.h"
  13. int btif_pbap_register_processer(void)
  14. {
  15. return btsrv_register_msg_processer(MSG_BTSRV_PBAP, &btsrv_pbap_process);
  16. }
  17. int btif_pbap_cmd_op(struct bt_pbap_op_param *param)
  18. {
  19. return btsrv_function_call_malloc(MSG_BTSRV_PBAP, MSG_BTSRV_PBAP_CMD_OP, (void *)param, sizeof(struct bt_pbap_op_param), 0);
  20. }