1 /* Copyright (c) 2013 The Chromium OS 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 */ 5 6 #ifndef CRAS_BT_CONSTANTS_H_ 7 #define CRAS_BT_CONSTANTS_H_ 8 9 #define BLUEZ_SERVICE "org.chromium.Bluetooth" 10 11 #define BLUEZ_INTERFACE_ADAPTER "org.bluez.Adapter1" 12 #define BLUEZ_INTERFACE_DEVICE "org.bluez.Device1" 13 #define BLUEZ_INTERFACE_MEDIA "org.bluez.Media1" 14 #define BLUEZ_INTERFACE_MEDIA_ENDPOINT "org.bluez.MediaEndpoint1" 15 #define BLUEZ_INTERFACE_MEDIA_TRANSPORT "org.bluez.MediaTransport1" 16 #define BLUEZ_INTERFACE_PLAYER "org.bluez.MediaPlayer1" 17 #define BLUEZ_INTERFACE_PROFILE "org.bluez.Profile1" 18 #define BLUEZ_PROFILE_MGMT_INTERFACE "org.bluez.ProfileManager1" 19 /* Remove once our D-Bus header files are updated to define this. */ 20 #ifndef DBUS_INTERFACE_OBJECT_MANAGER 21 #define DBUS_INTERFACE_OBJECT_MANAGER "org.freedesktop.DBus.ObjectManager" 22 #endif 23 24 /* UUIDs taken from lib/uuid.h in the BlueZ source */ 25 #define HSP_HS_UUID "00001108-0000-1000-8000-00805f9b34fb" 26 #define HSP_AG_UUID "00001112-0000-1000-8000-00805f9b34fb" 27 28 #define HFP_HF_UUID "0000111e-0000-1000-8000-00805f9b34fb" 29 #define HFP_AG_UUID "0000111f-0000-1000-8000-00805f9b34fb" 30 31 #define A2DP_SOURCE_UUID "0000110a-0000-1000-8000-00805f9b34fb" 32 #define A2DP_SINK_UUID "0000110b-0000-1000-8000-00805f9b34fb" 33 34 #define AVRCP_REMOTE_UUID "0000110e-0000-1000-8000-00805f9b34fb" 35 #define AVRCP_TARGET_UUID "0000110c-0000-1000-8000-00805f9b34fb" 36 37 #define GENERIC_AUDIO_UUID "00001203-0000-1000-8000-00805f9b34fb" 38 39 #endif /* CRAS_BT_CONSTANTS_H_ */ 40