platform/core/connectivity/bluetooth-frwk.git
9 years agoget connected fd by socket accept 50/23650/1
Gu Chaojie [Tue, 1 Jul 2014 06:02:42 +0000 (14:02 +0800)]
get connected fd by socket accept

Change-Id: Ib9ea0aea2799b28ca6a15d5ceb0955b56c9b1ea5
Signed-off-by: Gu Chaojie <chao.jie.gu@intel.com>
9 years agoCAPI/Spp: Add fd number to support multi-spp context 32/23532/1
Wu Jiangbo [Fri, 27 Jun 2014 08:31:55 +0000 (16:31 +0800)]
CAPI/Spp: Add fd number to support multi-spp context

Change-Id: I29c51da87c274fe652316f869cb118278d72159e
Signed-off-by: Wu Jiangbo <jiangbox.wu@intel.com>
9 years agoAdd const to match gdbus interfaces 12/23412/1
wu zheng [Wed, 25 Jun 2014 07:19:29 +0000 (03:19 -0400)]
Add const to match gdbus interfaces

Change-Id: Ica54e4a6f5e09377e7e01435b2756c70c7154699
Signed-off-by: Wu Zheng <wu.zheng@intel.com>
9 years agoreplace dbus cache property method 09/23409/2
Gu Chaojie [Wed, 25 Jun 2014 06:23:15 +0000 (14:23 +0800)]
replace dbus cache property method

Change-Id: Ib223243a414d15c77ececb535d573a12998f0d8c
Signed-off-by: Gu Chaojie <chao.jie.gu@intel.com>
9 years agoSet the right hdp proxy and make bluez struct private 72/23372/1
wu zheng [Tue, 24 Jun 2014 09:40:18 +0000 (05:40 -0400)]
Set the right hdp proxy and make bluez struct private

hdp proxy is not right and it is modified.
bluez struct should be private. Therefore, modify it.

Change-Id: I717a6cbc619b76d5d311ac351f4128c53a8cef3d
Signed-off-by: Wu Zheng <wu.zheng@intel.com>
9 years agoTest opp server register by conn request 49/23249/2
wu zheng [Fri, 20 Jun 2014 11:06:24 +0000 (07:06 -0400)]
Test opp server register by conn request

Change-Id: I8ebb24d5328a1b687fb83386f6172f0925b3d7f5
Signed-off-by: Wu Zheng <wu.zheng@intel.com>
9 years agoImplement opp server register by conn request function 48/23248/1
wu zheng [Fri, 20 Jun 2014 09:55:25 +0000 (05:55 -0400)]
Implement opp server register by conn request function

The function matches bt_opp_server_initialize in Bluez5.X.
No any auth service signale in the process of opp server.
Therefore, the same implementation with bt_opp_server_initialize.

Change-Id: I3922424c6eb1f2bded230a5055bdc84fd0a648a4
Signed-off-by: Wu Zheng <wu.zheng@intel.com>
9 years agoadd hid connect status in connected profile 87/23187/2
Gu Chaojie [Thu, 19 Jun 2014 05:46:24 +0000 (13:46 +0800)]
add hid connect status in connected profile

Change-Id: Ife75ea9d55eb8807dbb721cb2eec8ffb07473a1c
Signed-off-by: Gu Chaojie <chao.jie.gu@intel.com>
9 years agoCAPI: Implement NAP set connection callback 85/23185/2
Gu Chaojie [Thu, 19 Jun 2014 06:53:13 +0000 (14:53 +0800)]
CAPI: Implement NAP set connection callback

Change-Id: Ic6fd9a7ee7733a15b373536c76e89a0739b8ca99
Signed-off-by: Gu Chaojie <chao.jie.gu@intel.com>
9 years agoCAPI/OPP: Implenment OPP Client CAPIs 32/23032/2
Wu Jiangbo [Mon, 16 Jun 2014 09:02:21 +0000 (17:02 +0800)]
CAPI/OPP: Implenment OPP Client CAPIs

Change-Id: Ic264ec66b7cb9484d884984b00a1d4b86fc8203e
Signed-off-by: Wu Jiangbo <jiangbox.wu@intel.com>
9 years agoObex/Session: Add function obex_session_set_watch() 31/23031/1
Wu Jiangbo [Fri, 13 Jun 2014 12:34:09 +0000 (20:34 +0800)]
Obex/Session: Add function obex_session_set_watch()

Change-Id: I8b6fc98d7bbcd6b053578c2d4e746dfc46017a2d
Signed-off-by: Wu Jiangbo <jiangbox.wu@intel.com>
9 years agoCAPI/Agent: Using async function to register agent 30/23030/1
Wu Jiangbo [Mon, 16 Jun 2014 09:44:49 +0000 (17:44 +0800)]
CAPI/Agent: Using async function to register agent

Change-Id: Ie3023feb663b02ae92678601269f66c91504cfef
Signed-off-by: Wu Jiangbo <jiangbox.wu@intel.com>
9 years agoCAPI/OPP: Implement function bt_opp_server_set_destination() 29/23029/1
Wu Jiangbo [Fri, 13 Jun 2014 08:49:24 +0000 (16:49 +0800)]
CAPI/OPP: Implement function bt_opp_server_set_destination()

