gchar *dtmf;
} telephony_event_dtmf_t;
+typedef struct {
+ const gchar *remote_address;
+ guint battery_level;
+} telephony_event_hf_battery_level_t;
+
typedef enum {
BLUETOOTH_STATE_CONNECTED,
BLUETOOTH_STATE_PLAYING,
BLUETOOTH_EVENT_TELEPHONY_SET_MIC_GAIN,
BLUETOOTH_EVENT_TELEPHONY_NREC_CHANGED,
BLUETOOTH_EVENT_TELEPHONY_VENDOR_AT_CMD,
+ BLUETOOTH_EVENT_TELEPHONY_HF_BATTERY_LEVEL_CHANGED,
} bluetooth_telephony_event_type;
typedef enum {
int bluetooth_telephony_set_speaker_gain(unsigned short speaker_gain);
/**
+ * @brief The function bluetooth_telephony_get_battery_level is called to get
+ * the changed battery level on AG.
+ *
+ * @param[in] remote_address Remote Addr.
+ * @param[out] level Battery level.
+ * @return int Zero on Success or reason for error if any.
+ *
+ */
+int bluetooth_telephony_get_battery_level(
+ const char *remote_address, unsigned int *level);
+
+/**
* @brief The function bluetooth_telephony_is_connected is called to get
* the connection state on AG.
*
*/
int bluetooth_telephony_is_connected(gboolean *ag_connected);
+/**
+ * @brief The function bluetooth_telephony_set_active_headset is called to select
+ * the active headset device for AG role if more than one headset is connected.
+ *
+ * @param[in] remote_addr Remote Addr.
+ * @return int Zero on Success or reason for error if any.
+ *
+ */
+int bluetooth_telephony_set_active_headset(const char *remote_addr);
+
#ifdef __cplusplus
}
#endif /*__cplusplus*/