extern "C" {
#endif
+typedef struct {
+ int req_id;
+ int type;
+ int disconnection_type;
+ char *address;
+ gboolean ag_flag;
+ GArray **out_param1;
+} bt_headset_wait_t;
+
typedef enum {
- BT_AUDIO_HSP = 0x00,
+ BT_AUDIO_HSP = 0x01,
BT_AUDIO_A2DP,
BT_AUDIO_ALL,
} bt_audio_type_t;
+typedef enum {
+ BT_STATE_NONE = 0x00,
+ BT_STATE_CONNECTING,
+ BT_STATE_CONNECTED,
+} bt_headset_device_state_t;
int _bt_audio_connect(int request_id, int type,
bluetooth_device_address_t *device_address,
bluetooth_device_address_t *device_address,
GArray **out_param1);
-
int _bt_audio_get_speaker_gain(unsigned int *gain);
int _bt_audio_set_speaker_gain(unsigned int gain);
+void _bt_set_audio_wait_data_flag(gboolean flag);
+
+bt_headset_wait_t *_bt_get_audio_wait_data(void);
+
+void _bt_add_headset_to_list(int type, int status, const char *address);
+
+void _bt_remove_headset_from_list(int type, const char *address);
+
+gboolean _bt_is_headset_type_connected(int type, char *address);
#ifdef __cplusplus
}