Change-Id: Ie5c2b2c643e631101c4567397ca8faddb02f899d
Signed-off-by: Wu Jiangbo <jiangbox.wu@intel.com>
9 years agoCAPI/OPP: Implement function bt_opp_server_cancel_transfer() 28/23028/1
Wu Jiangbo [Fri, 13 Jun 2014 07:36:40 +0000 (15:36 +0800)]
CAPI/OPP: Implement function bt_opp_server_cancel_transfer()

Change-Id: I13ced45bcc20239f2ba77be447d661bc158e94f0
Signed-off-by: Wu Jiangbo <jiangbox.wu@intel.com>
9 years agoCAPI/OPP: Implement function bt_server_accept/reject() 27/23027/1
Wu Jiangbo [Fri, 13 Jun 2014 07:32:32 +0000 (15:32 +0800)]
CAPI/OPP: Implement function bt_server_accept/reject()

Change-Id: I47d68b9d47bfa945b0f4bfb395287f5b7f0ce032
Signed-off-by: Wu Jiangbo <jiangbox.wu@intel.com>
9 years agoCAPI/OPP: Implement function bt_opp_server_initialize/deinitialize() 26/23026/1
Wu Jiangbo [Thu, 12 Jun 2014 09:07:13 +0000 (17:07 +0800)]
CAPI/OPP: Implement function bt_opp_server_initialize/deinitialize()

Change-Id: I35a681cdb601868e58ca97fd244dc9804f270e52
Signed-off-by: Wu Jiangbo <jiangbox.wu@intel.com>
9 years agoImplement bt_device_foreach_connected_profiles function 50/22950/1
wu zheng [Fri, 13 Jun 2014 11:33:33 +0000 (07:33 -0400)]
Implement bt_device_foreach_connected_profiles function

Change-Id: I0714158cf4112a22902ccdc227bcdc6cc57d19c1
Signed-off-by: Wu Zheng <wu.zheng@intel.com>
9 years agoFix the issue of media agent can't be registered 40/22940/1
wu zheng [Fri, 13 Jun 2014 09:43:21 +0000 (05:43 -0400)]
Fix the issue of media agent can't be registered

request_name_on_dbus can't get name two times.
Therefore, add the patch.

Change-Id: I9929524c9289044e7f3c14b09f5f63166ea27675
Signed-off-by: Wu Zheng <wu.zheng@intel.com>
9 years agoModify the avrcp and implement avrcp register function 37/22937/1
wu zheng [Fri, 13 Jun 2014 09:17:56 +0000 (05:17 -0400)]
Modify the avrcp and implement avrcp register function

Change-Id: Id1cf35cf43b1d78dd61bf9bbecb730c4473ed031
Signed-off-by: Wu Zheng <wu.zheng@intel.com>
10 years agoCAPI for hid host init and deinit 93/22793/1
Gu Chaojie [Thu, 12 Jun 2014 06:26:11 +0000 (14:26 +0800)]
CAPI for hid host init and deinit

Change-Id: I9871b5da7390ecdcca6f610febe2addef35c7b8c
Signed-off-by: Gu Chaojie <chao.jie.gu@intel.com>
10 years agoCAPI/Test: Add CAPI Socket test commands 17/22717/1
Wu Jiangbo [Tue, 10 Jun 2014 11:11:17 +0000 (19:11 +0800)]
CAPI/Test: Add CAPI Socket test commands

Change-Id: I7af37f17aa77247e3a95885a9764a5e53c548741
Signed-off-by: Wu Jiangbo <jiangbox.wu@intel.com>
10 years agoCAPI/Socket: Implemnet function bt_socket_set/unset_connection_state_changed_cb() 16/22716/1
Wu Jiangbo [Tue, 10 Jun 2014 08:10:33 +0000 (16:10 +0800)]
CAPI/Socket: Implemnet function bt_socket_set/unset_connection_state_changed_cb()

Change-Id: Ie2666c3b25ad4b4d46691b73180b3702084c44d2
Signed-off-by: Wu Jiangbo <jiangbox.wu@intel.com>
10 years agoCAPI/Socket: Implement function bt_socket_set/unset_connection_requested_cb() 15/22715/1
Wu Jiangbo [Tue, 10 Jun 2014 07:05:51 +0000 (15:05 +0800)]
CAPI/Socket: Implement function bt_socket_set/unset_connection_requested_cb()

Change-Id: I021a23fdd29a7bf4b8f4e2dfdd3052aa7934992f
Signed-off-by: Wu Jiangbo <jiangbox.wu@intel.com>
10 years agoCAPI/Socket: Implement function bt_socket_set/unset_data_received_cb() 14/22714/1
Wu Jiangbo [Tue, 10 Jun 2014 05:12:13 +0000 (13:12 +0800)]
CAPI/Socket: Implement function bt_socket_set/unset_data_received_cb()

Change-Id: I02999cb10b89b4ae563ddf37ff1136dc92c9d468
Signed-off-by: Wu Jiangbo <jiangbox.wu@intel.com>
10 years agoCAPI/Socket: Implement function bt_socket_send_data() 13/22713/1
Wu Jiangbo [Tue, 10 Jun 2014 05:07:34 +0000 (13:07 +0800)]
CAPI/Socket: Implement function bt_socket_send_data()

