sco-msg.h 557 B

123456789101112131415161718192021222324252627
  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. static const char BLUEZ_SCO_SK_PATH[] = "\0bluez_sco_socket";
  11. #define SCO_SERVICE_ID 0
  12. #define SCO_STATUS_SUCCESS IPC_STATUS_SUCCESS
  13. #define SCO_STATUS_FAILED 0x01
  14. #define SCO_OP_STATUS IPC_OP_STATUS
  15. #define SCO_OP_GET_FD 0x01
  16. struct sco_cmd_get_fd {
  17. uint8_t bdaddr[6];
  18. } __attribute__((packed));
  19. struct sco_rsp_get_fd {
  20. uint16_t mtu;
  21. } __attribute__((packed));