Anupam Roy [Fri, 6 Jan 2017 12:36:38 +0000 (18:06 +0530)]
[TDS] Add support for Transport Discovery Service
This patch implements GATT driver for registration of
Transport Discovery Service. It also adds a custom
charatceristic for holding data belonging to custom transport.
Change-Id: I20f7435cd557fcef1b9f9ce82d12f1fef06d6a30
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
Injun Yang [Tue, 17 Jan 2017 08:12:57 +0000 (17:12 +0900)]
Invoke MTU changed callback
[Model] All
[BinType] AP
[Customer] OPEN
[Issue#] N/A
[Request] Internal
[Occurence Version] N/A
[Problem] When remote device request mtu exchange,
mtu changed callback is not invoked on responder
[Cause & Measure] Invoke mtu changed callback
[Checking Method] Request mtu exchange on remote device
[Team] Basic Connection
[Developer] Injun Yang
[Solution company] Samsung
[Change Type] Specification change
Change-Id: Ib9ee0e2c67043cb0384fed59bfc6a2e3e6b467e6
Signed-off-by: Injun Yang <injun.yang@samsung.com>
Deokhyun Kim [Thu, 12 Jan 2017 07:53:15 +0000 (16:53 +0900)]
Add HID report descriptor for GamePad.
Change-Id: I867bcfbad53d72e866ef459c1eb34120233dae6e
Signed-off-by: Deokhyun Kim <dukan.kim@samsung.com>
Injun Yang [Fri, 23 Dec 2016 02:12:10 +0000 (11:12 +0900)]
Code cleanup
[Model] All
[BinType] AP
[Customer] OPEN
[Issue#] N/A
[Request] Internal
[Occurence Version] N/A
[Problem] N/A
[Cause & Measure] Remove unused code
[Checking Method] N/A
[Team] Basic Connection
[Developer] Injun Yang
[Solution company] Samsung
[Change Type] Specification change
Change-Id: I7d1afbe298e091451e69f4c7528af460c21a3011
Signed-off-by: Injun Yang <injun.yang@samsung.com>
DoHyun Pyun [Wed, 14 Dec 2016 01:52:31 +0000 (10:52 +0900)]
Revert missed applied codes for obex service
Change-Id: I33076c5087be2dbc8865cfa9b0297faff436939b
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Wed, 14 Dec 2016 01:16:05 +0000 (10:16 +0900)]
Correct the upgrade file name
Change-Id: Ic4396b803680ae610ade42fd25ff66a4f63b448d
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Tue, 13 Dec 2016 23:21:38 +0000 (08:21 +0900)]
Modify the upgrade script name
Change-Id: Ie6f552d7029931979dc854a018b7a03e557f2fb2
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Seungyoun Ju [Wed, 7 Dec 2016 08:32:48 +0000 (17:32 +0900)]
TIZEN_FEATURE_BLUEZ_MODIFY define is missing in GATT Server
[Model] COMMON
[BinType] AP
[Customer] OPEN
[Issue#] N/A
[Request] Internal
[Occurrence Version] N/A
[Problem] Tizen change should be in TIZEN_FEATURE_BLUEZ_MODIFY. But some changes
are not in that define.
[Cause & Measure] Define statement is missing
[Checking Method] N/A
[Team] Basic connection
[Developer] Seungyoun Ju
[Solution company] Samsung
[Change Type] Specification change
Change-Id: I31f6f9f9de75b3144ec21f837b3df8fbcfc38c1b
Seungyoun Ju [Fri, 2 Dec 2016 05:40:41 +0000 (14:40 +0900)]
GATT Server : Provide a response necessity
[Model] COMMON
[BinType] AP
[Customer] OPEN
[Issue#] N/A
[Request] Internal
[Occurrence Version] N/A
[Problem] Applications couldn't know whether this write request require a
response or not
[Cause & Measure] There was no information about a response necessity.
And reply required dbus call is always used unnecessarily. This patch
provides a reponse necessity to above layer and uses no reply dbus call
for Write Without Response command.
[Checking Method] Add some writable characteristics to GATT Server ->
Send some Write Without Reponse or Write Reqest from a remote device
[Team] Basic connection
[Developer] Seungyoun Ju
[Solution company] Samsung
[Change Type] Specification change
Change-Id: I958d788c6873771f33d72e6b5310f63ead3dba70
Deokhyun Kim [Thu, 1 Dec 2016 11:07:16 +0000 (20:07 +0900)]
Call adapter_start on idle after adapter_register is completed.
adapter_register is NOT completed yet, but tries to emit a signal in
adapter_start. Modified to call adapter_start on idle after adapter_register
is completed.
Change-Id: I6acae539491eeecd208059660162ab170ef8aa1f
Signed-off-by: Deokhyun Kim <dukan.kim@samsung.com>
Lee Hyuk [Thu, 1 Dec 2016 08:34:20 +0000 (17:34 +0900)]
Add the missed patch config in LE scan
Change-Id: I9c8ddb4ba4d38e1c2cd34bee5fef619ead2e76be
Signed-off-by: Lee Hyuk <hyuk0512.lee@samsung.com>
Seungyoun Ju [Wed, 30 Nov 2016 06:34:59 +0000 (15:34 +0900)]
Set IRK always
[Problem] Android 6.x devices which don't support privacy 1.2 couldn't
make LE connection to the device which doesn't distribute IRK when pairing.
[Cause & Measure] Android 6.x devices which don't support privacy 1.2
use wrong address type when it tries to connect if remote device doesn't
distributes IRK. This is Android 6.x device's bug but for compatibility
Tizen need to distribute IRK even though Privacy feature is disabled.
[Checking Method] Pair BLE with A3 / A5 phones of Android version 6.x ->
Disconnect -> Try connect BLE again
Change-Id: I63d60721d6c2b7472110d09ceda51ca04e898029
Signed-off-by: Injun Yang <injun.yang@samsung.com>
Deokhyun Kim [Wed, 30 Nov 2016 05:33:00 +0000 (14:33 +0900)]
Check NULL for dev->disconnect
[Problem] bluez crashes when disconnecting hid fails
[Cause & Measure] dev->disconnect is already unrefed but tries again with NULL
[Checking Method] Launch VR Controller App wihtout GearVR
Change-Id: Iee9cd0d6793fac6c2c4f7ec54040293321383e7a
Signed-off-by: Injun Yang <injun.yang@samsung.com>
Seungyoun Ju [Wed, 30 Nov 2016 05:30:12 +0000 (14:30 +0900)]
Do not load a dev info if no technology has
[Problem] Old storage could have invalid directory. It causes paired
list corrupted
[Cause & Measure] Old bluez has some issues to store CSRK. It makes
invalid directory. It should be ignored when devices are loaded from
storage.
Change-Id: Ib18a4050f1d86145b2f53f8fff7629aebdff43ff
Signed-off-by: Injun Yang <injun.yang@samsung.com>
Injun Yang [Wed, 30 Nov 2016 05:25:03 +0000 (14:25 +0900)]
Code clean up
Change-Id: Ibe562feb31431ca9936f7c5ceafdd2e8d938efea
Signed-off-by: Injun Yang <injun.yang@samsung.com>
Injun Yang [Wed, 30 Nov 2016 05:21:58 +0000 (14:21 +0900)]
Handling non-flag adv data
[Problem] Unable to find scan result which have non flag adv data
[Cause & Measure] Even though the adv flag field is not included,
deliver it to bt service. Same with android behavior
[Checking Method] BLE Scanning
Change-Id: Ifbc85bedbe3edb38c5a2f0f588465ffc2ca07fcc
Signed-off-by: Injun Yang <injun.yang@samsung.com>
Injun Yang [Wed, 30 Nov 2016 05:19:20 +0000 (14:19 +0900)]
Synchronize file system
Change-Id: I3e98506ea01212d8ff8cd7125a1499701bc3cc92
Signed-off-by: Injun Yang <injun.yang@samsung.com>
Lee Hyuk [Tue, 29 Nov 2016 10:17:14 +0000 (19:17 +0900)]
Remove the LE scan trigger when the LE scan stop is called
Change-Id: I92393d03d369747148204304e55a678f180af7c3
Signed-off-by: Lee Hyuk <hyuk0512.lee@samsung.com>
Minkyung Jo [Wed, 28 Sep 2016 04:17:16 +0000 (13:17 +0900)]
Add Ford carkit on except START_TIMEOUT list.
[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>
DoHyun Pyun [Wed, 23 Nov 2016 09:15:27 +0000 (18:15 +0900)]
Disable un-verified codes in obex ftp
Change-Id: I8565f9b31caf41b0bd62efb84b8772fc656d41e1
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Tue, 22 Nov 2016 08:05:53 +0000 (17:05 +0900)]
Modify missed build option naming rules
Change-Id: Iea52cdd32c146dc2b8146d97b5a8e6bd3b009c48
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Lee Hyuk [Wed, 23 Nov 2016 01:37:44 +0000 (10:37 +0900)]
Remove the obexd ps command
Change-Id: Ica0a204e0acc2035fe64b60624473a97a6fd9101
Signed-off-by: Lee Hyuk <hyuk0512.lee@samsung.com>
Lee Hyuk [Tue, 22 Nov 2016 07:53:55 +0000 (16:53 +0900)]
Add the LE discovery timeout function
Change-Id: I64650314c506845775a78c918a2f31ff478275aa
Signed-off-by: Lee Hyuk <hyuk0512.lee@samsung.com>
DoHyun Pyun [Mon, 21 Nov 2016 05:46:12 +0000 (14:46 +0900)]
Modify build feature names as Tizen 3.0 build option naming rule
Change-Id: Icec1cdefc18c52cb14971a8df4465c6bc976b1d5
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Hyuk Lee [Mon, 21 Nov 2016 01:29:03 +0000 (10:29 +0900)]
Debug the current discovery type masking value
Change-Id: Iba0f9c6baedf835f8f1e764e2142e99ff16a34af
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
Deokhyun Kim [Wed, 16 Nov 2016 05:49:42 +0000 (14:49 +0900)]
Disconnect HID device service when HID profile is removed.
- Even though App which registered HID device profile is terminated abnoramlly,
HID is still connected. If trying to connect HID again then it fails always.
- A profile of device structure & a profile registered by App are different.
A profile of device structure maintains connceted status.
- If a HID profile registered by App is removed in status of connected,
disconnect the connection of the profile intentionally.
Change-Id: I9167ac4457cd431780184a3800a86bf82c2eb4ee
Signed-off-by: Deokhyun Kim <dukan.kim@samsung.com>
h.sandeep [Mon, 14 Nov 2016 09:05:00 +0000 (14:35 +0530)]
iBeacon: Remove ibeaconReport signal logic.
This patch removes the ibeacon report filter logic
and removes the signal iBeaconReport.
iBeacon filter logic is handled in CAPI.
Change-Id: Iecc1b82be967e70a5f2a9d497b5f791d5d092edf
Signed-off-by: h.sandeep <h.sandeep@samsung.com>
Hyuk Lee [Tue, 8 Nov 2016 08:41:31 +0000 (17:41 +0900)]
Remove the auto connection in GATT callback
Change-Id: I2754dddd3f3d7b387e50cfb1ee90b19f1b3dbda6
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
Gowtham Anandha Babu [Thu, 27 Oct 2016 12:20:38 +0000 (17:50 +0530)]
Port proximity profiles to new GATT arch
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>
Taejin Woo [Mon, 5 Sep 2016 02:21:24 +0000 (11:21 +0900)]
Activate Proximity profile
This patch enables proximity profile with
Reporter/Monitor roles.
Change-Id: I84e43c4df9a64258596db79623cdc17fda11606f
Signed-off-by: Taejin Woo <tt.woo@samsung.com>
Signed-off-by: h.sandeep <h.sandeep@samsung.com>
DoHyun Pyun [Wed, 2 Nov 2016 05:05:49 +0000 (14:05 +0900)]
Merge the code from private
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>
h.sandeep [Wed, 5 Oct 2016 05:07:35 +0000 (10:37 +0530)]
iBeacon: Add support to filter the iBeacon reports
Change-Id: I94c1911418783be65995995abcc4899c16dee0dc
Signed-off-by: h.sandeep <h.sandeep@samsung.com>
h.sandeep [Fri, 12 Aug 2016 10:10:29 +0000 (15:40 +0530)]
GAP:LE Scan Filter as Platform feature.
Basic code for LE scan filter.
1. Add scan filters.
2. Filter the scan result.
3. Delete the filters.
Change-Id: I8998540f1092a333d28e7ff810d2f309f7bf4d0b
Signed-off-by: h.sandeep <h.sandeep@samsung.com>
DoHyun Pyun [Wed, 2 Nov 2016 02:14:45 +0000 (11:14 +0900)]
Support the bcm43xx firmware download using the hciattach tool
Change-Id: I25f23970c8af078d8869bbab415f03286e3529d4
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Mon, 17 Oct 2016 09:43:38 +0000 (18:43 +0900)]
Revert "Check if the vendor command supports or not for HFP audio setting commands"
This reverts commit
a964a310b7ad0b2d289e32bb866715d4ffdd0d82.
Change-Id: I8f38ffc7e8e3721c09e42ece1bf2e0bca58dc02d
DoHyun Pyun [Mon, 17 Oct 2016 05:57:51 +0000 (22:57 -0700)]
Merge "Check if the vendor command supports or not for HFP audio setting commands" into tizen
DoHyun Pyun [Mon, 17 Oct 2016 05:10:42 +0000 (14:10 +0900)]
Check if the vendor command supports or not for HFP audio setting commands
Change-Id: I6c09577b2cfc25363865d3db15dad28fffcb8d43
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Hyuk Lee [Fri, 14 Oct 2016 04:38:45 +0000 (13:38 +0900)]
NULL check add in response of the MGMT command
Change-Id: I402f8797f4323f1e5a80472034a5d035c9498b2a
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
DoHyun Pyun [Tue, 11 Oct 2016 04:53:57 +0000 (13:53 +0900)]
Include the method call for naroow and wide band setting method
Change-Id: I5ed2a97d10b8bcc2e388287792f1f3aa957420a6
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Wed, 28 Sep 2016 03:02:53 +0000 (12:02 +0900)]
Modify the media root directory path
Change-Id: I22cab6e07f2fe8eda682689fdf417d451f53c5c1
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Wed, 21 Sep 2016 05:41:32 +0000 (14:41 +0900)]
Revert "Fix UTC fail issue for tv profile"
This reverts commit
12aac29eb27cfd070ba1ebbaebb59b4f47edb442.
Change-Id: I7d7d8887ec8d1bca94caada5c1d21398bf514649
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Tue, 20 Sep 2016 05:41:51 +0000 (14:41 +0900)]
Fix UTC fail issue for tv profile
UX3 kernel task is not complete, so MGMT value is different.
Before completing kernel's task, we need to return the dummy scan status.
Change-Id: I9ba9517aa71659361cc06f7414983386a7a2b269
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Hyuk Lee [Fri, 9 Sep 2016 03:55:46 +0000 (12:55 +0900)]
Restricted connection when request come from remoted audio device
Change-Id: Ic9bf302bdf3af5355979e781c9ef2a3bf1a5e019
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
Hyuk Lee [Fri, 9 Sep 2016 00:55:24 +0000 (09:55 +0900)]
Modfy the restricted profile state value
Change-Id: I8261cdd6a2174c43673fd26b3ebb0b2777f52f7b
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
Hyuk Lee [Wed, 7 Sep 2016 05:48:57 +0000 (14:48 +0900)]
Audio : Add the method for setting/getting the restricted connection
Change-Id: I6d47dc5effd0e21629060ca88967b26bd9a69312
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
DoHyun Pyun [Mon, 5 Sep 2016 12:35:45 +0000 (21:35 +0900)]
Add the script file for 3.0 OS upgrade
Change-Id: I5d36724fea4e71a063dc28b9c4c698ce57d3105a
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Taejin Woo [Mon, 5 Sep 2016 00:54:36 +0000 (09:54 +0900)]
Remove Unused files : cscope.out
Change-Id: Ia43fe9cf5873fe9d837554c1ea972454fd1405a2
Signed-off-by: Taejin Woo <tt.woo@samsung.com>
DoHyun Pyun [Wed, 31 Aug 2016 08:19:01 +0000 (17:19 +0900)]
Modify bluetooth.service file for XU3
Change-Id: I65dc2d03384c0d53b625b049f54ffa7be41fd06c
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Wed, 24 Aug 2016 02:00:29 +0000 (11:00 +0900)]
Modify the default root directory for obexd
Change-Id: I0d0fdddf97083accfff46aac907a7e1559ebdd53
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Seungyoun Ju [Thu, 18 Aug 2016 05:38:01 +0000 (14:38 +0900)]
Create RPA device structure separately from others
[Model] COMMON
[BinType] AP
[Customer] OPEN
[Issue#] N/A
[Request] Internal
[Occurrence Version] N/A
[Problem] Paired remote device's address is changed after BR/EDR pairing
-> LE pairing when it uses RPA address for LE
[Cause & Measure] When LE is paired, BR/EDR device structure is merged
to LE RPA device structure. It causes address change of BR/EDR device
and applications cannot track that device.
[Checking Method] BR/EDR Pairing -> LE Pairing with M OS Android device
[Team] Basic connection
[Developer] Seungyoun Ju
[Solution company] Samsung
[Change Type] Specification change
Change-Id: Ia7afff8151c1f10024bae8826c0ecaf1ee25a26d
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Fri, 12 Aug 2016 08:51:55 +0000 (17:51 +0900)]
Merge the code from private
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>
Taejin Woo [Thu, 11 Aug 2016 05:03:05 +0000 (14:03 +0900)]
IPSP : Tie connected info and Interface Info
When connected between two device, they already know Interface info
Change-Id: I53800bb80868d69159f4291eaf4a462e3a7433c4
Signed-off-by: Taejin Woo <tt.woo@samsung.com>
DoHyun Pyun [Fri, 22 Jul 2016 05:01:03 +0000 (14:01 +0900)]
Remove the code for setting smack labeling
Change-Id: Ic9c08bdad83e17756fc8ace77da73ea7af8d555e
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Tue, 28 Jun 2016 11:17:34 +0000 (20:17 +0900)]
Remove unused installing scripts
Change-Id: Iba1cb82d0c83900c63b5db45968e94625f008bb6
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
h.sandeep [Fri, 24 Jun 2016 04:51:25 +0000 (10:21 +0530)]
GATT-Server:Support Service Change Indication on reconnect.
This patch handles sending service changed indication
to client device after reconnection, if the client
had already registered for service changed indication.
Change-Id: If0fa76d05ddc4b668f71c5b1080966e5f5b6e35c
Signed-off-by: h.sandeep <h.sandeep@samsung.com>
DoHyun Pyun [Wed, 8 Jun 2016 07:27:02 +0000 (16:27 +0900)]
Allow owners group for bluetoothd dbus method call
Change-Id: I94d3d79f8bd9bcc7c81a297c059f0e6400120d26
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Seungyoun Ju [Mon, 30 May 2016 12:56:40 +0000 (21:56 +0900)]
Provide BLE pairing method as best effort way
[Model] SM-Z300F
[BinType] AP
[Customer] OPEN
[Issue#] N/A
[Request] Operator
[Occurrence Version] BPE5
[Problem] Basis Peak watch disconnects BLE connection if remote device
doesn't make BLE pairing within 5 seconds. But BLE service discovery requires
over 5 seconds so it is always disconnected.
[Cause & Measure] There is no way to make BLE pairing without BLE service
discovery. So it needs to provide BLE pairing way as best effort way.
[Checking Method] Make BLE connection with Basis Peak
[Team] Basic connection
[Developer] Seungyoun Ju
[Solution company] Samsung
[Change Type] Specification change
Change-Id: I8930a9546cfa8d66ade64c8d42a29155232bda43
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Taejin Woo [Tue, 31 May 2016 01:00:36 +0000 (10:00 +0900)]
IPSP : Add support to get BT Inteface information after IPSP connection
This patch adds a property to emit the BT interface information to upper layer,
the BT interface information would be required for Application to
create TCP-IP/UDP socket & send IPv6 data.
Change-Id: I12de25bd22ae6abc08a000657f073fb04c28e40d
Signed-off-by: paras.kumar <paras.kumar@samsung.com>
DoHyun Pyun [Thu, 12 May 2016 02:39:34 +0000 (11:39 +0900)]
Remove libnl-1 dependency
Change-Id: Id40c180a667671fe63584cb07b35c53f40f28874
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Wed, 11 May 2016 09:57:16 +0000 (18:57 +0900)]
Fix the crash when SET_PATH command is recieved
This patchset is related with TC_MSE_MMB_BV_09_I PTS testcase.
Change-Id: I96cbea2d315182bc934e9684e6be447c2bdaf351
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Pyun DoHyun [Tue, 10 May 2016 08:13:16 +0000 (01:13 -0700)]
Merge "Modify the GattConnected signal emit sequence" into tizen
DoHyun Pyun [Tue, 10 May 2016 08:03:39 +0000 (17:03 +0900)]
Enable MAP service in obexd
The previous service file defines map plugin as false. Because of
this, we can't use MAP service as default. So enable MAP profile.
Change-Id: I85e6ce2380f244ac3890c2c02d996855747acace
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Hyuk Lee [Tue, 10 May 2016 07:59:02 +0000 (16:59 +0900)]
Modify the GattConnected signal emit sequence
Change-Id: I275000a51c92aebfed484019238d7666e961312b
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
Hyuk Lee [Mon, 9 May 2016 11:12:21 +0000 (20:12 +0900)]
GattConnected signal emitted after all the services are ready
Change-Id: I26b93373c5b39e8a06997e8f9624fd1418929634
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
Hyuk Lee [Fri, 29 Apr 2016 01:21:37 +0000 (10:21 +0900)]
Remove the BROADCOM patch for create sco
Change-Id: I44c523c4ffbde9d3c799fb6efd3110aefdfc9be1
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
h.sandeep [Thu, 7 Apr 2016 04:09:01 +0000 (09:39 +0530)]
Upgrade bluez5_37 :Merge the code from private
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>
DoHyun Pyun [Mon, 11 Apr 2016 07:44:23 +0000 (16:44 +0900)]
Remove libical dependency
Change-Id: I95cdb6226521ac97fb62e70852fa6d1f8358c477
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Mon, 28 Mar 2016 08:21:45 +0000 (17:21 +0900)]
Modify obex auto-activation service file
Change-Id: I7bc632e79eef56d110eae3d8cd43ace9b34022b6
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Mon, 28 Mar 2016 01:58:18 +0000 (10:58 +0900)]
Change the smack label to System for HDP / RFCOMM / AVDTP FD
Change-Id: I70c23d4ac2b1a221ddfc928d53df6e7b3f4bd296
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Hyuk Lee [Fri, 25 Mar 2016 07:13:10 +0000 (16:13 +0900)]
Remove the call "device_set_gatt_connected"
Change-Id: Iea0fc51348b350b58997c9c3dc38c0c04e6e6d09
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
Pyun DoHyun [Fri, 18 Mar 2016 06:20:29 +0000 (23:20 -0700)]
Merge "Fix BlueZ build warnings" into tizen
paras.kumar [Thu, 17 Mar 2016 13:05:25 +0000 (18:35 +0530)]
Fix BlueZ build warnings
Change-Id: I6260861c45448f149ff25fe8d50eaa4251b813aa
Signed-off-by: paras.kumar <paras.kumar@samsung.com>
DoHyun Pyun [Thu, 17 Mar 2016 09:12:24 +0000 (18:12 +0900)]
Enable AVRCP target role
Change-Id: I8a8e97a2fb12924f3318428964d0f9c7d7731285
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Mon, 14 Mar 2016 08:11:26 +0000 (17:11 +0900)]
Add wearable flags
Change-Id: I8df90a948bb09dcb4e8dca1fdf9c14ff9ed0b3e4
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Fri, 11 Mar 2016 05:56:11 +0000 (14:56 +0900)]
Modify the license of obex files
Change-Id: I2bf7bba5622a23a688d580d86bf08628d3542f97
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Hyuk Lee [Fri, 4 Mar 2016 07:50:30 +0000 (16:50 +0900)]
Modify the bluetoothd to On-demand mode
Change-Id: Iff36426e76d9a83a1c40cc15ecec221f9fc29ada
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
Hyuk Lee [Tue, 2 Feb 2016 06:11:37 +0000 (15:11 +0900)]
Exclude the bluetooth.service for Emulator
Change-Id: I167b7792a60357ffd86929ae6cd4afed001addee
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
Sudha Bheemanna [Fri, 22 Jan 2016 06:47:32 +0000 (12:17 +0530)]
[Boiler Plate] Update Boiler plate with correct information
Change-Id: I3e6a6f8afc5d2fb91b773b81f57cf78f80aa72c1
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
Taejin Woo [Fri, 8 Jan 2016 04:38:23 +0000 (13:38 +0900)]
Merge the code from tizen_2.4
Change-Id: I7386c5d3ccf7022649ed17c7cb65e7f4e1b2ee27
Signed-off-by: Taejin Woo <tt.woo@samsung.com>
Taejin Woo [Tue, 29 Dec 2015 09:36:09 +0000 (18:36 +0900)]
Fix wrong value about error log
Change-Id: Idd700e9a19028fa29606c81cafb674546e85273b
Signed-off-by: Taejin Woo <tt.woo@samsung.com>
Taejin Woo [Tue, 29 Dec 2015 08:40:25 +0000 (17:40 +0900)]
Fix the Svace issues
WGID : 28, 6097
Change-Id: Ifb4ce690655230a922a11d2b99f3b7d901e91b5f
Signed-off-by: Taejin Woo <tt.woo@samsung.com>
Hyuk Lee [Mon, 28 Dec 2015 05:28:38 +0000 (14:28 +0900)]
Modify the License Issue
Fix : add the Apache license file
remove the MIT license in test
Change-Id: Ic2a86f9c3cdef57e80c4af1c08e38fb138965b39
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
Taejin Woo [Fri, 18 Dec 2015 04:56:21 +0000 (13:56 +0900)]
Set the flag for each device
Change-Id: I3ca561163c8a9bcf5484eacc780faaa4c95394f4
Signed-off-by: Taejin Woo <tt.woo@samsung.com>
Bharat Panda [Wed, 9 Dec 2015 07:05:21 +0000 (12:35 +0530)]
audio/avrcp: Fix ctype code of PlayItem and AddToNowPlaying
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
Bharat Panda [Wed, 9 Dec 2015 06:59:41 +0000 (12:29 +0530)]
audio/avrcp: Fix possible crash when current player is removed
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
Sudha Bheemanna [Wed, 16 Sep 2015 11:04:53 +0000 (16:34 +0530)]
Added code for LE Data length extension feature.
Change-Id: I7c7cd8760935b378aa6f7e578ca27ddb1ba40176
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
Taejin Woo [Wed, 2 Dec 2015 04:42:40 +0000 (13:42 +0900)]
Add the config for TM1
Change-Id: I7e8d58387ed37b1ff41d5c6489ff240e7f600bb4
Signed-off-by: Taejin Woo <tt.woo@samsung.com>
Bharat Panda [Mon, 16 Nov 2015 10:36:43 +0000 (16:06 +0530)]
audio: Fix checkpatch error
This patch fixes all extra checkpatch error introduced on top of
existing upstream code.
Change-Id: Ic64775a6c7e7a900ee2cbba4c5c9eec5e96bcb0b
Bharat Panda [Mon, 16 Nov 2015 10:09:37 +0000 (15:39 +0530)]
audio/avrcp: Fix memory leak
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
Bharat Panda [Mon, 16 Nov 2015 10:03:10 +0000 (15:33 +0530)]
audio/avrcp: Bump TG to version 1.5
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
Bharat Panda [Mon, 16 Nov 2015 09:45:05 +0000 (15:15 +0530)]
audio/avrcp: Fix crash on RegisterNotification
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
Bharat Panda [Mon, 16 Nov 2015 09:31:07 +0000 (15:01 +0530)]
audio/avrcp: Add Set Addressed Player support
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
Bharat Panda [Fri, 13 Nov 2015 13:37:13 +0000 (19:07 +0530)]
audio: Fix not resetting connect_id
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
Bharat Panda [Fri, 13 Nov 2015 13:24:19 +0000 (18:54 +0530)]
audio/avdtp: Fix added first endpoints
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
Bharat Panda [Tue, 10 Nov 2015 07:07:36 +0000 (12:37 +0530)]
audio/avrcp: Add support for GetTotalNumberOfItems
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
Bharat Panda [Tue, 10 Nov 2015 06:01:41 +0000 (11:31 +0530)]
Audio/Media: Fix incorrect value dereference
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
Bharat Panda [Tue, 10 Nov 2015 05:37:38 +0000 (11:07 +0530)]
audio: Fix possible crash when removing device
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
Bharat Panda [Tue, 10 Nov 2015 04:59:40 +0000 (10:29 +0530)]
audio: Fix audio service state
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
Bharat Panda [Tue, 10 Nov 2015 04:33:26 +0000 (10:03 +0530)]
audio/transport: Fix emitting volume changed too soon
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
Bharat Panda [Mon, 9 Nov 2015 12:44:37 +0000 (18:14 +0530)]
audio/transport: Fix not emitting volume changes
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