Change-Id: I05bb84b7a7c6c64e71c5141231006a59c5e675cb
Signed-off-by: Wu Jiangbo <jiangbox.wu@intel.com>
10 years agoCAPI/Socket: Implement function bt_socket_reject() 12/22712/1
Wu Jiangbo [Tue, 10 Jun 2014 03:47:21 +0000 (11:47 +0800)]
CAPI/Socket: Implement function bt_socket_reject()

Change-Id: Ia1e259719e78ad1a6885f977a608fca280b7fbaf
Signed-off-by: Wu Jiangbo <jiangbox.wu@intel.com>
10 years agoCAPI/Socket: Implement function bt_socket_accept 11/22711/1
Wu Jiangbo [Tue, 10 Jun 2014 03:44:34 +0000 (11:44 +0800)]
CAPI/Socket: Implement function bt_socket_accept

Change-Id: I40ee627e7501cb4d497f156ddddfd696e004a4e7
Signed-off-by: Wu Jiangbo <jiangbox.wu@intel.com>
10 years agoCAPI/Socket: Implement function bt_socket_listen_and_accept_rfcomm 10/22710/1
Wu Jiangbo [Tue, 10 Jun 2014 03:38:01 +0000 (11:38 +0800)]
CAPI/Socket: Implement function bt_socket_listen_and_accept_rfcomm

Change-Id: Iedd638a7c5464be5c5624427d72a26d8f91de4c5
Signed-off-by: Wu Jiangbo <jiangbox.wu@intel.com>
10 years agoCAPI/Socket: Add function bt_socket_listen 09/22709/1
Wu Jiangbo [Tue, 10 Jun 2014 03:33:01 +0000 (11:33 +0800)]
CAPI/Socket: Add function bt_socket_listen

Change-Id: I2861b67c6f04ac5e5e6943f4c3f7e6422368a529
Signed-off-by: Wu Jiangbo <jiangbox.wu@intel.com>
10 years agoCAPI/Socket: Add function bt_socket_connect/disconnect_rfcomm 08/22708/1
Wu Jiangbo [Thu, 5 Jun 2014 11:34:23 +0000 (19:34 +0800)]
CAPI/Socket: Add function bt_socket_connect/disconnect_rfcomm

Change-Id: I88ef40923ec034b13a55a0c6f4d612fe7e1bbf9c
Signed-off-by: Wu Jiangbo <jiangbox.wu@intel.com>
10 years agoCAPI/Socket: Add function bt_socket_create_rfcomm/bt_socket_destroy_rfcomm 07/22707/1
Wu Jiangbo [Thu, 5 Jun 2014 10:58:33 +0000 (18:58 +0800)]
CAPI/Socket: Add function bt_socket_create_rfcomm/bt_socket_destroy_rfcomm

Change-Id: I90feafae3ffdec79c4cd3c9254531fdc3acda36e
Signed-off-by: Wu Jiangbo <jiangbox.wu@intel.com>
10 years agoCAPI/Device: Fix unset device callback issue. 04/21604/1
Wu Jiangbo [Fri, 23 May 2014 09:22:13 +0000 (17:22 +0800)]
CAPI/Device: Fix unset device callback issue.

Change-Id: Ic74d38b10ff3c561fa1cd50768f63b941cd4a848
Signed-off-by: Wu Jiangbo <jiangbox.wu@intel.com>
10 years agoconnect le device is ok 56/20356/2
Gu Chaojie [Fri, 9 May 2014 08:25:26 +0000 (16:25 +0800)]
connect le device is ok

Change-Id: I8555f67200c85af159ec0871d3aaf2201a8898e3
Signed-off-by: Gu Chaojie <chao.jie.gu@intel.com>
10 years agoImplement the avrcp functions that Bluez 5.x doesn't support 77/19977/1
Wu Zheng [Thu, 24 Apr 2014 05:58:23 +0000 (01:58 -0400)]
Implement the avrcp functions that Bluez 5.x doesn't support

Bluez 5.x doesn't support the avrcp functions.
Bluetooth Framework doesn't implement them too.
Bluetooth Framework just provides the empty functions for them.

Change-Id: I71c51dff82053076792c423fecf05a25a2a515b7
Signed-off-by: Wu Zheng <wu.zheng@intel.com>
10 years agoImplement HDP callback features 46/19946/1
Wu Zheng [Wed, 23 Apr 2014 10:07:18 +0000 (06:07 -0400)]
Implement HDP callback features

Add the callback capi test functions
Modify HDP callback features

Change-Id: Ida2aeda14f4238f25710ade4f764f74f9a6dd1fd
Signed-off-by: Wu Zheng <wu.zheng@intel.com>
10 years agoAdd the HDP activate/deactive test case 03/19903/1
Wu Zheng [Wed, 23 Apr 2014 03:11:31 +0000 (23:11 -0400)]
Add the HDP activate/deactive test case

Change-Id: I2f4bfa8f757d1c538eaef2848ee52efa6b114711
Signed-off-by: Wu Zheng <wu.zheng@intel.com>
10 years agoImplement the HDP signal event features 35/19835/1
Wu Zheng [Mon, 21 Apr 2014 10:31:44 +0000 (06:31 -0400)]
Implement the HDP signal event features

connect/disconnect signal event is done.
HDP data receiving is done.

Change-Id: If2341a7ca0639d381ffa32a794885099b3c3cf60
Signed-off-by: Wu Zheng <wu.zheng@intel.com>
10 years agoImplement the HDP invoked CAPIs features 34/19834/1
Wu Zheng [Mon, 21 Apr 2014 09:28:55 +0000 (05:28 -0400)]
Implement the HDP invoked CAPIs features

