summaryrefslogtreecommitdiff
path: root/profiles
AgeCommit message (Collapse)AuthorFilesLines
2016-11-28Add Ford carkit on except START_TIMEOUT list.Minkyung Jo1-1/+2
[Problem] Gear make a noise when carkit initiate connection. [Cause & Measure] Pulseaudio acquire is delayed, because request of AVDTP_OPEN from cakir didn't come. [Checking Method] Gear - Ford carkit connection -> carkit power off -> power on Change-Id: I95129e935bb120ec9abb150368af3e8c82c07c1e Signed-off-by: Injun Yang <injun.yang@samsung.com>
2016-11-21Modify build feature names as Tizen 3.0 build option naming rulesubmit/tizen_3.0/20161122.004310accepted/tizen/3.0/wearable/20161122.124715accepted/tizen/3.0/tv/20161122.124655accepted/tizen/3.0/mobile/20161122.124630accepted/tizen/3.0/ivi/20161122.124737accepted/tizen/3.0/common/20161122.195214DoHyun Pyun18-228/+228
Change-Id: Icec1cdefc18c52cb14971a8df4465c6bc976b1d5 Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
2016-11-09Port proximity profiles to new GATT archsubmit/tizen_3.0_common/20161114.081136submit/tizen_3.0/20161110.000333accepted/tizen/3.0/wearable/20161110.071339accepted/tizen/3.0/tv/20161110.071324accepted/tizen/3.0/mobile/20161110.071305accepted/tizen/3.0/ivi/20161110.071351accepted/tizen/3.0/common/20161114.143329Gowtham Anandha Babu4-3/+436
1) Ported to new GATT architecure 2) Added RegisterProximty and UnregisterProximity DBus methods on org.bluez.ProximityReporter1 interface. 3) Since TxPower in not implemented in BlueZ, commented for now. Change-Id: I749de3345639dfeab05384df950ea6918376092a Signed-off-by: Gowtham Anandha Babu <gowtham.ab@samsung.com>
2016-11-02Merge the code from privatesubmit/tizen_3.0_common/20161110.084657submit/tizen_3.0/20161107.085533accepted/tizen/3.0/wearable/20161108.062257accepted/tizen/3.0/tv/20161108.062244accepted/tizen/3.0/mobile/20161108.062225accepted/tizen/3.0/ivi/20161108.062312accepted/tizen/3.0/common/20161114.081334DoHyun Pyun2-2/+1
branch:devel/bluetooth/master ================================================= commit ecfa1d0dd2543caa510f1692ae06e40df77f30f1 Author: Biman Paul <biman.paul@samsung.com> Date: Wed Jun 29 16:27:07 2016 +0530 pbap: clear cache if name header is present ================================================= Change-Id: I9fc1980f5ecf3e1ed2276f2650630aee150e0ed8 Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
2016-09-09Restricted connection when request come from remoted audio devicesubmit/tizen/20160912.055637submit/tizen/20160912.033649accepted/tizen/wearable/20160913.041753accepted/tizen/tv/20160913.041732accepted/tizen/mobile/20160913.041719accepted/tizen/ivi/20160913.041814accepted/tizen/common/20160912.181444Hyuk Lee1-0/+12
Change-Id: Ic9bf302bdf3af5355979e781c9ef2a3bf1a5e019 Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
2016-08-12Merge the code from privateDoHyun Pyun10-26/+398
branch:devel/bluetooth/master ================================================= commit 2fca83fc8992b0475434b40f911eba47e623935e Author: Anurag Biradar <biradar.a@samsung.com> Date: Fri Aug 5 15:11:55 2016 +0530 HID: Adding support for dual HID Roles ================================================== Change-Id: I06b445bddbba372d3977904e5225d6ca54b12cb7 Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
2016-07-22Remove the code for setting smack labelingsubmit/tizen/20160809.064342accepted/tizen/wearable/20160809.232855accepted/tizen/tv/20160809.232643accepted/tizen/mobile/20160809.232826accepted/tizen/ivi/20160809.232800accepted/tizen/common/20160809.184123DoHyun Pyun2-66/+0
Change-Id: Ic9c08bdad83e17756fc8ace77da73ea7af8d555e Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
2016-04-12Upgrade bluez5_37 :Merge the code from privatesubmit/tizen/20160414.030922accepted/tizen/wearable/20160414.091945accepted/tizen/tv/20160414.092045accepted/tizen/mobile/20160414.092019accepted/tizen/ivi/20160414.092030accepted/tizen/common/20160414.142549h.sandeep32-1368/+4213
branch:devel/bluetooth/master ================================================ commit 81e16d9fa48dc40f2dcb15aca9ce87ea50d9a85e Author: Injun Yang <injun.yang@samsung.com> Date: Thu Mar 31 17:05:06 2016 +0900 GATT Server : Handle property and write type ============================================== Change-Id: I0d2b69488337b1f393fba43dc1268bd92ea6b6ac Signed-off-by: h.sandeep <h.sandeep@samsung.com>
2016-03-28Change the smack label to System for HDP / RFCOMM / AVDTP FDsubmit/tizen/20160328.061818accepted/tizen/common/20160329.050713DoHyun Pyun2-0/+67
Change-Id: I70c23d4ac2b1a221ddfc928d53df6e7b3f4bd296 Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
2016-03-17Fix BlueZ build warningsparas.kumar4-6/+34
Change-Id: I6260861c45448f149ff25fe8d50eaa4251b813aa Signed-off-by: paras.kumar <paras.kumar@samsung.com>
2016-01-12Merge the code from tizen_2.4submit/tizen_wearable/20160113.070045submit/tizen_tv/20160113.070042submit/tizen_mobile/20160113.070038accepted/tizen/wearable/20160114.013336accepted/tizen/tv/20160114.013220accepted/tizen/mobile/20160114.012931Taejin Woo20-698/+584
Change-Id: I7386c5d3ccf7022649ed17c7cb65e7f4e1b2ee27 Signed-off-by: Taejin Woo <tt.woo@samsung.com>
2015-12-09audio/avrcp: Fix ctype code of PlayItem and AddToNowPlayingBharat Panda1-2/+2
Both playItem and AddtoNowPlaying should use control type not status. As per specification this has to be changed to control type to PASS PTS test cases. git repo link: http://git.kernel.org/cgit/bluetooth/bluez.git/commit/?id=6e7700c0022996c28d6f72ca550e54e2b02f71bd Change-Id: I03cb14c225bfbea1ba0c808de4bd838e7204eed0
2015-12-09audio/avrcp: Fix possible crash when current player is removedBharat Panda1-6/+8
If current player is removed a new player should be assigned. This is needed as the crash is obsereved while removing the assinged player. git repo link: http://git.kernel.org/cgit/bluetooth/bluez.git/commit/?id=05790fa731e8387ee3e3808c9e1ffb8058ebd3df Change-Id: I3d66215e4af97b34155b74358ea0e76d7d3fde43
2015-12-02Add the config for TM1submit/tizen_wearable/20151202.054849submit/tizen_tv/20151202.054842submit/tizen_mobile/20151202.054839accepted/tizen/wearable/20151202.231048accepted/tizen/tv/20151202.230949accepted/tizen/mobile/20151202.230855Taejin Woo1-2/+1
Change-Id: I7e8d58387ed37b1ff41d5c6489ff240e7f600bb4 Signed-off-by: Taejin Woo <tt.woo@samsung.com>
2015-11-16audio: Fix checkpatch errorBharat Panda1-10/+14
This patch fixes all extra checkpatch error introduced on top of existing upstream code. Change-Id: Ic64775a6c7e7a900ee2cbba4c5c9eec5e96bcb0b
2015-11-16audio/avrcp: Fix memory leakBharat Panda1-0/+2
This frees settings list after used otherwise it leaks as follow: 48 (24 direct, 24 indirect) bytes in 1 blocks are definitely lost in loss record 152 of 239 at 0x4C28C50: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so) by 0x4E84679: g_malloc (in /usr/lib64/libglib-2.0.so.0.4400.1) by 0x4E9BCD2: g_slice_alloc (in /usr/lib64/libglib-2.0.so.0.4400.1) by 0x4E7A6E5: g_list_prepend (in /usr/lib64/libglib-2.0.so.0.4400.1) by 0x4E6E44B: g_hash_table_get_keys (in /usr/lib64/libglib-2.0.so.0.4400.1) by 0x426D5A: list_settings (media.c:1003) by 0x4336B4: player_list_settings (avrcp.c:1390) by 0x4336B4: avrcp_handle_register_notification (avrcp.c:1514) by 0x436711: handle_vendordep_pdu (avrcp.c:1827) by 0x42EB6F: session_cb (avctp.c:1025) by 0x4E7EA89: g_main_context_dispatch (in /usr/lib64/libglib-2.0.so.0.4400.1) by 0x4E7EE1F: ??? (in /usr/lib64/libglib-2.0.so.0.4400.1) by 0x4E7F141: g_main_loop_run (in /usr/lib64/libglib-2.0.so.0.4400.1) git repo link: http://git.kernel.org/cgit/bluetooth/bluez.git/commit/?id=cdcea1773a484767c766dccb63c32e0086d5bd4f Change-Id: I87ee38c217b02981f9950a1f5c43ab73a54059cd
2015-11-16audio/avrcp: Bump TG to version 1.5Bharat Panda1-4/+6
As AVRCP 1.5 features has been added and 1.4 is deprecated, version 1.5 should be used instead. git repo link: http://git.kernel.org/cgit/bluetooth/bluez.git/commit/?id=8a29308b4c581aec9042bf8fbe56f654c44ae506 Change-Id: If2c2d6b4e5890b0401a3f90522613190f54c64fb
2015-11-16audio/avrcp: Fix crash on RegisterNotificationBharat Panda1-2/+20
When registering AVRCP_EVENT_ADDRESSED_PLAYER_CHANGED there may not be any player available causing a crash. git repo link: http://git.kernel.org/cgit/bluetooth/bluez.git/commit/?id=60050fe469df1536466d1c6819670ce70ca92287 Change-Id: I889d727e1c411fe9970548355a39fa874cd41ce0
2015-11-16audio/avrcp: Add Set Addressed Player supportBharat Panda1-2/+116
Support added to handle Set Addressed Player PDU in TG role. Send EVENT_ADDRESSED_PLAYER_CHANGED on SetAddressedPlayer SUCCESS and follow procedure to reject all player specific events currently registered with the player. git repo link: http://git.kernel.org/cgit/bluetooth/bluez.git/commit/?id=4827d6b61fd4fae4d0ba2fe46c42e5021b97ca56 Change-Id: I0463a1875f2bf920985feaed3ff764c1a75bf083
2015-11-13audio: Fix not resetting connect_idBharat Panda2-0/+4
Ever since discovery can be canceled connect_id is now set while discovering so it needs to be reset on the callback otherwise it will cause .connect to always return -EBUSY until .disconnect is called. git repo link: http://git.kernel.org/cgit/bluetooth/bluez.git/commit/?id=a1a01a6f95fb3715dd7aa27af3543b6cb0a62da7 Change-Id: Ibd5af39c1346536f11a45390d3f262b2fcc15fa1
2015-11-13audio/avdtp: Fix added first endpointsBharat Panda1-4/+2
This resolves suspending and resuming only the first SEID. Changes taken only for linux bluez, excluded android part of fix. AVDTP_Start can contain several Stream Endpoing IDs to be resumed. AVDTP_Suspend can contain several Stream Endpoing IDs to be suspended. git repo link: http://git.kernel.org/cgit/bluetooth/bluez.git/commit/?id=b5c6b1ed97ee6fe03092223c5f4ba8800a186519 http://git.kernel.org/cgit/bluetooth/bluez.git/commit/?id=302e4163f39e87fe6ab951bc2e2eb322b43ed6cd Change-Id: I5f63eeae8b901d39782855205aad00b34b32a762
2015-11-10audio/avrcp: Add support for GetTotalNumberOfItemsBharat Panda3-3/+110
Added support for AVRCP GetTotalNumberOfItems command to get total num of items in a folder(with a given scope) prior calling GetFolderItems to retrieve the content of the folder. On response, emit PropertyChanged for "NumberOfItems" property on MediaPlayer1 interface. git repo link: http://git.kernel.org/cgit/bluetooth/bluez.git/commit/?id=f17d3a2c3b0d4a8869ff297f53d55d1cdd524421 Change-Id: I8b3274c376e0a009d4910412dce1b17e0f5b0ac6
2015-11-10Audio/Media: Fix incorrect value dereferenceBharat Panda1-1/+2
parameter value passed to the config_cb is a pointer to the gbooloean. Dereferencing the value rather than address leads to mismatch in handling the return value. avdtp.c:avdtp_parse_cmd() Received SET_CONFIGURATION_CMD a2dp.c:endpoint_setconf_ind() Source 0xb7d49ef8: Set_Configuration_Ind a2dp.c:setup_ref() 0xb7d53b98: ref=2 media.c:media_adapter_get_player() media.c:media_set_sink_callback() media.c:media_endpoint_async_call() Calling SetConfiguration: name = :1.37 path = /MediaEndpoint/A2DPSource *#0 0xb6cea184 in __libc_free (mem=0xbead3ae4) at malloc.c:3736 *#1 0xb6e33468 in g_free () from /usr/lib/libglib-2.0.so.0 *#2 0xb6f25db0 in auto_config (data=0xb7d53b98) at profiles/audio/a2dp.c:430 *#3 0xb6f2ad76 in config_cb (endpoint=<value optimized out>, * ret=<value optimized out>, size=<value optimized out>, * user_data=<value optimized out>) at profiles/audio/media.c:707 *#4 0xb6f2cc4a in endpoint_reply (call=<value optimized out>, * user_data=0xb7d516b0) at profiles/audio/media.c:357 *#5 0xb6ddce96 in _dbus_pending_call_complete (pending=0xb7d53bc8) * at dbus-pending-call.c:216 *#6 0xb6dcfe82 in complete_pending_call_and_unlock (connection=0xb7d44b40, * pending=0xb7d53bc8, message=<value optimized out>) * at dbus-connection.c:2331 git repo link: http://git.kernel.org/cgit/bluetooth/bluez.git/commit/?id=8a5538eaa6edb40693e5f93564c41e59f45bee09 Change-Id: I1286a29c0559845e66f56e427aed26e517c6b9ea
2015-11-10audio: Fix possible crash when removing deviceBharat Panda5-4/+73
Currently it is not possible to cancel avdtp_discover procedure leading to crashe if the device is removed while avdtp_discover is pending since its callback is still reachable. git repo link: http://git.kernel.org/cgit/bluetooth/bluez.git/commit/?id=33b447daaa3adfc04dfbc123538360d998e2d7d7 Change-Id: I607f818bbe0fe1287b421548fb41d1047bb88210
2015-11-10audio: Fix audio service stateBharat Panda2-2/+2
When profile .disconnect is called the state of the service is already set to disconnecting this is make no sense to call btd_service_connect_complete as it will do nothing and the state will never be updated to disconnected as it should. git repo link: http://git.kernel.org/cgit/bluetooth/bluez.git/commit/?id=e316a77f5a5fd4675c5b1f0da8a52fc253233054 Change-Id: I9780763b6265d27b4a6957a18fb0b352b3d72a9c
2015-11-10audio/transport: Fix emitting volume changed too soonBharat Panda1-1/+0
The volume should start at maximum (127) but at that point there is no reason to notify the remote since there is no stream ongoing so no changes can be applied. git repo link: http://git.kernel.org/cgit/bluetooth/bluez.git/commit/?id=bf25bb8b335e4cd967ad8e4d358addc7305818b9 Change-Id: I147023026c8d13ee9a8b90195bc88aeda7676112
2015-11-09audio/transport: Fix not emitting volume changesBharat Panda1-4/+13
Changes taken to add fix for not emitting volume change notification. If Volume is changed locally the change should be propagated using PropertiesChanged. git repo link: http://git.kernel.org/cgit/bluetooth/bluez.git/commit/?id=4f7843a0fcc1a0a4336004de2702f657fb97b5ff Change-Id: I97075d0daf716144f505ae39415727b77f54e5b9
2015-11-09audio/avrcp: Enable volume change notificationBharat Panda3-8/+60
Changes taken to enable volume change notification in TG role. When acting as a TG volume changes should be notified using RegisterNotification not SetAbsoluteVolume as the later is a CT operation. git repo link: http://git.kernel.org/cgit/bluetooth/bluez.git/commit/?id=ed347b646c57d1e75269a7dc69b6e2ab1a1b41b5 Change-Id: I317bfaf70b7088a3d9c531bb5c7a6536414fc09f
2015-11-06audio/avrcp: Fixes added for SetAbsoluteVolumeBharat Panda1-9/+2
Added event support for SetAbsoluteVolume in TG supported_events. Fix rejecting SetAbsoluteVolume without a player. Repo link: http://git.kernel.org/cgit/bluetooth/bluez.git/commit/?id=d8da70674705a397f287217070f3659c794cf804 http://git.kernel.org/cgit/bluetooth/bluez.git/commit/?id=85b829bdf15be8180465d91b22bd376c3d339f62 Change-Id: I1a532724765480ad449088371bd9c531d7c035bb
2015-10-21audio/avrcp: Assing ids when registering a playerBharat Panda1-0/+2
This gives the local player an id so when respoding to GetFolderItem they are distinguishable. Currently this required for further making a specific player ID as addressed player. git repo link: http://git.kernel.org/cgit/bluetooth/bluez.git/commit/?id=cde3bb8ab9336970036af9a7c8c2ea398c7ba626 Change-Id: I778a74e198a5f7d80187f73a6c36f948b73ddac3
2015-10-21audio/avrcp: Add support for Avaialble Player ChangedBharat Panda1-1/+15
Added AVRCP_EVENT_AVAILABLE_PLAYERS_CHANGED as supported events, send notification on change in available players list. git repo link: http://git.kernel.org/cgit/bluetooth/bluez.git/commit/?id=581edd089595a3a06d4c0dae78af6b0d2a4dc4af Change-Id: I00614764531561efa8b565fe5de6d4d16627e9e6
2015-06-08Upgrade Bluez 5.28 and synchronize Tizen 2.4's bluezDoHyun Pyun49-749/+994
Change-Id: Ifaf2154ba0ab19b180946e0d92f1817a1d9ed839 Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
2015-02-19Applied bluez patches present in Tizen branch. The following patches have ↵Abhinav Kumar11-8/+74
been applied : 1> bluetooth player: add searchable value to show cmd 2> add property connected for input device 3> core/service: Add btd_service_get_version 4> core/profile: Add version information to btd_profile 5> core/service: Add btd_service_set_auto_connect 6> core/service: Add btd_service_get_auto_connect 7> core/device: Use service auto_connect flag 8> profiles: Add missing local_uuid 9> core/service: Add btd_service_set_blocked 10> core/service: Add btd_service_is_blocked 11> core/profile: Add authorization UUID information to btd_profile 12> core/device: Add device_is_service_blocked 13> core/adapter: Check if service is blocked before authorizing 14> plugins: Add initial code for service plugin 15> plugins/service: Add initial code 16> Fix bluetoothd core dumped if disable bt tethering 17> Fix Security Static Code Analysis 18> Add param fd into authorize service 19> Modify the param of authorize service 20> Fix the remaining Security Static Code Analysis 21> Fix the length of string 22> Fix the remaining Security Static Code Analysis Change-Id: I3191182d850b1252248de76d4bd8f70768230b93
2015-02-18Changes for successful build after porting of Tizen 2.4 codeAbhinav Kumar45-2731/+3486
1> Copied Tizen 2.4 code in tizen branch. 2> Made changes to spec file for successful build. Also added a new file .gbs.conf. Change-Id: I6e479759454c1978e68340a0f3541fb66b437044
2014-11-24Merge "Fix Security Static Code Analysis Bug-Tizen: TC-2072" into tizensubmit/tizen_ivi/20141201.222222submit/tizen/20141124.114031accepted/tizen/mobile/20141128.101138accepted/tizen/ivi/20141204.033203accepted/tizen/common/20141124.170312wu zheng1-1/+1
2014-11-24Add param fd into authorize serviceGu Chaojie5-7/+7
Change-Id: I138b1a9f1e8fca2530d443d461d961a13727bafa Signed-off-by: Gu Chaojie <chao.jie.gu@intel.com>
2014-11-22Fix Security Static Code AnalysisGu Chaojie1-1/+1
Bug-Tizen: TC-2072 Change-Id: I7e92d05aca928992f185e402d6b3fffd0419584c Signed-off-by: Gu Chaojie <chao.jie.gu@intel.com>
2014-11-06Fix bluetoothd core dumped if disable bt tethering.submit/tizen_mobile/20141120.000000submit/tizen/20141107.030536accepted/tizen/ivi/20141112.024246accepted/tizen/common/20141107.142341wu zheng1-6/+21
If the remote device connected with the current device and the connection is tethering, disable bt tethering in the current device, it results in bluetoothd core dumped. The related values aren't protected, it results in it. The patch fixed the issue of TC-1988. Change-Id: I7ae5d80712c4d9626602e011f9f66ccb992629b4 Signed-off-by: Wu Zheng <wu.zheng@intel.com>
2014-09-23core/profile: Add authorization UUID information to btd_profileLuiz Augusto von Dentz3-0/+7
This is necessary since some profiles may use different UUID for authorization.
2014-09-23profiles: Add missing local_uuidLuiz Augusto von Dentz3-0/+10
2014-09-23core/profile: Add version information to btd_profileLuiz Augusto von Dentz5-0/+13
2014-09-23core: Make device_get_path publicLuiz Augusto von Dentz17-79/+82
This renames device_get_path to btd_device_get_path so external plugin can use of it as well.
2014-06-19add NAP network disconnect signalGu Chaojie3-11/+81
Change-Id: Ib869d38a192d9848581940538c91e8ede881d135 Signed-off-by: Gu Chaojie <chao.jie.gu@intel.com>
2014-06-11add input connect signaltizen_3.0.m14.2_ivi_releasesubmit/tizen_ivi/20140623.000000submit/tizen_ivi/20140622.000000submit/tizen_ivi/20140619.000000submit/tizen_ivi/20140618.000003submit/tizen_ivi/20140618.000002submit/tizen_ivi/20140618.000001submit/tizen_ivi/20140618.000000submit/tizen/20140613.101940accepted/tizen/ivi/20140623.084947tizen_3.0.m14.2_iviGu Chaojie1-0/+6
Change-Id: Ife36b2531a588ff458f39fdffcdead52e745109a Signed-off-by: Gu Chaojie <chao.jie.gu@intel.com>
2014-06-10Add NAP network signalsubmit/tizen/20140610.094033accepted/tizen/ivi/20140613.100145wu zheng1-3/+38
The patch exists in the bluez-5.12 tizen version. Bluetooth-Frwk need the signal to notify the upper app. Change-Id: I584a80c7d3970e6e85f3f143a861ae2ca559057f Signed-off-by: Wu Zheng <wu.zheng@intel.com>
2014-06-09add property connected for input devicesubmit/tizen/20140610.073017Gu Chaojie1-0/+21
Change-Id: I2bf22547f81e9a832861e31435d32297e87d4f89 Signed-off-by: Gu Chaojie <chao.jie.gu@intel.com>
2014-06-05profiles/audio: Fix propagation of EHOSTDOWN errorsubmit/tizen/20140606.095742Andrzej Kaczmarek2-10/+16
EHOSTDOWN error is now overwritten by EIO and once it's passed to device_profile_connected it triggers connection of another profiles while it should actually stop connecting them. Change-Id: I2a2f802c582214170f7a2c8d89a550c72d07efab Signed-off-by: Sebastian Chlad <sebastianx.chlad@intel.com>
2014-05-27Imported Upstream version 5.19upstream/5.19upstreamSebastian Chlad51-1136/+2030
2013-12-12Imported Upstream version 5.12upstream/5.12Wu Zheng19-277/+379
2013-11-26Imported Upstream version 5.11upstream/5.11Wu Zheng4-75/+84