Update the RFCOMM server connection information
[platform/core/connectivity/bluetooth-frwk.git] / include / bluetooth-audio-api.h
old mode 100644 (file)
new mode 100755 (executable)
index 86d6b55..ee02925
@@ -222,6 +222,37 @@ int bluetooth_ag_set_speaker_gain(unsigned int speaker_gain);
  */
 int bluetooth_audio_select_role(bluetooth_audio_role_t role);
 
+/**
+ * @brief      The function bluetooth_audio_get_absolute_volume is called to set
+ *     the Aboslute volume.
+ *
+ * @param[in]  volume Headset's volume
+ * @return     int     Zero on Success or reason for error if any.
+ *
+ */
+int bluetooth_audio_set_absolute_volume(unsigned int volume);
+
+/**
+ * @brief      The function bluetooth_audio_get_absolute_volume is called to get
+ *     the Aboslute volume.
+ *
+ * @param[out] volume Headset's volume
+ * @return     int     Zero on Success or reason for error if any.
+ *
+ */
+int bluetooth_audio_get_absolute_volume(unsigned int *volume);
+
+/**
+ * @brief      The function bluetooth_audio_is_avc_activated is called to get
+ *     the Aboslute volume Control mode is activated or not
+ *
+ * @param[out] AVC mode is activated or not
+ * @return     int     Zero on Success or reason for error if any.
+ *
+ */
+int bluetooth_audio_is_avc_activated(bool *activated);
+
+
 typedef struct {
        int event;
        int result;
@@ -270,6 +301,8 @@ int bluetooth_hf_free_call_list(bt_hf_call_list_s *call_list);
 
 int bluetooth_hf_request_call_list(bt_hf_call_list_s **call_list);
 
+int bluetooth_hf_request_call_list_async(void);
+
 int bluetooth_hf_get_codec(unsigned int *codec_id);
 
 int bluetooth_hf_get_audio_connected(unsigned int *audio_connected);