Implement the activate/deactive/conn/disconn/send HDP features.

Change-Id: Id20eddf28e6ccb195f6dfbce1ddb840777af0416
Signed-off-by: Wu Zheng <wu.zheng@intel.com>
10 years agoImplement the HDP callback CAPIs 33/19833/1
Wu Zheng [Mon, 21 Apr 2014 07:47:37 +0000 (03:47 -0400)]
Implement the HDP callback CAPIs

Change-Id: I9eb6679e40f991c13f4e3e43b9998fad9cce1229
Signed-off-by: Wu Zheng <wu.zheng@intel.com>
10 years agoImplement the HDP related CAPIs 32/19832/1
Wu Zheng [Mon, 21 Apr 2014 06:53:47 +0000 (02:53 -0400)]
Implement the HDP related CAPIs

Implement the activate/deactive/conn/disconn/send HDP CAPIs.
At the same time, implement the common HDP related funcations.

Change-Id: I3fd6407500124ddaf200824d17603db8907dd44e
Signed-off-by: Wu Zheng <wu.zheng@intel.com>
10 years agoAdd hdp api related interfaces functions 31/19831/1
Wu Zheng [Mon, 21 Apr 2014 06:11:31 +0000 (02:11 -0400)]
Add hdp api related interfaces functions

Change-Id: Ib04bbb70b4bfea00753274997a602f04c3818d96
Signed-off-by: Wu Zheng <wu.zheng@intel.com>
10 years agoCAPI/Deivce: Add cancel pairing operation 09/19509/1
Wu Jiangbo [Mon, 14 Apr 2014 07:17:09 +0000 (15:17 +0800)]
CAPI/Deivce: Add cancel pairing operation

Change-Id: I04827f7899e4826047ed5e9c7485d095e9d02b30
Signed-off-by: Wu Jiangbo <jiangbox.wu@intel.com>
10 years agoCAPI/Device: Implement bt_device_cancel_service_search() 08/19308/3
Wu Jiangbo [Mon, 14 Apr 2014 07:12:10 +0000 (15:12 +0800)]
CAPI/Device: Implement bt_device_cancel_service_search()

Change-Id: Ibb4c3967661aa6e17eb2e77abd6f8dfd42baa4a5
Signed-off-by: Wu Jiangbo <jiangbox.wu@intel.com>
10 years agoCAPI/Device: Implement bt_device_start_service_search() 07/19307/3
Wu Jiangbo [Mon, 14 Apr 2014 07:11:39 +0000 (15:11 +0800)]
CAPI/Device: Implement bt_device_start_service_search()

Change-Id: Ic7c7de36578fdd3394fdcf3f6012d3bf2f93c446
Signed-off-by: Wu Jiangbo <jiangbox.wu@intel.com>
10 years agoCAPI/Device: Implement set/unset_device_service_serach_callback() 06/19306/1
Wu Jiangbo [Thu, 10 Apr 2014 03:13:32 +0000 (11:13 +0800)]
CAPI/Device: Implement set/unset_device_service_serach_callback()

Change-Id: I7937590c4fb95d8ff277ee04df186e644dce9c70
Signed-off-by: Wu Jiangbo <jiangbox.wu@intel.com>
10 years agoCAPI/Adapter: Implement function bt_adapter_unset_visibility_mode_changed_cb() 37/19237/1
Wu Jiangbo [Wed, 9 Apr 2014 07:13:01 +0000 (15:13 +0800)]
CAPI/Adapter: Implement function bt_adapter_unset_visibility_mode_changed_cb()

Change-Id: Ia32dc362bd7720c5c4279cac590ca02e7ff0c3ef
Signed-off-by: Wu Jiangbo <jiangbox.wu@intel.com>
10 years agoCAPI/Adapter: Implement function bt_adapter_set_visibility_mode_changed_cb() 36/19236/1
Wu Jiangbo [Wed, 9 Apr 2014 06:39:32 +0000 (14:39 +0800)]
CAPI/Adapter: Implement function bt_adapter_set_visibility_mode_changed_cb()

Change-Id: I31332c692cc4241ceab3fd09b3569b2768af2691
Signed-off-by: Wu Jiangbo <jiangbox.wu@intel.com>
10 years agoCAPI/Adapter: Implement function bt_adapter_unset_visibility_duration_changed_cb() 35/19235/1
Wu Jiangbo [Wed, 9 Apr 2014 05:29:18 +0000 (13:29 +0800)]
CAPI/Adapter: Implement function bt_adapter_unset_visibility_duration_changed_cb()

Change-Id: Icb01ee58f10a6ab3fbab33f6c6a26b680dc4a2bf
Signed-off-by: Wu Jiangbo <jiangbox.wu@intel.com>
10 years agoCAPI/Adapter: Implement function bt_adapter_set_visibility_duration_changed_cb() 34/19234/1
Wu Jiangbo [Wed, 9 Apr 2014 03:17:39 +0000 (11:17 +0800)]
CAPI/Adapter: Implement function bt_adapter_set_visibility_duration_changed_cb()

