himanshu [Thu, 24 Oct 2019 05:52:33 +0000 (11:22 +0530)]
Adapt unregister all scan filters functionality into BT-HAL framework
This API unregisters all registered scan filters.
Change-Id: I1d68b123a89469ff37e78fc0b33e466b0ff2791a
Signed-off-by: himanshu <h.himanshu@samsung.com>
Mikhail Kashkarov [Wed, 23 Oct 2019 16:07:55 +0000 (19:07 +0300)]
[cmake] Explicitly specify target dependencies to allow build in parallel
Change-Id: Ic53fb6c0ac0b53530fb463a9d1620fab85e55877
Signed-off-by: Mikhail Kashkarov <m.kashkarov@partner.samsung.com>
Mikhail Kashkarov [Wed, 23 Oct 2019 15:11:16 +0000 (18:11 +0300)]
Support build with -fno-common
Fix up ASan build: do not use variable definitons inside header files to avoid
multiple definitons error.
Change-Id: I00d74bd5c9e3e966b1acc29416f273477eaae7f5
Signed-off-by: Mikhail Kashkarov <m.kashkarov@partner.samsung.com>
Deokhyun Kim [Tue, 22 Oct 2019 08:27:56 +0000 (17:27 +0900)]
Fix glib warning
Change-Id: I65e651b3999169a7e4d95eacb7d243d79d0c746c
Signed-off-by: Deokhyun Kim <dukan.kim@samsung.com>
Anupam Roy [Tue, 22 Oct 2019 06:19:44 +0000 (06:19 +0000)]
Merge "Adapt the unregister scan filter functionality into BT-HAL framework" into tizen
himanshu [Mon, 21 Oct 2019 08:58:56 +0000 (14:28 +0530)]
Adapt the unregister scan filter functionality into BT-HAL framework
This API unregisters a registered scan filter.
Change-Id: I2bfe2a55970b4e4a31df777e889a25c2387e89c0
Signed-off-by: himanshu <h.himanshu@samsung.com>
Pyun DoHyun [Mon, 21 Oct 2019 05:27:19 +0000 (05:27 +0000)]
Merge "Add logs to get the previous bluetooth status" into tizen
Amit Purwar [Mon, 21 Oct 2019 05:07:44 +0000 (10:37 +0530)]
Add logs to get the previous bluetooth status
Change-Id: Ibcf5ee315b810c5145a0d55576e737ada73e7a5f
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
himanshu [Thu, 10 Oct 2019 06:22:55 +0000 (11:52 +0530)]
Port the set manufacturer data functionality into BT-HAL framework.
This API sets the manufacturer-data into the BT-Adapter.
The corresponding data change callback will be invoked
if data is set successfully.
Change-Id: I068a70c0b354a905fcc245ad2e089f4fc3cb06c6
Signed-off-by: himanshu <h.himanshu@samsung.com>
Pyun DoHyun [Fri, 18 Oct 2019 03:59:09 +0000 (03:59 +0000)]
Merge "Adapt HF Profile Connect & Disconnect to BT HAL framework" into tizen
Pyun DoHyun [Fri, 18 Oct 2019 03:59:01 +0000 (03:59 +0000)]
Merge "Adapt device disconnect to BT HAL framework" into tizen
Amit Purwar [Thu, 17 Oct 2019 11:53:53 +0000 (17:23 +0530)]
Adapt device disconnect to BT HAL framework
Change-Id: I6fdb276b120ae1f0a14b5e1c8c2dbb74fb720080
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
Amit Purwar [Wed, 16 Oct 2019 06:09:50 +0000 (11:39 +0530)]
Adapt HF Profile Connect & Disconnect to BT HAL framework
Change-Id: I1c59ff115e7048b168fe7540514c5a7a3c815fc4
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
Wootak Jung [Wed, 16 Oct 2019 06:13:41 +0000 (15:13 +0900)]
Fix unintended unregister issue for gatt server instance
In case client_id and instance_id are same, gatt server is
unregistered although we need to unregister gatt client.
Change name of function __bt_do_unregister_server_instance()
for readability.
Change-Id: Ib0f1e4a66e5cfabf52c3dc5a02b84fb031db3e7e
DoHyun Pyun [Wed, 16 Oct 2019 04:19:02 +0000 (13:19 +0900)]
Fix TCT fail issue by API calling timing
Befor and after sending BR/EDR or LE discovery command,
we should wait some time before recieving the complete event.
Otherwise the discoverying operation can be failed in the
stack layer, and the discoverying state wiil be not matched .
Change-Id: Ia9a07c9c2e3d8c907119d28e12dfac337a40cd44
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Wed, 16 Oct 2019 00:57:14 +0000 (09:57 +0900)]
Add the vconf definition if the key is not defined
Change-Id: Ic73819068f57897632072b93e30af13672665401
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Pyun DoHyun [Tue, 15 Oct 2019 01:21:25 +0000 (01:21 +0000)]
Merge "Provide RFCOMM data to battery monitor frwk" into tizen
Sudipto [Fri, 20 Sep 2019 11:59:50 +0000 (17:29 +0530)]
Provide RFCOMM data to battery monitor frwk
Change-Id: I2c2df3ce1160060cfd932fb328cc40ba9e094caf
Signed-off-by: Sudipto <sudipto.bal@samsung.com>
Wootak Jung [Mon, 14 Oct 2019 06:42:13 +0000 (15:42 +0900)]
Modify GattConnected changed event handling logic
In case GATT Server is existing, server connected event is invoked
although client is connected by GattConnected changed event.
bt-service should distinguish whether event is for client or server.
Change-Id: I74c19b25a1b7f6130295a5ea2ad2631c0feb9bf9
Pyun DoHyun [Fri, 11 Oct 2019 02:12:37 +0000 (02:12 +0000)]
Merge "Fix le scan start issue after stop" into tizen
DoHyun Pyun [Fri, 11 Oct 2019 01:33:32 +0000 (10:33 +0900)]
Fix the AVRCP connection fail issue
This patchset resolves the media key TC fail issue.
(http://suprem.sec.samsung.net/jira/browse/TFDF-6009)
Change-Id: Ie94689ddba136b5a2ae38632e85d945f83d056b6
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Wootak Jung [Fri, 11 Oct 2019 01:08:18 +0000 (10:08 +0900)]
Fix le scan start issue after stop
le scan is not started after stop because stop_pending is set TRUE.
stop_pending will be set FALSE if le discovery is finished.
Change-Id: Id8d9d759e1afcbf1080c98239a14b1affb40a3b6
himanshu [Thu, 3 Oct 2019 07:39:14 +0000 (13:09 +0530)]
Port the Set LE Privacy functionality into BT HAL framework.
Sets the enable privacy functionality of LE Adapter
Change-Id: I8f05f7c5e01103ffbd0106f63c49da4d8927d469
Signed-off-by: himanshu <h.himanshu@samsung.com>
Pyun DoHyun [Wed, 2 Oct 2019 01:22:32 +0000 (01:22 +0000)]
Merge "Add the feature check logic in launching bt-service" into tizen
DoHyun Pyun [Wed, 2 Oct 2019 00:51:32 +0000 (09:51 +0900)]
Fix the svace issue (DEREF_AFTER_NULL)
Change-Id: I637cf306f6159b3e4cbc3d4e32994cfb78ff567b
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Pyun DoHyun [Wed, 2 Oct 2019 00:16:31 +0000 (00:16 +0000)]
Merge "Add and remove device from whitelist" into tizen
Amit Purwar [Tue, 1 Oct 2019 07:16:13 +0000 (12:46 +0530)]
Fixed bt-service crash by validating le_adv_slot
Change-Id: Ic495edc0bfb976d5d3b3a237c15d262048006bc6
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
DoHyun Pyun [Tue, 1 Oct 2019 05:24:34 +0000 (14:24 +0900)]
Add the feature check logic in launching bt-service
Even if BT feature is false in TV profile, bt-service try to
enable BT HW. This patchset prevents this issue.
Change-Id: I571ec5f1bcb3de067ff5f09459be1597265a0e69
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
himanshu [Fri, 20 Sep 2019 15:52:35 +0000 (21:22 +0530)]
Add and remove device from whitelist
Change-Id: I476224d047e4e5a2b7ddb7b79d209bb6a5baba00
Signed-off-by: himanshu <h.himanshu@samsung.com>
Amit Purwar [Wed, 25 Sep 2019 12:37:13 +0000 (18:07 +0530)]
Resolved the GAP Agent re-registration Failure
Change-Id: I8c828e15b2aae66bcdb4d606328b27e5e1993f46
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
Wootak Jung [Mon, 23 Sep 2019 08:21:38 +0000 (17:21 +0900)]
Fix memory leak issue
Change-Id: Ief91f14d400acb59c94d56888feeeed9eb566b53
Deokhyun Kim [Tue, 17 Sep 2019 01:43:35 +0000 (10:43 +0900)]
Fix mem leak
Change-Id: I3d25d486b5b9ee95fb1b3d3e0ba51f9ea004ea76
Signed-off-by: Deokhyun Kim <dukan.kim@samsung.com>
Amit Purwar [Fri, 6 Sep 2019 13:31:00 +0000 (19:01 +0530)]
Fixed the custom service UUID parsing
Change-Id: I0ed330d820e09b740d2125963d81a6c92c553fca
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
Amit Purwar [Wed, 4 Sep 2019 06:10:10 +0000 (11:40 +0530)]
Modified the logic of advertisement slot allocation
Change-Id: I38dadcce61ea91cc83a0e5cac521d7dc0d71720a
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
Pyun DoHyun [Mon, 16 Sep 2019 06:13:50 +0000 (06:13 +0000)]
Merge "Implement MTU changed callback for GATT server" into tizen
Pyun DoHyun [Mon, 16 Sep 2019 06:13:45 +0000 (06:13 +0000)]
Merge "Implement new API to get le oob data" into tizen
Pyun DoHyun [Mon, 16 Sep 2019 06:07:29 +0000 (06:07 +0000)]
Merge "Providing bluetooth usage data for battery monitor framework" into tizen
Sudipto [Thu, 29 Aug 2019 10:35:07 +0000 (16:05 +0530)]
Providing bluetooth usage data for battery monitor framework
The following data is provided to BT CAPI to be used
by battery monitor framework:
Session start time
Session end time
Session scan time
Session connected time
Change-Id: I3873d521f35c76bd71a5cae1dfb6c4724b015997
Signed-off-by: Sudipto <sudipto.bal@samsung.com>
injun.yang [Mon, 1 Jul 2019 08:01:09 +0000 (17:01 +0900)]
Implement MTU changed callback for GATT server
[Model] All
[BinType] AP
[Customer] OPEN
[Issue#] N/A
[Request] Internal
[Occurrence Version] N/A
[Problem] Unable to notice MTU changed event to application
[Cause & Measure] Implement MTU changed callback for GATT server
[Checking Method] n/a
[Team] Convergence BT
[Developer] Injun Yang
[Solution company] Samsung
[Change Type] Specification change
Change-Id: I57a539cadf7ab83931a40eaed573de9f9cecbd9c
Signed-off-by: injun.yang <injun.yang@samsung.com>
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
injun.yang [Tue, 22 Jan 2019 08:51:23 +0000 (17:51 +0900)]
Implement new API to get le oob data
[Model] All
[BinType] AP
[Customer] OPEN
[Issue#] N/A
[Request] Internal
[Occurrence Version] N/A
[Problem] n/a
[Cause & Measure] Implement new API to get le oob data
[Checking Method] n/a
[Team] IoT Hub
[Developer] Injun Yang
[Solution company] Samsung
[Change Type] Specification change
Change-Id: I5ab78624ed2fbac7fc6d6d36bf394776d721b7f7
Signed-off-by: injun.yang <injun.yang@samsung.com>
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
injun.yang [Thu, 22 Aug 2019 10:07:46 +0000 (19:07 +0900)]
Support LE passive scan
[Model] All
[BinType] AP
[Customer] OPEN
[Issue#] N/A
[Request] Internal
[Occurrence Version] N/A
[Problem] n/a
[Cause & Measure] Support LE passive scan
[Checking Method] set scan type > scan
[Team] Convergence BT
[Developer] Injun Yang
[Solution company] Samsung
[Change Type] Specification change
Change-Id: I77477742886f96523dd8a44471dfc86c6fd0870b
Signed-off-by: injun.yang <injun.yang@samsung.com>
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
injun.yang [Wed, 11 Sep 2019 06:15:34 +0000 (15:15 +0900)]
Handling BLE scan as per adv type
Change-Id: I801145ce5c48a218be9668adb63e686318d26f86
Signed-off-by: injun.yang <injun.yang@samsung.com>
injun.yang [Tue, 10 Sep 2019 04:52:53 +0000 (13:52 +0900)]
When compare address, ignoring the case of the characters
Change-Id: I1c720d63824c5789d80c56c29df8449a2ba201ed
Signed-off-by: injun.yang <injun.yang@samsung.com>
injun.yang [Mon, 9 Sep 2019 11:31:30 +0000 (20:31 +0900)]
Enhance debug message
Change-Id: I1f59a2cd019a1ab9229dcaaf8551474ef80e1cb5
Signed-off-by: injun.yang <injun.yang@samsung.com>
DoHyun Pyun [Tue, 3 Sep 2019 01:06:26 +0000 (10:06 +0900)]
Add the auto accept logic for the headless speaker profile
Change-Id: I4c5aff7aae23e819c0aea23b69f0ceea5d049e08
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Wootak Jung [Mon, 26 Aug 2019 04:58:35 +0000 (13:58 +0900)]
Fix handling logic of pending request
If the list is removed during 'for' statement, 'list->next' also set NULL.
Fix the logic to store 'list->next' in advance.
Change-Id: Iae4bb280f68d770b0528bbc5b9bbd38fb88f4884
Wootak Jung [Wed, 21 Aug 2019 05:26:59 +0000 (14:26 +0900)]
Fix the crash dump in FHUB efl TCT
Add the type check logic to avoid crash
Should not be freed in case of getting a string as '&s'.
https://people.gnome.org/~ryanl/glib-docs/gvariant-format-strings.html#gvariant-format-strings-pointers
Change-Id: I7fead708e1349a832bc6b19a3b5987631bd0d1ca
Pyun DoHyun [Thu, 22 Aug 2019 00:12:11 +0000 (00:12 +0000)]
Merge "Add BT_SET_LE_STATIC_RANDOM_ADDRESS function" into tizen
Pyun DoHyun [Thu, 22 Aug 2019 00:11:41 +0000 (00:11 +0000)]
Merge "Improvements in flight mode patch" into tizen
Deokhyun Kim [Mon, 19 Aug 2019 09:33:53 +0000 (18:33 +0900)]
Add BT_SET_LE_STATIC_RANDOM_ADDRESS function
Change-Id: Ic9d832ccfedaf40846d7b06e9c4bea4b08e9717b
Signed-off-by: Deokhyun Kim <dukan.kim@samsung.com>
Sudipto [Wed, 14 Aug 2019 09:34:08 +0000 (15:04 +0530)]
Improvements in flight mode patch
Change-Id: I5056d1db2a45ef552b0bf0f6699d041f9215df02
Signed-off-by: Sudipto <sudipto.bal@samsung.com>
INSUN PYO [Wed, 14 Aug 2019 06:39:46 +0000 (15:39 +0900)]
Remove duplicate dependency with implicit dependencies at "Type=dbus"
Refs: https://www.freedesktop.org/software/systemd/man/systemd.service.html
- Services with Type=dbus set automatically acquire dependencies of type Requires= and After= on dbus.socket.
Change-Id: I6c53c6b6413e4ca12cf20897268806de2065a154
DoHyun Pyun [Mon, 12 Aug 2019 01:17:58 +0000 (10:17 +0900)]
Replace the systemd service activation method
This patchset will use the systemd actd API instead of
the path activation method.
Change-Id: If1d320d49802def8302a4eb61366102f8e262b64
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Deokhyun Kim [Fri, 9 Aug 2019 02:55:34 +0000 (11:55 +0900)]
Add disconnection reason for logging
BLUETOOTH_ERROR_CONNECTION_REJECTED_DUE_TO_SECURITY_REASONS
Change-Id: I6ef3473667c892b66c2934348bf1b10924a7e3f6
Signed-off-by: Deokhyun Kim <dukan.kim@samsung.com>
DoHyun Pyun [Mon, 5 Aug 2019 01:56:40 +0000 (10:56 +0900)]
Set the local name for the headless profile
Change-Id: I943973cdce2813b4c57a3b1b6fc991588710cbb8
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Sun, 4 Aug 2019 23:56:47 +0000 (08:56 +0900)]
Add the missed parameter for SetAdvertisingParameters
Change-Id: I11f8902dd2a1d09270dc9c30a5c0d8d7d497ff04
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Wed, 31 Jul 2019 04:38:09 +0000 (13:38 +0900)]
Fix TCT fail issue
Add the missed dbus parameter for SetAdvertisingParameters
Change-Id: Ie27e60768de16c82d8f81e90c9a19831f06f847c
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Deokhyun Kim [Thu, 11 Oct 2018 08:09:46 +0000 (17:09 +0900)]
Use vendor adv command only when multipled adv is supported
[Model] Lux
[BinType] AP
[Customer] OPEN
[Issue#] N/A
[Request] Internal
[Occurrence Version] N/A
[Problem] Use vendor adv command only when multipled adv is supported
[Cause & Measure]
[Checking Method]
[Team] IoT Hub
[Developer] Deokhyun Kim
[Solution company] Samsung
[Change Type] Specification change
Change-Id: If927170563471b35b67a6312af470690e06d630f
Signed-off-by: Deokhyun Kim <dukan.kim@samsung.com>
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
injun.yang [Tue, 23 Oct 2018 00:55:48 +0000 (09:55 +0900)]
Implement interface to set advertise Tx power level
[Model] All
[BinType] AP
[Customer] OPEN
[Issue#] N/A
[Request] Internal
[Occurrence Version] N/A
[Problem] n/a
[Cause & Measure] Set advertise Tx power level that received from application
[Checking Method] n/a
[Team] Basic Connection
[Developer] Injun Yang
[Solution company] Samsung
[Change Type] Specification change
Change-Id: If8c17d1da8c7009886cd446d09cc361f48a70bc0
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Signed-off-by: injun.yang <injun.yang@samsung.com>
INSUN PYO [Tue, 16 Jul 2019 11:06:16 +0000 (20:06 +0900)]
Rearrange bluetooth-frwk-core.service into delayed.target
Change-Id: I7f7d49f2d8f87c3c5ac79c2ead3e9b3234461ae5
INSUN PYO [Mon, 8 Jul 2019 11:14:57 +0000 (20:14 +0900)]
Delete meaningless configuration
Change-Id: I55af8e5c327244f90ac47a159943c34f70450ccc
Sudipto Bal [Tue, 2 Jul 2019 11:18:55 +0000 (16:48 +0530)]
Porting flight mode logic to HAL
Change-Id: I35cfa8522b97d202f5e5e9f25398defc777b8b8e
Signed-off-by: Sudipto Bal <sudipto.bal@samsung.com>
INSUN PYO [Tue, 2 Jul 2019 05:04:26 +0000 (14:04 +0900)]
Remove unused features
Change-Id: I33c5b288237f8025419a7741b5ed5bca5b0a05a1
Pyun DoHyun [Thu, 27 Jun 2019 23:12:25 +0000 (23:12 +0000)]
Merge "Porting flight mode logic to tizen5.5" into tizen
Sudipto Bal [Tue, 11 Jun 2019 12:01:48 +0000 (17:31 +0530)]
Porting flight mode logic to tizen5.5
Change-Id: I56df155dc5153fe735b16acaa1e4dc3bd759feb2
Signed-off-by: Sudipto Bal <sudipto.bal@samsung.com>
Deokhyun Kim [Tue, 11 Jun 2019 08:57:21 +0000 (17:57 +0900)]
Fix wrong use of dbus interface
Change-Id: I68ff2b37cb1f7cf19a3b5aee5eb46c18b03a5688
Signed-off-by: Deokhyun Kim <dukan.kim@samsung.com>
injun.yang [Tue, 7 May 2019 04:24:51 +0000 (13:24 +0900)]
Fix : Bonding complete event is sent twice.
[Model] All
[BinType] AP
[Customer] OPEN
[Issue#] N/A
[Request] Internal
[Occurrence Version] N/A
[Problem] When DUT request LE pairing, bonding complete event generated twice.
[Cause & Measure] Callback invoked twice in "Pair" dbus callback and the property changed event.
This patch will handle all bonding complete event in the property changed event.
[Checking Method] Request LE pairing
[Team] IoT Hub
[Developer] Injun Yang
[Solution company] Samsung
[Change Type] Specification change
* bluez patch required
cb38640b07e8be0d5589e42b12bdc2a7e9fad652
Change-Id: Ifeb59d23b62d0d0e6316f7faf3920bb346d02057
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
injun.yang [Tue, 5 Mar 2019 07:36:29 +0000 (16:36 +0900)]
Deinitialize gatt server properly
[Model] All
[BinType] AP
[Customer] OPEN
[Issue#] N/A
[Request] Internal
[Occurrence Version] N/A
[Problem] register gatt server -> bluetoothd terminated abnormally -> unregister gatt server ->
bt-frwk recovery BT-> register gatt server -> crash
[Cause & Measure] After BT disabled, gatt server is not deinitialized properly.
[Checking Method] n/a
[Team] IoT Hub
[Developer] Injun Yang
[Solution company] Samsung
[Change Type] Specification change
Change-Id: I6f4356e12e05073656d56302d7e6c39883fc96f2
Signed-off-by: injun.yang <injun.yang@samsung.com>
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
injun.yang [Mon, 4 Mar 2019 02:36:51 +0000 (11:36 +0900)]
Fix : LE scanning malfunction
[Model] All
[BinType] AP
[Customer] OPEN
[Issue#] N/A
[Request] Internal
[Occurrence Version] N/A
[Problem] APIs execute successfully without any errors, but LE scanning is not working
[Cause & Measure] Before scan stopping is completed, application request LE scan again.
After receive LEDiscoveryFinished event, trigger LE scanning again.
[Checking Method] Call bt_adapter_le_start_scan() just after calling bt_adapter_le_stop_scan()
[Team] IoT Hub
[Developer] Injun Yang
[Solution company] Samsung
[Change Type] Specification change
Change-Id: I4927f5ba75451bc6f3fb87d758d2f141cc0c2b8d
Signed-off-by: injun.yang <injun.yang@samsung.com>
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
injun.yang [Mon, 11 Feb 2019 05:31:16 +0000 (14:31 +0900)]
Return error code properly
[Model] All
[BinType] AP
[Customer] OPEN
[Issue#] N/A
[Request] Internal
[Occurrence Version] N/A
[Problem] In disconnection staus, bt frwk return MTU size without error code
[Cause & Measure] When MTU size is invalid, return error code.
[Checking Method] Getting MTU size
[Team] IoT Hub
[Developer] Injun Yang
[Solution company] Samsung
[Change Type] Specification change
Change-Id: I23fa6a2a4bcb1f75c081a502062b7d5e7177111b
Signed-off-by: injun.yang <injun.yang@samsung.com>
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Sudipto Bal [Mon, 3 Jun 2019 11:51:10 +0000 (17:21 +0530)]
Support for internal API to identify internal bonding
Change-Id: Ic22690a7422a0c2d74a766e0a8c47890ba83d99a
Signed-off-by: Sudipto Bal <sudipto.bal@samsung.com>
Deokhyun Kim [Wed, 29 May 2019 07:31:13 +0000 (16:31 +0900)]
return IN_PROGRESS error when pbap connection is on progress
Change-Id: Iaf91555a3d486e7f40997fc10a0c65bf76a6c1dc
Signed-off-by: Deokhyun Kim <dukan.kim@samsung.com>
DoHyun Pyun [Wed, 22 May 2019 01:28:11 +0000 (10:28 +0900)]
Remove wrong dependency in the systemd service file
Change-Id: Ie995fb37a7da0629be2b0163e207352eaf98d4ae
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Wootak Jung [Tue, 14 May 2019 07:33:13 +0000 (16:33 +0900)]
Fix TM1 service file to be executed after wifi-ready
After=multi-user.target causes cyclic dependency because
this service is executed before multi-user.target phase.
Moreover, in TM1, bluetooth-frwk should be executed after
wifi-ready.
sleep is required to wait for completion of wifi-ready
Change-Id: I20a1b063f48523c19cefb829faa0bde0e52eadaf
DoHyun Pyun [Mon, 13 May 2019 07:10:39 +0000 (16:10 +0900)]
Revert "Remove After tag to remove cyclic dependency"
This reverts commit
a1bcaa0ac47faa925156b1cb5a351c0e64e88974.
Change-Id: If21178d335658b12ad6a0950de6e21bd0095060f
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Mon, 13 May 2019 07:09:46 +0000 (16:09 +0900)]
Revert "Remove After= tag on bluetooth-frwk-core.service"
This reverts commit
60e5e8bb77fe846f4b2ccc41615b5bf3ddf94fd8.
Change-Id: I7e3ec4fe645233e9e5890ad365e853ee789d8a7c
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Wootak Jung [Thu, 25 Apr 2019 06:36:29 +0000 (15:36 +0900)]
Remove After tag to remove cyclic dependency
Change-Id: I331c56d236d80567c03564c443d0ed184b1ce2d2
Pyun DoHyun [Tue, 2 Apr 2019 23:22:36 +0000 (23:22 +0000)]
Merge "Remove After= tag on bluetooth-frwk-core.service" into tizen
Wootak Jung [Tue, 2 Apr 2019 04:21:48 +0000 (13:21 +0900)]
Remove After= tag on bluetooth-frwk-core.service
bluetooth-frwk-core.service is located in multi-user.target.wants.
And multi-user.target phase is executed after multi-user.target.wants.
so, After=multi-user.taget causes cyclic dependency.
Change-Id: I12e7bb47954103be65a26ee6e3d5fa3e7ef9955f
Amit Purwar [Mon, 1 Apr 2019 11:38:36 +0000 (17:08 +0530)]
Fixed AVRCP controller reply pending request
Change-Id: I0d086f52f974ea40bb40a104bfa3e6c2e3dcccf5
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
Wootak Jung [Thu, 31 May 2018 07:00:52 +0000 (16:00 +0900)]
Enable adapter and discoverable mode if headless device
Change-Id: I5e1ae7b674931c6d02ad15921382e3abd6857397
Amit Purwar [Mon, 25 Mar 2019 09:50:42 +0000 (15:20 +0530)]
Removed A2DP sink disconnect event on A2DP connect fail
Change-Id: Ia6f95d03c3bb0f17c7b8a7539ff41e4feed93a23
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
DoHyun Pyun [Thu, 14 Mar 2019 06:11:12 +0000 (15:11 +0900)]
Fix the ASAN build error
Change-Id: I55fb907d0be93419bcf32b35f84b7b71be16b7cd
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Thu, 21 Feb 2019 23:24:08 +0000 (08:24 +0900)]
Modify the privilege level of OOB data getter APIs
Application try to bond using oob data without user confirmation.
Because of this, need to give the proper privilege for OOB data
getter APIs
Change-Id: I5fd0083705ac594cbcd307026bf805384318db76
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
injun.yang [Thu, 3 Jan 2019 03:42:56 +0000 (12:42 +0900)]
Deinitialize gatt server properly
[Problem] register gatt server -> BT off -> unregister gatt server ->
BT on -> register gatt server -> crash
[Cause & Measure] After BT disabled, gatt server is not deinitialized properly.
Change-Id: Iadc0fb7764a9d87f8e22824233e404a248f130e7
Pyun DoHyun [Thu, 14 Feb 2019 00:38:37 +0000 (00:38 +0000)]
Merge "Fixed the descriptor write send response" into tizen
Amit Purwar [Wed, 13 Feb 2019 07:14:02 +0000 (12:44 +0530)]
Fixed the descriptor write send response
Change-Id: I803b2c389872294e475caab40bb1d15b6aaf2cb8
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
Wootak Jung [Tue, 12 Feb 2019 07:21:10 +0000 (16:21 +0900)]
Fix own_prefix tag duplication issue
In case of org.frwk.gatt_service, owner is different depend on
gatt relay feature. So, I provide a new conf file for where
gatt relay feature is not in used.
Change-Id: I3a9bb38afe6d49afd701351a9f19213246eee341
Pyun DoHyun [Mon, 11 Feb 2019 06:57:05 +0000 (06:57 +0000)]
Merge "Fixed the unicast address for send indication" into tizen
Pyun DoHyun [Mon, 11 Feb 2019 06:57:00 +0000 (06:57 +0000)]
Merge "Fixed NotifyAcquired property for gatt indication" into tizen
Pyun DoHyun [Mon, 11 Feb 2019 06:56:57 +0000 (06:56 +0000)]
Merge "Fixed the WriteAcquired property for char write" into tizen
Amit Purwar [Mon, 11 Feb 2019 06:42:05 +0000 (12:12 +0530)]
Fixed the unicast address for send indication
Change-Id: I1308b4d80080b5f98920d7a45c5e959a5cc316b5
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
Pyun DoHyun [Thu, 7 Feb 2019 23:33:52 +0000 (23:33 +0000)]
Merge "Fix for unlimited attepmts to write to socket" into tizen
Sudipto [Fri, 1 Feb 2019 11:14:43 +0000 (16:44 +0530)]
Fix for unlimited attepmts to write to socket
Change-Id: Id90bebe5d40f1ac599d996e3e2da66217391a9eb
Signed-off-by: Sudipto <sudipto.bal@samsung.com>
Wootak Jung [Thu, 7 Feb 2019 07:47:03 +0000 (16:47 +0900)]
Fix dbus connection to shared from private
Shared connection should be used because rfcomm interface was registered
on shared connection not private. Otherwise, dbus rejection is occured
because dbus policy is only applied on shared connection not private.
Change-Id: I49ca31b06deeec8c9092fd99342d22d0b9290229
Amit Purwar [Wed, 6 Feb 2019 11:34:39 +0000 (17:04 +0530)]
Fixed NotifyAcquired property for gatt indication
Change-Id: I995f79d0964acf6f8c2c0caa62361c58b046eb54
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
Amit Purwar [Mon, 4 Feb 2019 06:32:06 +0000 (12:02 +0530)]
Fixed the WriteAcquired property for char write
Change-Id: Ic49087d5c6a6efc45c102a4d5224e8e5eef3eb31
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
DoHyun Pyun [Fri, 1 Feb 2019 00:26:24 +0000 (09:26 +0900)]
Add -Wall -Werror build option for bluez hal
Change-Id: Ieb22a7a158a47fb45a468832f2fd3e878cc251c2
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Fri, 1 Feb 2019 00:26:01 +0000 (09:26 +0900)]
Fix the warning errors
Change-Id: Ib1bb16613a744e730a724de0556fbe69e3a72468
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Pyun DoHyun [Thu, 31 Jan 2019 06:37:24 +0000 (06:37 +0000)]
Merge "cleanup of acquire notification data for stop notify" into tizen