Wootak Jung [Thu, 14 Nov 2019 05:03:21 +0000 (14:03 +0900)]
Implement bluetooth_rfcomm_listen() function
If user listens to rfcomm server by bluetooth_rfcomm_listen(),
connection requested callback should be occured not popup
when rfcomm connection request is come from client.
Change-Id: I688171b31c853e2761074f757f6a21fad1f7bcbd
DoHyun Pyun [Mon, 18 Nov 2019 00:51:38 +0000 (09:51 +0900)]
Merge branch 'tizen' into tizen_5.5
Pyun DoHyun [Mon, 18 Nov 2019 00:49:53 +0000 (00:49 +0000)]
Merge "Scan filter refactoring" into tizen
DoHyun Pyun [Mon, 18 Nov 2019 00:41:18 +0000 (09:41 +0900)]
Fix coverity issues - Resource leaks
Change-Id: I62bdabd1cf208c3f7291f94eddc029d332235f42
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Deokhyun Kim [Thu, 14 Nov 2019 08:17:55 +0000 (17:17 +0900)]
Scan filter refactoring
Change-Id: I8bf48e8945811eb09147c547c15b87fe6fdf7bf2
Signed-off-by: Deokhyun Kim <dukan.kim@samsung.com>
DoHyun Pyun [Thu, 14 Nov 2019 23:41:33 +0000 (08:41 +0900)]
Merge branch 'tizen' into tizen_5.5
Change-Id: I19de47e817ee5f82b4719da992db8a4f611f33be
Amit Purwar [Thu, 14 Nov 2019 11:39:39 +0000 (17:09 +0530)]
Resolve the LE advertising fail after slot exhaustion
Change-Id: Iebd4249b8ee1d7fe1db48c84e479058de83b192f
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
Deokhyun Kim [Tue, 12 Nov 2019 07:38:51 +0000 (16:38 +0900)]
Set le scan status to false when scan is stopped by framework
Change-Id: Ib03d8e67638c4903243da3747cbe943da52c08eb
Signed-off-by: Deokhyun Kim <dukan.kim@samsung.com>
DoHyun Pyun [Fri, 8 Nov 2019 07:06:37 +0000 (16:06 +0900)]
Merge branch 'tizen' into tizen_5.5
Change-Id: I4631fb487236b56807d3b2afddeb9f57fb18effa
DoHyun Pyun [Fri, 8 Nov 2019 04:03:34 +0000 (13:03 +0900)]
Merge branch 'tizen' into tizen_5.5
Change-Id: I3495cd105084fe928a2df5615fd814749e70146a
Anupam Roy [Mon, 4 Nov 2019 08:25:19 +0000 (08:25 +0000)]
Merge "Check NULL condition" into tizen
Sudipto [Thu, 24 Oct 2019 09:28:25 +0000 (14:58 +0530)]
Check NULL condition
Free memory of a previously declared variable if
g_array_new returns NULL
Change-Id: I373ef9d1641262ef4fd5f18170b6171efbbc72fb
Signed-off-by: Sudipto <sudipto.bal@samsung.com>
himanshu [Thu, 31 Oct 2019 12:47:14 +0000 (18:17 +0530)]
Implemented the is scan filter supported API
This API is used to get the information whether the
scan filter feature is supported or not.
Change-Id: Ife02b2e1c79548fa92de6f185d68007e66e6dcbd
Signed-off-by: himanshu <h.himanshu@samsung.com>
DoHyun Pyun [Wed, 30 Oct 2019 06:43:35 +0000 (15:43 +0900)]
Release resources for the notify file destriptor properly
If we close the fd only, io channel and watcher resource is
not released. So it occurs critical problems with next logs.
ecore<4672> ../src/lib/ecore/ecore_main.c:2083 _ecore_main_fd_handlers_bads_rem() Removing bad fds
ecore<4672> ../src/lib/ecore/ecore_main.c:2130 _ecore_main_fd_handlers_bads_rem() No bad fd found. Maybe a foreign fd from glib?
Change-Id: I683aa747018ff6139d31b48207b568da4dab8cae
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Wootak Jung [Fri, 25 Oct 2019 04:25:25 +0000 (13:25 +0900)]
Fix le scan start/stop timing issue
le scan functionaly is blocked in case stop request is come
right after start request is come.
le scan started/stopped events depend on LEDiscovering
Change-Id: I2531b426b72112c2aa1e21cae897a4b6f75d5343
himanshu [Thu, 17 Oct 2019 12:53:51 +0000 (18:23 +0530)]
Adapt the scan filter register functionality into BT-HAL framework
This API registers a scan filter to use for scanning.
Change-Id: Icfa4bf8a87fde8668cc8e5c26689a2c3c29cbce7
Signed-off-by: himanshu <h.himanshu@samsung.com>
Anupam Roy [Thu, 24 Oct 2019 09:22:46 +0000 (09:22 +0000)]
Merge "Fix LE discovering finished event not invoked issue" into tizen
Anupam Roy [Thu, 24 Oct 2019 09:12:29 +0000 (09:12 +0000)]
Merge "Fix ASAN issue multiple definition of variable" into tizen
Anupam Roy [Thu, 24 Oct 2019 09:01:22 +0000 (09:01 +0000)]
Merge "Adapt unregister all scan filters functionality into BT-HAL framework" into tizen
Anupam Roy [Thu, 24 Oct 2019 08:40:51 +0000 (08:40 +0000)]
Merge "Provide callback support to battery monitor frwk when BT is disabled" into tizen
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>
Sudipto [Thu, 24 Oct 2019 07:44:59 +0000 (13:14 +0530)]
Fix ASAN issue multiple definition of variable
The variable is_battery_monitor_enabled is no
longer required as the status of battery monitor
is now being stored in vconf
Change-Id: I77de898abb1cac6e2dfb8644f02be4adf40d97ff
Signed-off-by: Sudipto <sudipto.bal@samsung.com>
Sudipto [Mon, 21 Oct 2019 07:03:29 +0000 (12:33 +0530)]
Provide callback support to battery monitor frwk when BT is disabled
Change-Id: Ic7d9433a8be4475c339150685f6c045c0070ea69
Signed-off-by: Sudipto <sudipto.bal@samsung.com>
Wootak Jung [Thu, 24 Oct 2019 01:51:20 +0000 (10:51 +0900)]
Fix LE discovering finished event not invoked issue
Change-Id: Ia6e24b24b3e54d41c615ff40cc8e199d4f678be0
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