Change-Id: I33917138a5f95c8af9ff3901efefb85a2906065f
Signed-off-by: Wu Jiangbo <jiangbox.wu@intel.com>
10 years agoCAPI/NAP: Implement function bt_nap_deactivate() 75/19175/1
Wu Jiangbo [Tue, 8 Apr 2014 08:59:09 +0000 (16:59 +0800)]
CAPI/NAP: Implement function bt_nap_deactivate()

Change-Id: I23e26d317449125d54c0bf24571b020d8e65e1bf
Signed-off-by: Wu Jiangbo <jiangbox.wu@intel.com>
10 years agoCAPI/NAP: Implement function bt_nap_activate() 74/19174/1
Wu Jiangbo [Tue, 8 Apr 2014 07:46:30 +0000 (15:46 +0800)]
CAPI/NAP: Implement function bt_nap_activate()

Change-Id: Id7bb3d69e10fdef2f12bc9ac6b462d8383ab6f2d
Signed-off-by: Wu Jiangbo <jiangbox.wu@intel.com>
10 years agoCAPI/PANU: Implement function bt_panu_unset_connection_state_changed_cb() 49/19049/1
Wu Jiangbo [Fri, 4 Apr 2014 11:43:55 +0000 (19:43 +0800)]
CAPI/PANU: Implement function bt_panu_unset_connection_state_changed_cb()

Change-Id: I0ca59b742ccdaf85edf3a573dc72dc2d8f36a8d1
Signed-off-by: Wu Jiangbo <jiangbox.wu@intel.com>
10 years agoBlueZ/Device: Add function bluez_device_network_unset_connected_changed_cb() 48/19048/1
Wu Jiangbo [Fri, 4 Apr 2014 11:43:13 +0000 (19:43 +0800)]
BlueZ/Device: Add function bluez_device_network_unset_connected_changed_cb()

Change-Id: Ibffc9453090dfe786010d8c0f5e51c69046d9707
Signed-off-by: Wu Jiangbo <jiangbox.wu@intel.com>
10 years agoCAPI/PANU: Implement function bt_panu_set_connection_state_changed_cb() 47/19047/1
Wu Jiangbo [Fri, 4 Apr 2014 10:05:55 +0000 (18:05 +0800)]
CAPI/PANU: Implement function bt_panu_set_connection_state_changed_cb()

Change-Id: I0b72a10747e85845633320e930a0d2ff6a7a9cf6
Signed-off-by: Wu Jiangbo <jiangbox.wu@intel.com>
10 years agoBlueZ/Device: Add function bluez_device_network_set_connected_changed_cb() 46/19046/1
Wu Jiangbo [Fri, 4 Apr 2014 10:05:03 +0000 (18:05 +0800)]
BlueZ/Device: Add function bluez_device_network_set_connected_changed_cb()

Change-Id: I8bfca210fd773470126f693448fa8ca3b95e24ac
Signed-off-by: Wu Jiangbo <jiangbox.wu@intel.com>
10 years agoCAPI/Device: Add function bt_panu_disconnect() 45/19045/1
Wu Jiangbo [Thu, 3 Apr 2014 10:46:58 +0000 (18:46 +0800)]
CAPI/Device: Add function bt_panu_disconnect()

Change-Id: Ia42ea1edc2c70a2171302bf049bfd5807048caf2
Signed-off-by: Wu Jiangbo <jiangbox.wu@intel.com>
10 years agoBlueZ/Device: Add function bluez_device_network_get_property_connected() 44/19044/1
Wu Jiangbo [Wed, 2 Apr 2014 02:25:26 +0000 (10:25 +0800)]
BlueZ/Device: Add function bluez_device_network_get_property_connected()

Change-Id: Ic0e639075fe461d48f93fef968f6bd3167cd8183
Signed-off-by: Wu Jiangbo <jiangbox.wu@intel.com>
10 years agoBlueZ/Device: Add function bluez_device_network_disconnect() 43/19043/1
Wu Jiangbo [Wed, 2 Apr 2014 02:15:25 +0000 (10:15 +0800)]
BlueZ/Device: Add function bluez_device_network_disconnect()

Change-Id: I0fc2165c0289f9f169f77681d3d2e467f5e5370c
Signed-off-by: Wu Jiangbo <jiangbox.wu@intel.com>
10 years agoCAPI/Device: Add bt_panu_connect() 42/19042/1
Wu Jiangbo [Tue, 1 Apr 2014 11:20:44 +0000 (19:20 +0800)]
CAPI/Device: Add bt_panu_connect()

Change-Id: Iaea7812888aa8dc9822b5da79b5cb32240420ea8
Signed-off-by: Wu Jiangbo <jiangbox.wu@intel.com>
10 years agoBlueZ/Device: Parse Device GDBusInterface when it added 41/19041/1
Wu Jiangbo [Tue, 1 Apr 2014 11:11:08 +0000 (19:11 +0800)]
BlueZ/Device: Parse Device GDBusInterface when it added

Change-Id: I6382604702345c79c80d6274b1e7bb9624db3601
Signed-off-by: Wu Jiangbo <jiangbox.wu@intel.com>
10 years agoBlueZ/Device: Add function bluez_device_network_connect() 40/19040/1
Wu Jiangbo [Tue, 1 Apr 2014 10:23:37 +0000 (18:23 +0800)]
BlueZ/Device: Add function bluez_device_network_connect()

