X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=ag-agent%2Fbluetooth-ag-agent.h;h=c6b26b0228b7ad03f40cc7613c39f2f5c686f0f3;hb=f73521ce0d340c74d1643abe5a25a4077c275ceb;hp=1a6dd35e65efc25b683d8c283f101844ef6c6faa;hpb=6380317dda35e4c90c83bd6849d8c9fba22a8ae1;p=platform%2Fcore%2Fconnectivity%2Fbluetooth-agent.git diff --git a/ag-agent/bluetooth-ag-agent.h b/ag-agent/bluetooth-ag-agent.h index 1a6dd35..c6b26b0 100644 --- a/ag-agent/bluetooth-ag-agent.h +++ b/ag-agent/bluetooth-ag-agent.h @@ -25,6 +25,10 @@ #ifndef __DEF_BT_AG_AGENT_H_ #define __DEF_BT_AG_AGENT_H_ +#ifdef __cplusplus +extern "C" { +#endif + #undef LOG_TAG #define LOG_TAG "BLUETOOTH_AG_AGENT" @@ -75,6 +79,8 @@ #define TELEPHONY_APP_INTERFACE "org.tizen.csd.Call.Instance" #define BT_HEADSET_INTERFACE "org.bluez.Headset" #define BT_ADAPTER_INTERFACE "org.bluez.Adapter1" +#define BT_INTERFACES_ADDED "InterfacesAdded" +#define BT_INTERFACES_REMOVED "InterfacesRemoved" #ifdef TIZEN_FEATURE_BT_MEDIA_ENHANCE #define BT_PROPERTIES_INTERFACE "org.freedesktop.DBus.Properties" #define BLUEZ_MEDIA_TRANSPORT_INTERFACE "org.bluez.MediaTransport1" @@ -148,7 +154,8 @@ enum hfp_version { HFP_VERSION_1_5 = 0x0105, HFP_VERSION_1_6 = 0x0106, - HFP_VERSION_LATEST = HFP_VERSION_1_6, + HFP_VERSION_1_7 = 0x0107, + HFP_VERSION_LATEST = HFP_VERSION_1_7, }; /* BD Address */ @@ -244,6 +251,8 @@ typedef enum { BT_AG_FEATURE_ENHANCED_CALL_CONTROL = 0x0080, BT_AG_FEATURE_EXTENDED_ERROR_RESULT_CODES = 0x0100, BT_AG_FEATURE_CODEC_NEGOTIATION = 0x0200, + BT_AG_FEATURE_HF_INDICATORS = 0x0400, + BT_AG_FEATURE_ESCO_S4_T2_SUPPORT = 0x0800, } bt_ag_agent_feature_t; typedef enum { @@ -623,4 +632,7 @@ bt_hfp_agent_error_t _bt_ag_agent_vendor_cmd(const gchar *cmd, void _bt_ag_agent_check_transport_state(void); #endif +#ifdef __cplusplus +} +#endif #endif /* __DEF_BT_AG_AGENT_H_ */