#define BT_HF_SERVICE_INTERFACE "org.tizen.HfApp"
#define BT_HF_BLUEZ_OBJECT_PATH "/org/tizen/handsfree"
#define BT_HF_BLUEZ_INTERFACE "org.bluez.HandsfreeAgent"
+#define BT_PBAP_CLIENT_OBJECT_PATH "/org/tizen/pbap_client"
+
#define BLUEZ_SERVICE_NAME "org.bluez"
#define BLUEZ_HF_INTERFACE_NAME "org.bluez.HandsfreeGateway"
#define BLUEZ_PROFILE_MGMT_INTERFACE "org.bluez.ProfileManager1"
BT_HF_CALL_STAT_WAITING,
} bt_hf_call_status_t;
+typedef enum {
+ BT_HF_DA_CALL_STAT_CALL_STARTED,
+ BT_HF_DA_CALL_STAT_CALL_ENDED,
+ BT_HF_DA_CALL_STAT_CALL_IDLE,
+ BT_HF_DA_CALL_STAT_CALL_TERMINATED,
+ BT_HF_DA_CALL_STAT_CALL_WAITING,
+ BT_HF_DA_CALL_STAT_CALL_SETUP_INCOMING,
+ BT_HF_DA_CALL_STAT_CALL_SETUP_DIALING,
+ BT_HF_DA_CALL_STAT_CALL_SETUP_ALERTING,
+} bt_hf_da_call_status_t;
+
typedef struct {
guint32 fd;
gint sco_fd;
GDBusMethodInvocation *context;
char *path;
+
+ void *audio_output;
+ void *audio_input;
+ bt_hf_da_call_status_t call_state;
+ gboolean is_first_audio_out;
+ gboolean is_first_audio_in;
+ gboolean is_audio_input_mute;
} bt_hf_agent_info_t;
typedef struct {