Change-Id: Icfa6e34fd67c85c2d76adce7f10d2c4d6cf8f62c
Signed-off-by: Wu Jiangbo <jiangbox.wu@intel.com>
10 years agoBlueZ/Device: Add device network proxy 39/19039/1
Wu Jiangbo [Tue, 1 Apr 2014 02:43:29 +0000 (10:43 +0800)]
BlueZ/Device: Add device network proxy

Change-Id: I319fa9411d3ea6ebf6640334e312d3e1a264a178
Signed-off-by: Wu Jiangbo <jiangbox.wu@intel.com>
10 years agoCAPI/Test: Fix command error 29/18529/2
Wu Jiangbo [Tue, 25 Mar 2014 10:40:53 +0000 (18:40 +0800)]
CAPI/Test: Fix command error

Change-Id: I171ccb0e7d598a5e0b2e8d18f721a45611675710
Signed-off-by: Wu Jiangbo <jiangbox.wu@intel.com>
10 years agoBluetotoh-Service/Map: Don't compile MAP for IVI 28/18528/2
Wu Jiangbo [Tue, 25 Mar 2014 10:39:53 +0000 (18:39 +0800)]
Bluetotoh-Service/Map: Don't compile MAP for IVI

Change-Id: I88136127e79e62645f8d658730a7c78563f17142
Signed-off-by: Wu Jiangbo <jiangbox.wu@intel.com>
10 years agoMerge changes If65929a8,I26544401,I5e6806b9,I666c1592,Icf52a5f1,I42f7f097,I7ee124e5...
wu zheng [Tue, 25 Mar 2014 02:18:27 +0000 (19:18 -0700)]
Merge changes If65929a8,I26544401,I5e6806b9,I666c1592,Icf52a5f1,I42f7f097,I7ee124e5 into devel

* changes:
  CAPI/Test: Authorize service with UUID
  CAPI/Adapter: Don't report more times for device discoveried
  CAPI/Test: Add command device_set_bond_destroyed_cb
  CAPI/Adapter: Add adapter visibility functions
  CAPI/Adapter: Add set/unset adapter name changed callback
  Comman: Set callback for async dbus method call
  Bluetooth-Service: ref objects after unref them

10 years agoCAPI/Test: Authorize service with UUID 93/18393/1
Wu Jiangbo [Fri, 21 Mar 2014 13:22:23 +0000 (21:22 +0800)]
CAPI/Test: Authorize service with UUID

Change-Id: If65929a86eba1ba68fab9b804386890aa9cb18e5
Signed-off-by: Wu Jiangbo <jiangbox.wu@intel.com>
10 years agoCAPI/Adapter: Don't report more times for device discoveried 92/18392/1
Wu Jiangbo [Fri, 21 Mar 2014 11:54:50 +0000 (19:54 +0800)]
CAPI/Adapter: Don't report more times for device discoveried

Change-Id: I2654440145619a0ba30f86882c136d6ab2b3e54f
Signed-off-by: Wu Jiangbo <jiangbox.wu@intel.com>
10 years agoCAPI/Test: Add command device_set_bond_destroyed_cb 91/18391/1
Wu Jiangbo [Fri, 21 Mar 2014 11:37:23 +0000 (19:37 +0800)]
CAPI/Test: Add command device_set_bond_destroyed_cb

Change-Id: I5e6806b9a379705e709808fd342495ed419e0cfb
Signed-off-by: Wu Jiangbo <jiangbox.wu@intel.com>
10 years agoCAPI/Adapter: Add adapter visibility functions 90/18390/1
Wu Jiangbo [Fri, 21 Mar 2014 11:02:41 +0000 (19:02 +0800)]
CAPI/Adapter: Add adapter visibility functions

Change-Id: I666c1592b3809cca3c43de6fe8abc755d848de59
Signed-off-by: Wu Jiangbo <jiangbox.wu@intel.com>
10 years agoCAPI/Adapter: Add set/unset adapter name changed callback 89/18389/1
Wu Jiangbo [Fri, 21 Mar 2014 10:21:47 +0000 (18:21 +0800)]
CAPI/Adapter: Add set/unset adapter name changed callback

Change-Id: Icf52a5f180706cc90c44caf85cde2a9c788bbc35
Signed-off-by: Wu Jiangbo <jiangbox.wu@intel.com>
10 years agoModify how to invoke the AVRCP callback 76/18376/1
Wu Zheng [Fri, 21 Mar 2014 10:15:20 +0000 (06:15 -0400)]
Modify how to invoke the AVRCP callback

According to the old Bluetooth-Frwk,
AVRCP callback should be invoked when audio conn/discon.

"org.bluez.Mediacontrol1" dbus will not be submitted
when device conn/discon.

Therefore, modify it.

Change-Id: I6374d91ae971bc99c2ec54965e3ed03275cc9edf
Signed-off-by: Wu Zheng <wu.zheng@intel.com>
10 years agoComman: Set callback for async dbus method call 88/18388/1
Wu Jiangbo [Fri, 21 Mar 2014 09:48:14 +0000 (17:48 +0800)]
Comman: Set callback for async dbus method call

Change-Id: I42f7f0978ff715ca4f3a6fb5a8144e74b7ba307f
Signed-off-by: Wu Jiangbo <jiangbox.wu@intel.com>
10 years agoMerge changes I553f323d,Ie8413072,Ic8b256e7,Iffaf010a,I8cae8032,I5fa58cd5,I80bf3792...
wu zheng [Fri, 21 Mar 2014 07:57:37 +0000 (00:57 -0700)]
Merge changes I553f323d,Ie8413072,Ic8b256e7,Iffaf010a,I8cae8032,I5fa58cd5,I80bf3792 into devel

