Atul Rai [Fri, 8 Jul 2016 05:19:40 +0000 (14:19 +0900)]
[Adapt]Added support for DPM APIs in bt-service
Change-Id: I9cdf3719f9122f62e745082fd70433cac0cd213b
Signed-off-by: Atul Rai <a.rai@samsung.com>
Atul Rai [Thu, 7 Jul 2016 07:34:49 +0000 (16:34 +0900)]
[Adapt: OAL] Added HID host APIs and Callbacks
This patch adds HID Host profile APIs, Callbacks and Events
implementation in OAL.
Change-Id: If7f55d38fa1d04b7066a4c4d10b2afae3ba3977a
Signed-off-by: Atul Rai <a.rai@samsung.com>
Atul Rai [Thu, 7 Jul 2016 07:28:41 +0000 (16:28 +0900)]
[Adapt:BluezHAL] Added HID Host interface
This patch adds HID Host profile interface implementation to
Bluez HAL.
Change-Id: I6b856092679572c4c9a7cf106255ffbae2952e17
Signed-off-by: Atul Rai <a.rai@samsung.com>
Anupam Roy [Thu, 7 Jul 2016 06:58:44 +0000 (02:58 -0400)]
[Adapt] Implement Cancel Bonding API
This patch implements Cancel bonding
in bt-service, OAL and Bluez HAL
Change-Id: Ie63dcd195fc7cb09acd0dd58ef54758057543db4
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
Anupam Roy [Wed, 6 Jul 2016 18:23:17 +0000 (14:23 -0400)]
[Adapt: OAL] Implement HAL callback (SSP & Legacy Pairing)
Following SSP events are handled
1/ BT_SSP_VARIANT_PASSKEY_ENTRY
2/ BT_SSP_VARIANT_PASSKEY_NOTIFICATION
3/ BT_SSP_VARIANT_PASSKEY_CONFIRMATION
4/ BT_SSP_VARIANT_CONSENT
Apart from above, Legacy pairing (PIN Code) request
is also handled.
Change-Id: I941f466a7d0a45077fe7b604162d925107b11f67
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
Anupam Roy [Wed, 6 Jul 2016 19:51:33 +0000 (15:51 -0400)]
[Adapt] Implement SSP & Legacy Pairing API's in bt-service
Note: As Syspopup support is by default disabled,
Confirmation request should be replied from BT CAPI
in order to establish bonding with Remote device
(Device with I/O capabilities - e.g Mobile Phone)
Change-Id: If0783c862cef4ba706ff141ebd67656c993a2e2a
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
Anupam Roy [Wed, 6 Jul 2016 19:15:04 +0000 (15:15 -0400)]
[Adapt] Implement SSP and PIN request event handlers
This patch implements SSP and Legacy Pairing
handlers and send events to BT Frwk.
Change-Id: Id3710e9b51a74a6ba80d7dc7eb548a6df3d1ad15
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
Anupam Roy [Wed, 6 Jul 2016 18:10:56 +0000 (14:10 -0400)]
[Adapt:OAL] Implement SSP and PIN Reply API's
This patch handles following Device Manger API's
1/ Accept PIN Request
2/ Reject PIN Request
3/ Accept Passkey Entry
4/ Reject Passkey Entry
5/ Reply Passkey Confirmation
6/ Reply SSP Consent
Change-Id: I591c80000ac5196e7b0c178446a3f41bb5658048
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
Anupam Roy [Wed, 6 Jul 2016 18:24:27 +0000 (14:24 -0400)]
[Adapt: Bluez HAL] Implement SSP Reply & PIN Reply API's
Change-Id: I28fa3710023d3b9318c1803f13f32daf0e02ddb1
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
Anupam Roy [Wed, 6 Jul 2016 20:20:26 +0000 (13:20 -0700)]
Merge "[Adapt: Bluez HAL] Implement SSP and Legacy Pairing event handlers" into tizen_next
Anupam Roy [Wed, 6 Jul 2016 18:22:00 +0000 (14:22 -0400)]
[Adapt: Bluez HAL] Implement SSP and Legacy Pairing event handlers
This patch handles following events
1/ PIN Code Request
2/ PASSKEY Request
3/ DISPLAY Request
4/ Confirmation Request
Note: Currently syspopup Mode is disabled.
Therefore SSP and Legacy Pairing events will be
sent to HAL user.
Change-Id: Ib3f10fc3774b9831b52586958a4aa18dbc26ad75
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
Anupam Roy [Wed, 6 Jul 2016 18:20:56 +0000 (14:20 -0400)]
[Adapt: Bluez HAL] Add Device Interface(DBUS) signal subscription code
Change-Id: I6eb2ed62333544d3080d61bfa2669c4c58ab5518
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
Atul Rai [Tue, 5 Jul 2016 10:07:14 +0000 (19:07 +0900)]
[Adapt:BluezHAL] Fix get bonded device list
Change-Id: I229bb96275364753a18ea7cb44ed96a5cc421be8
Signed-off-by: Atul Rai <a.rai@samsung.com>
Anupam Roy [Tue, 5 Jul 2016 21:48:36 +0000 (17:48 -0400)]
[Adapt] Implement ACL connection state changed events in bt-service
Change-Id: I8c10549fb14411797e846712c2ad48dbacaf2559
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
Anupam Roy [Tue, 5 Jul 2016 20:49:23 +0000 (16:49 -0400)]
[Adapt: OAL] Implement ACL connection state changed events
Change-Id: Ib7fc3d1b6eb2eb25066dbc6a6a1465a7ac267044
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
Anupam Roy [Tue, 5 Jul 2016 20:35:23 +0000 (16:35 -0400)]
[Adapt: Bluez HAL] Implement ACL connection state changed event
Change-Id: I1c03526bac86538d73ca2950cea8051827ba0110
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
Anupam Roy [Tue, 5 Jul 2016 19:42:20 +0000 (15:42 -0400)]
[Adapt] Remove un-necessary debug prints
Change-Id: Ie9cd2eedbfa072b98e214bdd4d2402c87ab2e1a7
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
Anupam Roy [Tue, 5 Jul 2016 18:30:57 +0000 (14:30 -0400)]
[Adapt] Implement create and remove Bond API's
This patch handles following
1/ Implement create and remove bond API's
2/ Implement bonding state machine
Note: Currently bonding will not complete for the devices
requiring following pairing operations.
1/ Devices requring Confirmation(numeric Comparison)
2/ Devices requesting PinCode
3/ Devices requesting DisplayPasskey
etc. Pairing will be handled in subsequent patches.
Change-Id: I425ac62619e8f1ed61612e1c5358e872cdf9affc
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
Anupam Roy [Tue, 5 Jul 2016 16:11:53 +0000 (12:11 -0400)]
[Adaprt: OAL] Implement create and remove bond
Change-Id: I3766a1516b9f7f0989d22e51382c181437f51fed
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
Anupam Roy [Tue, 5 Jul 2016 15:40:37 +0000 (11:40 -0400)]
[Adapt: Bluez HAL] Add GAP agent in Bluez HAL
Change-Id: Iaffa998d8531781eac6c9e613ad2e05aed693ba8
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
Atul Rai [Tue, 5 Jul 2016 06:30:01 +0000 (15:30 +0900)]
[Adapt] Set remote device friendly name
This patch adds implementation for _bt_set_alias API to
enable friendly name (alias) setting for the bonded devices.
Change-Id: I900fb8a25d4b30c3ebe0a7af5a50a378c5703286
Signed-off-by: Atul Rai <a.rai@samsung.com>
Atul Rai [Tue, 5 Jul 2016 04:44:32 +0000 (13:44 +0900)]
[Adapt] Send local property changed events to Apps
Change-Id: I075943009e9b4e27dbafff204b62b881d1bb1ef1
Signed-off-by: Atul Rai <a.rai@samsung.com>
Atul Rai [Tue, 5 Jul 2016 02:35:46 +0000 (11:35 +0900)]
[Adapt] Implement set discoverable mode API
This patch adds implementation for following APIs in bluetooth-frwk
and OAL:
1/ _bt_get_timeout_value()
2/ _bt_set_discoverable_mode()
Change-Id: Iccdac813f37d54299349787f5fb8525d935d0cff
Signed-off-by: Atul Rai <a.rai@samsung.com>
Atul Rai [Mon, 4 Jul 2016 10:06:19 +0000 (19:06 +0900)]
[Adapt:Frwk] Implement get bonded device info APIs
This patch adds code logic to support below APIs in bluetooth-frwk:
1/bluetooth_get_bonded_device_list()
2/bluetooth_get_bonded_device()
Change-Id: I4019fadd30debfee8b3f72f2b7838c0bb4a9af50
Signed-off-by: Atul Rai <a.rai@samsung.com>
Atul Rai [Mon, 4 Jul 2016 10:01:37 +0000 (19:01 +0900)]
[Adapt: OAL] Implement get_bonded device info APIs
This patch adds OAL implementation to retrieve bonded device list
as well as bonded device info.
Change-Id: I02a9788589ca762820d1b0cfc3b2d42fcf9c86b6
Signed-off-by: Atul Rai <a.rai@samsung.com>
Atul Rai [Mon, 4 Jul 2016 09:57:38 +0000 (18:57 +0900)]
[Adapt:BluezHAL] Implement get_bonded_device list
This patch implements retrival of adapter property
GET_BONDED_DEVICE_LIST for Bluez HAL.
Change-Id: Icd1f0417a561c2a4fdd305ad9470c891d83dfc4a
Signed-off-by: Atul Rai <a.rai@samsung.com>
Atul Rai [Mon, 4 Jul 2016 09:24:50 +0000 (18:24 +0900)]
[Adapt:BluezHAL]Handle remote device properties
This patch implements HAL API get_remote_device_properties()
and handles remote device properties events from stack.
Change-Id: I7116e633bad5182b20d660d6c0ca10a221874cfc
Signed-off-by: Atul Rai <a.rai@samsung.com>
Anupam Roy [Mon, 4 Jul 2016 05:18:20 +0000 (01:18 -0400)]
[Adapt:Bluez HAL] Implement Create and Remove Bond
This patch handled Create and Remove Bond methods
in Bluez HAL.
Note: Adapter Agent support will be added in subsequent patch.
Change-Id: I0db972dbca52360a861f1c06c6f31131a0ae1e88
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
Pyun DoHyun [Mon, 4 Jul 2016 03:40:22 +0000 (20:40 -0700)]
Merge "[Adapt] Implement set adapter properties APIs" into tizen_next
Pyun DoHyun [Mon, 4 Jul 2016 03:40:14 +0000 (20:40 -0700)]
Merge "[Adapt:BluezHAL]Implement set_adapter_property API" into tizen_next
Atul Rai [Mon, 4 Jul 2016 03:35:43 +0000 (12:35 +0900)]
[Adapt] Implement set adapter properties APIs
This patch implements various set adapter property APIs
(e.g.: _bt_set_local_name, _bt_set_connectable etc.) in
bluetooth-frwk and OAL.
Change-Id: I1745f7e016d7a052e16c4ebf9cfddf76d85875a1
Signed-off-by: Atul Rai <a.rai@samsung.com>
Atul Rai [Mon, 4 Jul 2016 03:29:33 +0000 (12:29 +0900)]
[Adapt:BluezHAL]Implement set_adapter_property API
This patch implements HAL API set_adapter_property() used to
set various local adapter properties like name, discoverable,
connectable etc. in Bluez HAL.
Change-Id: Ibb342ac6eb517e958cd0bcc474687a86f8c408e3
Signed-off-by: Atul Rai <a.rai@samsung.com>
Anupam Roy [Fri, 1 Jul 2016 11:23:03 +0000 (07:23 -0400)]
[Adapt] Handle Device Property changed event
This patch handles device property changed event
for sending remote device properties as Discovery
result.
Change-Id: Ie755af47be92eb5b5211abdaf49eaa02c5f0d759
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
Anupam Roy [Fri, 1 Jul 2016 08:18:55 +0000 (04:18 -0400)]
[Adapt] Implement Start and Stop Discovery
This patch does following
1/ Implement Start and Stop Discovery API's
2/ Handle Discovery state changed events (Started, Stopped)
3/ Handle Remote Device found event
Note: Currently BLE Only device discovery is not handled.
Change-Id: I5a9ef90f446ab7b9c73af7aa39e6b9cb74232d8d
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
Atul Rai [Fri, 1 Jul 2016 06:43:21 +0000 (15:43 +0900)]
[Adapt] Implement is_service_used API
This patch implements is_service_used() API to check if
user specified service is enabled for local adapter.
Change-Id: Ic29fce509cf49ecea2074ad2437c3ff300b05572
Signed-off-by: Atul Rai <a.rai@samsung.com>
Atul Rai [Thu, 30 Jun 2016 08:52:31 +0000 (17:52 +0900)]
[Adapt]Added support for get adapter property APIs
This patch added support to get adapter property APIs mentioned below:
1/ _bt_get_local_address
2/ _bt_get_local_version
3/ _bt_get_local_name
4/ _bt_get_discoverable_mode
Change-Id: I21b15779b44f8ac9b715b32f4f7b6ac2eadee75c
Signed-off-by: Atul Rai <a.rai@samsung.com>
Atul Rai [Thu, 30 Jun 2016 08:30:55 +0000 (17:30 +0900)]
[Adapt:OAL]Added event_data size in OAL send_event
This patch modifies OAL function send_event() to include
size of the event_data along with event_data void ptr.
This will help if later we need to copy event_data and release
OAL context from bt-service-event-receiver.
Change-Id: Ie215db21027a9c76680473b1c848c0fd0c7c1416
Signed-off-by: Atul Rai <a.rai@samsung.com>
Atul Rai [Thu, 30 Jun 2016 08:12:05 +0000 (17:12 +0900)]
[Adapt: bluez_hal]Implement get_adapter_property
This patch adds implementation for HAL API
get_adapter_property(bt_property_type_t type)
This API is used to retrieve local adapter property specified by
the input parameter type.
Change-Id: I7c7c78093d87206b67b3a17003a2df342d6801bc
Signed-off-by: Atul Rai <a.rai@samsung.com>
Atul Rai [Thu, 30 Jun 2016 07:52:56 +0000 (16:52 +0900)]
[Adapt: bluez_hal]Implement get_adapter_properties
This patch adds implementation for HAL API get_adapter_properties()
used for retrieving local adapter properties.
Change-Id: Ica2296d7fb82584d46d36b40daef29d23282f5fe
Signed-off-by: Atul Rai <a.rai@samsung.com>
Anupam Roy [Wed, 29 Jun 2016 08:58:41 +0000 (04:58 -0400)]
[Adapt]Implement Adpater Enable\Disable
1/Implement Adapter Enable and Disable API's
2/Perform Adapter properties and Adapter state conversion
from DBUS base properties to HAL based properties.
[Note: Currently bt-service daemon is NOT terminated on
disabling adapter from Bluetooth Settings. It will
be handled later]
Change-Id: I36403bc3d2a462e3e992407805678364701e2da9
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
Anupam Roy [Wed, 29 Jun 2016 08:39:13 +0000 (04:39 -0400)]
[Adapt]Add OAL and implement Bluez HAL lib
This patch does following-
1/Create HAL or Hardware Abstraction Layer
in Tizen BT framework which serves as the main
stack abstraction layer. HAL interfaces are
adopted from Bluez for Android(BFA) project.
In case of Bluez, HAL implementation will
handle conversion of API calls to Bluez DBUS
method calls and also converting DBUS events
to API callbacks to HAL user.
2/Add BT OAL (Open Source Adaptation Layer)
This layer will serve a stack independent
interface beneath Tizen bt-service. All
stack specific events will be converted to
OAL specific events and dispatched to Tizen
bt-service. Similary this layer will hide the
internals of HAL (hardware abstraction layer)
3/bt-service links BT OAL library. bt-service main
triggers BT OAL library loading which further
dynamically loads BlueZ HAL library.
Dlogutil log extract
===================================================
oal-manager.c: load_hal_lib(134) > Tizen Platform BT chip: Tizen Platform HAL library will be loaded
oal-manager.c: load(177) > Loading Library: /usr/lib/libbluetooth.default.so
oal-manager.c: load(225) > loaded HAL id=bluetooth libpath=/usr/lib/libbluetooth.default.so hmi=0xb6f84d9c handle=0xb5301100
bt-hal-bluetooth.c: open_bluetooth(288) >
oal-manager.c: load_hal_lib(149) > HAL Library loaded successfullly
bt-service-core-adapter.c: __bt_post_oal_init(101) > OAL initialized, Init profiles..
Change-Id: Ibb50c658a4b44c4528757d41fb6198dfa85e6f05
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
Anupam Roy [Sun, 26 Jun 2016 17:44:56 +0000 (13:44 -0400)]
[Adapt] Separate bluetooth service dir
This initial patch does following-
1/Create bluetooth service adaptation
directory(bt-service-adaptation), which will be used
for stack adaptation development.
2/Create services folder in bt-service-adaptation. All
core services (hid, audio, opp, hfp, gatt etc) will be
created inside the services dir in subsequent patches.
3/Create basic files for bt-service initially inside
bt-service-adaptation/services dir.
4/Declare environment variable to enable build of
bt-service-adaptation directory. [If bt_hal is enabled,
bt-service-adaptation will be built, otherwise bt-service
will be built]
[Note: Functionalities will be enabled in subsequent patches]
Change-Id: Ib6f8296d30a3f27502c2e0a28e388e043fced1aa
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
Taejin Woo [Thu, 23 Jun 2016 07:30:45 +0000 (16:30 +0900)]
Fix wrong data passed in get_bond_info
when tethering, it is displaying as "No Name" instead of actual device
Change-Id: Icf0148bde5bfe1c1d130647831abea0135599aac
Signed-off-by: Taejin Woo <tt.woo@samsung.com>
DoHyun Pyun [Tue, 21 Jun 2016 04:15:28 +0000 (21:15 -0700)]
Merge "Implement BT search function in emulator" into tizen
Hyuk Lee [Mon, 20 Jun 2016 08:01:38 +0000 (17:01 +0900)]
Add the supplementary group for priv_mediastorage
Change-Id: I4bdda6b35bbdd1856d4d0ef65b568ad83505d29a
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
DoHyun Pyun [Mon, 20 Jun 2016 07:11:40 +0000 (16:11 +0900)]
Implement BT search function in emulator
Change-Id: I1633028eac2925eacf72b124347be58aa024fdcc
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Fri, 17 Jun 2016 09:23:47 +0000 (18:23 +0900)]
Apply the initial codes for BT emulator
BT on / off operation was verified. We should implement other functionalities.
Change-Id: I6221b7a768d87bab51246510483c7a0fa0e5752e
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Taejin Woo [Wed, 8 Jun 2016 02:26:51 +0000 (11:26 +0900)]
Fix the type naming correctly for hid device role
Change-Id: I31d6faed8d94ae6f79db508912de5c75c774d764
Signed-off-by: Taejin Woo <tt.woo@samsung.com>
Pyun DoHyun [Fri, 17 Jun 2016 02:38:03 +0000 (19:38 -0700)]
Merge "Add the privilege check for registering HDP sink app" into tizen
Sudha Bheemanna [Thu, 16 Jun 2016 10:21:49 +0000 (15:51 +0530)]
[BT-frwk] Fix issue in the gdbus proxy call for remove remote oob data.
Added missing brackets in the proxy call sisgnature which
causes failiure in the dbus proxy call to bluez.
Change-Id: Ic0c8112d4493051aa4fa5ca979ffed3e094d8401
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
Hyuk Lee [Thu, 16 Jun 2016 02:36:05 +0000 (11:36 +0900)]
Add the privilege check for registering HDP sink app
Change-Id: I960082035b23834527c36fe9066b6f8629c28185
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
Sudha Bheemanna [Wed, 15 Jun 2016 11:35:44 +0000 (17:05 +0530)]
[BT-frwk] Fix issue in the gdbus proxy call for Add remote oob data.
Added missing brackets in the proxy call sisgnature which
causes failiure in the dbus proxy call to bluez.
Change-Id: I8b8ebabef5db4bac7287a3521005ba5f015dd56e
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
DoHyun Pyun [Fri, 10 Jun 2016 07:34:47 +0000 (16:34 +0900)]
Enable the flight mode handling logic for wearable target
Change-Id: Iaba1b81bc8baf8e05cb8cf743e0b734496ac4233
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
paras.kumar [Thu, 28 Jan 2016 08:42:45 +0000 (14:12 +0530)]
IPSP : Handle BT interface info event or property emitted from bluez
This patch is to handle the property emitted from bluez for BT interface
info after IPSP connection. Add bluetooth event for the same.
Change-Id: Ib38a6b0a7f12442a693b84507edf3f8ef8037f9a
Signed-off-by: paras.kumar <paras.kumar@samsung.com>
Taejin Woo [Tue, 31 May 2016 08:11:22 +0000 (17:11 +0900)]
Add the privilege for IPSP
Change-Id: Ic8c7197c00bcb681f0c948319ea815baf36318ca
Signed-off-by: Taejin Woo <tt.woo@samsung.com>
DoHyun Pyun [Tue, 7 Jun 2016 09:24:32 +0000 (18:24 +0900)]
Fix the coding style errors (include)
Change-Id: I7ef692ed981cf3e0bfd219dc73267030fb7bbc15
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Tue, 7 Jun 2016 09:22:18 +0000 (18:22 +0900)]
Fix the coding style errors (test)
Change-Id: Idfe816533734aea605db7387852b356bfa5a8619
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Tue, 7 Jun 2016 08:11:43 +0000 (01:11 -0700)]
Merge "Fix the coding style errors (bt-httpproxy)" into tizen
Pyun DoHyun [Tue, 7 Jun 2016 05:16:47 +0000 (22:16 -0700)]
Merge "Add the privilege check for GATT SERVER APIs" into tizen
DoHyun Pyun [Tue, 7 Jun 2016 04:50:23 +0000 (13:50 +0900)]
Fix the coding style errors (bt-httpproxy)
Change-Id: I3e7d7be31156f44afd5afa6dc760e2998f8ea659
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Hyuk Lee [Tue, 7 Jun 2016 04:49:43 +0000 (13:49 +0900)]
Add the privilege check for GATT SERVER APIs
Change-Id: I8cb8bcbb333837f06918b5e02b8742642abfe1db
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
DoHyun Pyun [Tue, 7 Jun 2016 02:34:19 +0000 (11:34 +0900)]
Fix the coding style errors (bt-api)
Change-Id: I13625ced68f5aef772d9f219643a73e4168c43e1
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Fri, 3 Jun 2016 04:19:38 +0000 (13:19 +0900)]
Fix the coding style errors (bt-service)
Change-Id: I9b08cfa50b3d0f18674ded0f1a43692de82deadb
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Hyuk Lee [Wed, 1 Jun 2016 09:56:35 +0000 (18:56 +0900)]
Add the privilege check for async GATT connection
Change-Id: Ia5b7b6d28bd3a928298785bc3b6c017144e63672
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
h.sandeep [Tue, 31 May 2016 10:17:01 +0000 (15:47 +0530)]
DPM: Add Error code for device policy restriction.
Added the Error code "BLUETOOTH_ERROR_DEVICE_POLICY_RESTRICTION".
Change-Id: I303860eff6a5df40dccf641df390552d2c4cdb43
Signed-off-by: h.sandeep <h.sandeep@samsung.com>
DoHyun Pyun [Tue, 31 May 2016 09:09:18 +0000 (18:09 +0900)]
Fix the coding style errors (bt-service)
Change-Id: Ia82e50427bd0ec90323e1de99a55973307526905
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Mon, 30 May 2016 09:52:52 +0000 (18:52 +0900)]
Fix the coding style errors (bt-core)
Change-Id: I519953e66b0980657a7ad5f60f6a9aec5ed5a6d2
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Mon, 30 May 2016 04:55:47 +0000 (13:55 +0900)]
Fix the bug for the A2DP connection
When an application uses BT_AUDIO_PROFILE_TYPE_ALL to connect,
HSP profile only be connected because of the wrong logic in
bt-service's audio connected list.
Change-Id: If1d9569a018bc02c1a3c863bd21e01ff6715533b
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
h.sandeep [Tue, 16 Feb 2016 04:58:14 +0000 (10:28 +0530)]
HPS: Add D-bus configuration for bt-httpproxy
Change-Id: I0fa6846075718fdb5650bfd5566f981554f8576c
Signed-off-by: h.sandeep <h.sandeep@samsung.com>
DoHyun Pyun [Thu, 26 May 2016 01:25:23 +0000 (18:25 -0700)]
Merge "Modify the PBAP connection event implementation" into tizen
Taejin Woo [Wed, 25 May 2016 00:47:47 +0000 (09:47 +0900)]
Fix memory leak
Change-Id: Ia7a5dbcd25e4825314ae3e7e577db3c557defc99
Signed-off-by: Taejin Woo <tt.woo@samsung.com>
DoHyun Pyun [Mon, 23 May 2016 07:43:36 +0000 (16:43 +0900)]
Modify the PBAP connection event implementation
The previous implemenation only send the connection event
when an application calls PBAP connect / disconnect API.
This patchset enables to recieve the connection state changed
event in the idle time.
Change-Id: I498c857dcc8ee8ef29eb5b0aea579dbd8b3e4f82
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
h.sandeep [Thu, 12 May 2016 06:32:57 +0000 (12:02 +0530)]
DPM: Modify Discoverable policy handling.
Change-Id: I26df964a4203ede38c4dcad1e513ff144b058bb5
Signed-off-by: h.sandeep <h.sandeep@samsung.com>
DoHyun Pyun [Wed, 11 May 2016 02:17:10 +0000 (11:17 +0900)]
Modify the hardcorded storage path to get the download path
The previous pbap download path is hardcorded. Instead of this
uses storage API and get the platform download path. And add the
storage privilege check logic.
Change-Id: If8c5d9a8565cc5e3ba39b4284553a98b325310b8
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Taejin Woo [Tue, 10 May 2016 01:54:27 +0000 (10:54 +0900)]
Add the privilege related with the role of hid device
Change-Id: I794ec5b0fe527bb64f60ebefc4187909bf998fc6
Signed-off-by: Taejin Woo <tt.woo@samsung.com>
Pyun DoHyun [Wed, 4 May 2016 04:35:37 +0000 (21:35 -0700)]
Merge "Modify the AVRCP handle control privilege" into tizen
h.sandeep [Tue, 3 May 2016 11:10:35 +0000 (16:40 +0530)]
DPM: Fix API naming convention.
Change-Id: Iea44be3b73b86bc9c409fed83cdaf2dc813d0f5e
Signed-off-by: h.sandeep <h.sandeep@samsung.com>
Hyuk Lee [Mon, 2 May 2016 04:19:21 +0000 (13:19 +0900)]
Modify the AVRCP handle control privilege
Change-Id: Ib1a9acfaa5a2cdda2284af5662aff7a1610f7d35
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
h.sandeep [Wed, 20 Apr 2016 09:31:24 +0000 (15:01 +0530)]
DPM: Modify/Remove the DPM APIs and Expose DPM BT-APIs
1. Add BT-APIs
2. Add dpm policies to individual profiles as per mdm policies
Change-Id: Ie60dc0e4cdd3666631e2707e8cfebfc7a8333838
Signed-off-by: h.sandeep <h.sandeep@samsung.com>
DoHyun Pyun [Thu, 28 Apr 2016 10:29:46 +0000 (19:29 +0900)]
Fix TBT fail issue (TBT-Gatt-client)
TBT application set the "auto_connect" flag as TRUE.
Because of this, some connection issue is occured in bluez side.
We need to check why auto connect option is not working. But to resolve
the issue, always set the flag as FALSE.
http://suprem.sec.samsung.net/jira/browse/TSAM-2614
Change-Id: I80219d9f30c5ef43c28bed9c7257b7e4825898d3
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Hyuk Lee [Wed, 20 Apr 2016 11:50:45 +0000 (20:50 +0900)]
Debug the headset connected type for working AVRCP Control
Change-Id: I8f006a137d5e28ff70ff9f3760f69948eb821b0f
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
DoHyun Pyun [Mon, 18 Apr 2016 08:33:42 +0000 (17:33 +0900)]
Fix the crash in PBAP operations
Change-Id: I997238d0d8d8326ee050122af936fe58d5424343
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
h.sandeep [Thu, 7 Apr 2016 04:17:00 +0000 (09:47 +0530)]
Modify gatt-server interface as per bluez_5.37.
1. Modified the GATT Manager hierarchy
2. Added new API "bluetooth_gatt_register_application" to register
the Application and "bluetooth_gatt_unregister_application"
to unregister the Application.
3. Added new properties for characteristics/Descriptors.
Change-Id: I4fdc39642d60f0f568cdd9e4e920c12643a04066
Signed-off-by: h.sandeep <h.sandeep@samsung.com>
Hyuk Lee [Fri, 8 Apr 2016 05:27:53 +0000 (14:27 +0900)]
Fix the waring issue
Change-Id: I098d6e7aa631adf782163b2cbf075f600a9488e2
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
DoHyun Pyun [Wed, 30 Mar 2016 14:02:55 +0000 (23:02 +0900)]
Fix Web TC blocking issues
After modifying bt-service's permission, sometimes don't recieve the event
in application side. To resolve the issue, temperary send broadcast events.
Before finding the root cause with dbus team.
Change-Id: I688593aae3897255560b324af1902e30b089feed
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Mon, 28 Mar 2016 09:39:08 +0000 (18:39 +0900)]
Modify bt-service process permission to user from root
Change-Id: Icb4993968080ce4aee37a240016c7f8fa9baacfb
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Hyuk Lee [Mon, 28 Mar 2016 07:38:34 +0000 (16:38 +0900)]
Modify the segmentation fault for connecting HDP
Change-Id: I9636f663b4baa22be7880df5ae9837386652e3c6
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
Taejin Woo [Wed, 23 Mar 2016 09:11:00 +0000 (18:11 +0900)]
Fix the build fail
incompatible pointer type
Change-Id: I16c05ad09607803ee3c2ea17fddc2090971a68b4
Signed-off-by: Taejin Woo <tt.woo@samsung.com>
Hyuk Lee [Wed, 23 Mar 2016 07:44:14 +0000 (16:44 +0900)]
Fix the build error
Change-Id: I69fbdcd286876c09eae95e42236066bd07fcfd57
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
Pyun DoHyun [Wed, 23 Mar 2016 01:49:55 +0000 (18:49 -0700)]
Merge "Fix Memory leak issue" into tizen
Sudha Bheemanna [Tue, 22 Mar 2016 13:49:16 +0000 (19:19 +0530)]
[bt-api] svace issue fixed
Change-Id: I4849b58d5d4dc376dc7ef813d532322e02de6d1c
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
paras.kumar [Tue, 22 Mar 2016 12:00:34 +0000 (17:30 +0530)]
Fix Memory leak issue
Change-Id: I213da6308b8193bdc30668fb396345f97f9de2bf
Signed-off-by: paras.kumar <paras.kumar@samsung.com>
Sudha Bheemanna [Tue, 22 Mar 2016 09:44:52 +0000 (15:14 +0530)]
[Bt-frwk] Fix build errors
Change-Id: I5f9397c46a3f0b626c8de7c50ff5496e5424a8d4
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
Hyuk Lee [Mon, 21 Mar 2016 06:23:08 +0000 (15:23 +0900)]
Add the BT_AV_SOURCE_CONNECT public privilege
Change-Id: I3bd55d09b8383ba1ce62c64642aa533a8ea84771
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
Sudha Bheemanna [Fri, 18 Mar 2016 08:46:28 +0000 (14:16 +0530)]
[BT-Frwk] Fixed build warnings.
Fixed remaining build warnings in the code
Change-Id: I9c80721518fe5bd7c10109c031918d5591cd4d89
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
Pyun DoHyun [Fri, 18 Mar 2016 06:20:46 +0000 (23:20 -0700)]
Merge "[warnings] Fix build warnings" into tizen
Sudha Bheemanna [Thu, 17 Mar 2016 12:07:51 +0000 (17:37 +0530)]
[warnings] Fix build warnings
Fixed build warnings in code
Change-Id: I3831341c551f4eba0cc3eae36bdfe33cf3f9afe9
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>
Hyuk Lee [Thu, 17 Mar 2016 08:45:24 +0000 (17:45 +0900)]
Launch bluetooth-frwk service after multi-user.target in TM1
Change-Id: I215cf08c1ba3177d7eb9a1fee156e107a4dc29dc
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
Hyuk Lee [Wed, 2 Mar 2016 05:40:33 +0000 (14:40 +0900)]
Modify the Dbus Policy(remove "method_call")
Change-Id: Icc7ea43fef47c11f047d2d03b469813793be672f
Signed-off-by: Hyuk Lee <hyuk0512.lee@samsung.com>
Sudha Bheemanna [Fri, 29 Jan 2016 07:15:14 +0000 (12:45 +0530)]
[DPM] Add apis for the device policy manager in BT
Added some more BT api implementation in the base code.
Change-Id: I38690eeb8a4e467ea2e92904f1e0acb3fae5f305
Signed-off-by: Sudha Bheemanna <b.sudha@samsung.com>