* changes:
  CAPI/Adapter: Get adapter visibility timeout
  Bluetooth-Service: Add GetDiscoverableRemainTime function
  BlueZ/Adapter: Handle adapter discoverable timeout
  CAPI/Common: CAPI initialize bluez-lib don't depend on Bluetooth-Service
  Bluetooth-Service/Spec: Add dbus service file
  CAPI/Device: Device may be appeared before start discovery
  CAPI/Device: Remove property Icon for device

10 years agoBluetooth-Service: ref objects after unref them 87/18387/1
Wu Jiangbo [Thu, 20 Mar 2014 08:36:55 +0000 (16:36 +0800)]
Bluetooth-Service: ref objects after unref them

Change-Id: I7ee124e5e2b27a8a9a655a84e79bd59bdce6bc13
Signed-off-by: Wu Jiangbo <jiangbox.wu@intel.com>
10 years agoCAPI/Adapter: Get adapter visibility timeout 91/18291/1
Wu Jiangbo [Thu, 20 Mar 2014 06:07:27 +0000 (14:07 +0800)]
CAPI/Adapter: Get adapter visibility timeout

Change-Id: I553f323d6ee416ebf074c8aeae8cd8e0176d79b2
Signed-off-by: Wu Jiangbo <jiangbox.wu@intel.com>
10 years agoBluetooth-Service: Add GetDiscoverableRemainTime function 90/18290/1
Wu Jiangbo [Thu, 20 Mar 2014 01:25:03 +0000 (09:25 +0800)]
Bluetooth-Service: Add GetDiscoverableRemainTime function

Change-Id: Ie84130727d8dc9d97000c7d4b619b5b523107518
Signed-off-by: Wu Jiangbo <jiangbox.wu@intel.com>
10 years agoBlueZ/Adapter: Handle adapter discoverable timeout 89/18289/1
Wu Jiangbo [Thu, 20 Mar 2014 01:22:27 +0000 (09:22 +0800)]
BlueZ/Adapter: Handle adapter discoverable timeout

Change-Id: Ic8b256e7e07e8fd0a572eb2d7abc7b829c343c91
Signed-off-by: Wu Jiangbo <jiangbox.wu@intel.com>
10 years agoCAPI/Common: CAPI initialize bluez-lib don't depend on Bluetooth-Service 88/18288/1
Wu Jiangbo [Wed, 19 Mar 2014 02:35:16 +0000 (10:35 +0800)]
CAPI/Common: CAPI initialize bluez-lib don't depend on Bluetooth-Service

Change-Id: Iffaf010aac90962551b64826dfca8b0b7ae515f7
Signed-off-by: Wu Jiangbo <jiangbox.wu@intel.com>
10 years agoBluetooth-Service/Spec: Add dbus service file 87/18287/1
Wu Jiangbo [Tue, 18 Mar 2014 09:24:38 +0000 (17:24 +0800)]
Bluetooth-Service/Spec: Add dbus service file

Change-Id: I8cae80323be6c3b9d953b67d5cb5eab5f81e2abe
Signed-off-by: Wu Jiangbo <jiangbox.wu@intel.com>
10 years agoCAPI/Device: Device may be appeared before start discovery 86/18286/1
Wu Jiangbo [Tue, 4 Mar 2014 10:57:36 +0000 (18:57 +0800)]
CAPI/Device: Device may be appeared before start discovery

BlueZ 5.x will hold discovering devices a whole time, then dispear.
If start discovery before those device dispear, devices should report
to UI.

Change-Id: I5fa58cd56ee8a13c9a2911e144a307a2d9d7eb81
Signed-off-by: Wu Jiangbo <jiangbox.wu@intel.com>
10 years agoCAPI/Device: Remove property Icon for device 85/18285/1
Wu Jiangbo [Tue, 4 Mar 2014 06:31:44 +0000 (14:31 +0800)]
CAPI/Device: Remove property Icon for device

Change-Id: I80bf3792afbbeb395ded8b74339145e73bbed5f5
Signed-off-by: Wu Jiangbo <jiangbox.wu@intel.com>
10 years agoModify the license to match bluetooth-frwk-NG 54/18254/1
Wu Zheng [Wed, 19 Mar 2014 11:29:00 +0000 (07:29 -0400)]
Modify the license to match bluetooth-frwk-NG

Change-Id: Ifb125e06d447ffdb3d03104955b50bfb0b4a7674
Signed-off-by: Wu Zheng <wu.zheng@intel.com>
10 years agoAdd the map agent compiling items to make files 51/18251/1
Wu Zheng [Wed, 19 Mar 2014 11:24:43 +0000 (07:24 -0400)]
Add the map agent compiling items to make files

Change-Id: I608f55293fdc9afe3dcd53491dd395930428d8f3
Signed-off-by: Wu Zheng <wu.zheng@intel.com>
10 years agoAdd the map agent to the program flow 49/18249/1
Wu Zheng [Wed, 19 Mar 2014 11:21:54 +0000 (07:21 -0400)]
Add the map agent to the program flow

When Bluetooth Power on/off, map agent will be init.

Change-Id: I6457a8263cfb2b1f06083d021777a724cbbc0014
Signed-off-by: Wu Zheng <wu.zheng@intel.com>
10 years agoEnable and correct MapAgent interfaces except Notirigistration 48/18248/1
Wu Zheng [Wed, 19 Mar 2014 11:19:37 +0000 (07:19 -0400)]
Enable and correct MapAgent interfaces except Notirigistration

Change-Id: I90721b6b7966684385d13e588d740f17ff62bf4b
Signed-off-by: Wu Zheng <wu.zheng@intel.com>
10 years agoImplement the map agent handle_method functions 47/18247/1
Wu Zheng [Wed, 19 Mar 2014 11:18:07 +0000 (07:18 -0400)]
Implement the map agent handle_method functions

Deal with the all map agent features in handle_method.

Change-Id: Ib5176af846f594721e46a8cd6e643b2a6d2a76d4
Signed-off-by: Wu Zheng <wu.zheng@intel.com>
10 years agoAdd the implmentation of map agent interfaces functions 46/18246/1
Wu Zheng [Wed, 19 Mar 2014 11:16:30 +0000 (07:16 -0400)]
Add the implmentation of map agent interfaces functions

The map agent interfaces come from the bluetooth-agent.
Some modifications have been done to match Bluetooth-FRWK-NG

Change-Id: Ib935308b0953eb1894ee20c3d59ce26f3647df5e
Signed-off-by: Wu Zheng <wu.zheng@intel.com>
10 years agoAdd the files of map_bmessage.c and map_bmessage.h 45/18245/1
Wu Zheng [Wed, 19 Mar 2014 11:14:12 +0000 (07:14 -0400)]
Add the files of map_bmessage.c and map_bmessage.h

Change-Id: I8565c972ea7f8ecfceebb054e82aeb97a63245ab
Signed-off-by: Wu Zheng <wu.zheng@intel.com>
10 years agoImplement the DBUS interfaces of map agent 44/18244/1
Wu Zheng [Wed, 19 Mar 2014 11:12:26 +0000 (07:12 -0400)]
Implement the DBUS interfaces of map agent

Change-Id: I5b0952d725c8d179f22d8a15c319ecbc5d8a90c1
Signed-off-by: Wu Zheng <wu.zheng@intel.com>
10 years agoAdd the map agent g_bus_own_name skeleton 43/18243/1
Wu Zheng [Wed, 19 Mar 2014 11:10:15 +0000 (07:10 -0400)]
Add the map agent g_bus_own_name skeleton

Change-Id: I0255fc64aa306e6de0a6bd27382c920f786532f3
Signed-off-by: Wu Zheng <wu.zheng@intel.com>
10 years agoAdd license file. 32/17832/2
Junfeng Dong [Tue, 11 Mar 2014 08:39:24 +0000 (16:39 +0800)]
Add license file.

Change-Id: Ibb77aa519ec8f128a4c8cb123b9659ca5f109e17
Signed-off-by: Junfeng Dong <junfeng.dong@intel.com>
10 years agoMerge "Bluetooth-Service: Remove session when transfer will be free" into devel
wu zheng [Fri, 28 Feb 2014 02:31:07 +0000 (18:31 -0800)]
Merge "Bluetooth-Service: Remove session when transfer will be free" into devel

10 years agoMerge "Obex/Session: Using ref count to free session" into devel
wu zheng [Fri, 28 Feb 2014 02:31:00 +0000 (18:31 -0800)]
Merge "Obex/Session: Using ref count to free session" into devel

10 years agoMerge "Bluetooth-Service/Opp: Support multi file to send" into devel
wu zheng [Fri, 28 Feb 2014 02:30:52 +0000 (18:30 -0800)]
Merge "Bluetooth-Service/Opp: Support multi file to send" into devel

10 years agoMerge "Obex/Session: Add ref for obex server session" into devel
wu zheng [Fri, 28 Feb 2014 02:30:45 +0000 (18:30 -0800)]
Merge "Obex/Session: Add ref for obex server session" into devel

10 years agoMerge "Obex/Transfer: Add session ref for transfer" into devel
wu zheng [Fri, 28 Feb 2014 02:30:37 +0000 (18:30 -0800)]
Merge "Obex/Transfer: Add session ref for transfer" into devel

10 years agoMerge "Obex/Notify: Create transfer notify for global watched notifier" into devel
wu zheng [Fri, 28 Feb 2014 02:30:29 +0000 (18:30 -0800)]
Merge "Obex/Notify: Create transfer notify for global watched notifier" into devel

10 years agoMerge "Plugin: Init/Deinit brcm_bt when enable/disable" into devel
wu zheng [Fri, 28 Feb 2014 02:30:21 +0000 (18:30 -0800)]
Merge "Plugin: Init/Deinit brcm_bt when enable/disable" into devel

10 years agoMerge changes Iea9badff,I326e5961 into devel
wu zheng [Fri, 28 Feb 2014 02:30:13 +0000 (18:30 -0800)]
Merge changes Iea9badff,I326e5961 into devel

* changes:
  Plugin: Add rfkill control to enable/disable
  Plugin: Add plugin for Geek

10 years agoMerge "Bluetooth-Service: Uninstall driver should after powered down" into devel
wu zheng [Fri, 28 Feb 2014 02:29:54 +0000 (18:29 -0800)]
Merge "Bluetooth-Service: Uninstall driver should after powered down" into devel