Sameer Kumar [Tue, 6 Aug 2024 05:07:13 +0000 (10:37 +0530)]
This Patch adds new enum for ACL disconnection
BT_DEVICE_DISCONNECT_REASON_MIC_FAILURE
Change-Id: I9201b04ec02fc553608b3e24958a831ab84706a5
Signed-off-by: Sameer Kumar <sameer.kumar@samsung.com>
Wootak Jung [Fri, 9 Aug 2024 05:56:47 +0000 (14:56 +0900)]
bt_unit_test: Fix IRK free logic missing issue
Change-Id: I065999fa632a090d490aa2aa87e411df45fb66af
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
Wootak Jung [Thu, 8 Aug 2024 06:20:26 +0000 (15:20 +0900)]
Update API document
Change-Id: Icb144b97f36e25d141ee2e3624e04fc4753a0e29
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
Wootak Jung [Mon, 15 Jul 2024 04:07:57 +0000 (13:07 +0900)]
Fix the gatt client wrong mtu cb unset issue
Change-Id: I16f6d1d6b70053005e93a5e9852e966f5a359b14
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
Wootak Jung [Tue, 4 Jun 2024 07:18:25 +0000 (16:18 +0900)]
Add new DA model names
AI Home Smart EHS
Smart Oven
Smart AC
AI Vision Refrigerator
Change-Id: Ibf28af6be8dbe4647a66c878b22afa74aeb9382d
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
Wootak Jung [Thu, 25 Apr 2024 02:53:23 +0000 (11:53 +0900)]
Fix gatt write fail issue
write_cb should be unset when client is disconnected
Change-Id: I4c6d6239105acb8b627116e13e9599124c2661d5
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
Wootak Jung [Wed, 24 Apr 2024 04:46:34 +0000 (13:46 +0900)]
Add HF internal API to send/receive vendor command
Change-Id: I1a82ff41412c302f04a861eab51b5afed9f6b53a
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
Ayush Garg [Wed, 29 May 2024 06:00:00 +0000 (06:00 +0000)]
Merge "Get local IRK value" into tizen
Sameer Kumar [Fri, 24 May 2024 10:15:45 +0000 (15:45 +0530)]
Get local IRK value
This patch adds support to get local IRK value.
To avoid any conflicts this patch should be merged with framework
patch: (Change-Id: Iac2edded057054a98aa3855fe0eb2c97e9346a62)
Change-Id: Ia5c1841d135a13af76fbd43036d75dfdd16f3253
Signed-off-by: Sameer Kumar <sameer.kumar@samsung.com>
Wootak Jung [Thu, 23 May 2024 01:20:23 +0000 (10:20 +0900)]
Update API document
Change-Id: I4176eb9470254b98a1e7b205ef91929aa97cb585
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
Wootak Jung [Thu, 4 Apr 2024 23:24:09 +0000 (08:24 +0900)]
Fix since_tizen tag in header
Change-Id: I652f85c03ef31d9b00f473c53b06d81b5db096f6
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
Wootak Jung [Wed, 20 Mar 2024 05:28:19 +0000 (14:28 +0900)]
Remove conditional statements for Moible/Wearable profile
Change-Id: I0f74dfa6816b684ed2ec13057a7f969b75032046
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
Dohyun Pyun [Tue, 12 Mar 2024 04:13:30 +0000 (13:13 +0900)]
Fix the gcov build error
Change-Id: I951c2396d162705a3ba5940f68a57883e974b536
Signed-off-by: Dohyun Pyun <dh79.pyun@samsung.com>
Wootak Jung [Tue, 27 Feb 2024 04:41:27 +0000 (13:41 +0900)]
Add new L2CAP socket API to get the maximum buffer size
Change-Id: I07346e76772c3d8379f2eb713bb55996fa1d3bba
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
Anuj Jain [Wed, 14 Feb 2024 09:30:29 +0000 (15:00 +0530)]
This patch fixes svace issues
Change-Id: I4ab8ad5e2e159c00e3529c6561c30b4427f7be49
Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
Wootak Jung [Thu, 1 Feb 2024 06:45:38 +0000 (15:45 +0900)]
Fix crash issue when write_cb is NULL
Change-Id: I4dc116d88a8d527ffc865e2fbeeed17e5365fde3
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
Wootak Jung [Tue, 2 Jan 2024 06:29:32 +0000 (15:29 +0900)]
Modify duty cycle of scan mode
Change-Id: I461980ec0024e7ee7fe231b5a736860f2ee0ed3e
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
Harsh Jain [Mon, 15 Jan 2024 10:25:25 +0000 (15:55 +0530)]
Fix issue of server disconnect on client disconnection
This patch Address client disconnect initiated in process 1, which leads to unintended disconnection of process 2 server.
Change-Id: I06c204314acd6889e3a6552efb99b1d50b2bc5b6
Signed-off-by: Harsh Jain <jain.harsh@samsung.com>
Wootak Jung [Fri, 29 Dec 2023 00:01:53 +0000 (09:01 +0900)]
Remove duplicated error in header
Change-Id: I99a49cf0ee76132c6c8b04ff272e2476f91d0613
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
Wootak Jung [Fri, 8 Dec 2023 00:38:19 +0000 (09:38 +0900)]
Add new DA model name
AI Hub Smart EHS
Change-Id: I88969aba4ea33fa163c5903e14db07af4541f86c
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
Wootak Jung [Mon, 27 Nov 2023 00:34:42 +0000 (09:34 +0900)]
Add new DA model names
Bespoke Washer
Bespoke Dryer
Appliance Emulator
Change-Id: I927cfef23b0f8f1a15998ac787f69ec4739a0300
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
Wootak Jung [Wed, 22 Nov 2023 04:09:19 +0000 (13:09 +0900)]
Fix memory leak
Change-Id: I957c7126ffbcbc614160826ffcb0e8cfa9b7383d
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
Wootak Jung [Mon, 6 Nov 2023 00:16:46 +0000 (09:16 +0900)]
Increase the version to 9.0
Change-Id: I4c7b7627b3f7d295a9160916875dec026030b42b
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
Wootak Jung [Thu, 2 Nov 2023 00:45:39 +0000 (09:45 +0900)]
bt_unit_test: Change the test buffer size
Change-Id: I4882a9e1885044f049c267f117cdbd29543ef093
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
Wootak Jung [Wed, 1 Nov 2023 23:20:06 +0000 (08:20 +0900)]
Change the HFP supported device to DA from FHUB
Change-Id: I16145f8c4f14a9a381f87f0d20aff8b37846adbc
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
Ayush Garg [Fri, 15 Sep 2023 01:21:44 +0000 (06:51 +0530)]
Fix Coverty issue
This patch fixes the PHY validation logic
Change-Id: I685c7ba5fd070826c8198c9e2cc6ae585615a7af
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
Anuj Jain [Mon, 11 Sep 2023 10:45:25 +0000 (16:15 +0530)]
BT 5.0 Fix ordering for feature check
This patch fixes the mismatch in ordering between bt_feature_t
and feature_table.
Change-Id: I6d68d1a6e2562ffefdfa7307f13bbe09225513e2
Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
Wootak Jung [Fri, 25 Aug 2023 05:16:17 +0000 (14:16 +0900)]
[ACR-1787] Add extended advertising and scan APIs to public
Change-Id: Ib4abe4f9012db5cb10c414fb3b148b3178b5710e
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
Anuj Kumar Singh [Wed, 6 Sep 2023 10:08:53 +0000 (15:38 +0530)]
Fix Svace Issue
This patch fix the below svace issue:
CID-546086
Change-Id: I7c6f14dcdd5a8471adcdb1d8cba3865f6ab45116
Signed-off-by: Anuj Kumar Singh <anujk.singh@samsung.com>
Ayush Garg [Wed, 6 Sep 2023 05:04:41 +0000 (05:04 +0000)]
Merge "BT 5.0: Implement CAPIs for read/set phy" into tizen
Ayush Garg [Tue, 29 Aug 2023 10:05:36 +0000 (15:35 +0530)]
BT 5.0: Implement CAPIs for read/set phy
This patch adds following APIs:
1. bt_gatt_client_read_phy()
2. bt_gatt_client_set_phy()
3. bt_gatt_client_set_phy_update_cb()
4. bt_gatt_client_unset_phy_update_cb()
5. bt_gatt_server_read_phy()
6. bt_gatt_server_set_phy()
7. bt_gatt_server_set_phy_update_cb()
8. bt_gatt_server_unset_phy_update_cb()
Change-Id: Ica0b1850b7c3e84086bed2e7b9a35866271626d6
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
Wootak Jung [Tue, 29 Aug 2023 05:47:11 +0000 (14:47 +0900)]
Fix api header errors from the script
include/bluetooth.h:56: ERROR:
Return value #BT_ERROR_NOT_SUPPORTED used in incorrect order.
Correct return value order:
ERROR_NONE
ERROR_NOT_SUPPORTED
ERROR_PERMISSION_DENIED
ERROR_INVALID_PARAMETER
Other errors
include/bluetooth.h:474: Note:
Please consider changing tabs in comments to spaces.
Tabs may cause aligned comments to be shown incorrectly,
depending on the editor's tab width setting.
include/bluetooth.h:619: ERROR:
The description of the 'randomizer' parameter in line 619 is the same as for 'hash' in line 618.
include/bluetooth.h:635: ERROR:
Since at least one privilege is needed, one of the errors should be ..._ERROR_PERMISSION_DENIED
...
Change-Id: Ic4b7c0debe86b366fcb20af6f3667df1ce22c804
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
Anuj Jain [Mon, 21 Aug 2023 12:27:38 +0000 (17:57 +0530)]
BT 5.0 : Support for Extended Advertisement
This patch provides initial support for extended advertisement
As there is no support for Extended advertisement on bluez layer
therefore this feature is currently disabled.
Change-Id: I133ea5ed4535dc2fd3901fe29d6338e69109c3d8
Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
Anuj Jain [Tue, 1 Aug 2023 13:23:59 +0000 (18:53 +0530)]
BT 5.0 : Support for Extended Scanning
This patch provides initial support for extended scanning
As there is no support for Extended scanning on bluez layer
therefore this feature is currently disabled.
Change-Id: Ic61858f76286e33b5d3fa6645bd37a9076376bcd
Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
Ayush Garg [Wed, 16 Aug 2023 08:53:46 +0000 (14:23 +0530)]
BT 5.0: Implement CAPIs for getting supported features
This patch adds following APIs:
1. bt_adapter_le_is_extended_advertising_supported()
2. bt_adapter_le_is_extended_scan_supported()
3. bt_adapter_le_get_maximum_advertising_data_length()
Change-Id: Id5c7b9c9873db52264853cc93e9a1d0a9e21453e
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
Wootak Jung [Tue, 8 Aug 2023 05:38:28 +0000 (14:38 +0900)]
Revert "Remove unnecessary unittest rpm"
This reverts commit
31ace04f641bf94e902c6cd71873b615b7e65561.
Change-Id: Icdb0b412b844577b48ad0fa040a05c6cea5e86f2
Wootak Jung [Mon, 7 Aug 2023 00:26:24 +0000 (09:26 +0900)]
Add new DA model names
Change-Id: I44894b50555d9b1bef70247de467a37f006afcc8
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
Wootak Jung [Fri, 4 Aug 2023 08:04:29 +0000 (17:04 +0900)]
Increase the version to 8.0
Change-Id: Iff6d2458f1bc2b26fdee7810af5c332bb73d87cb
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
Wootak Jung [Fri, 4 Aug 2023 07:33:43 +0000 (16:33 +0900)]
Remove tests related gcno files
Change-Id: I1d775310baa41a70fd877883e8fd7a7f26ad1897
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
Wootak Jung [Wed, 2 Aug 2023 00:49:36 +0000 (09:49 +0900)]
Remove unnecessary unittest rpm
unittest rpm required if native tct is not enough
Change-Id: Icd1ae0c9f89729817712c9183123ca799ad3e5fd
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
Wootak Jung [Fri, 21 Jul 2023 01:07:42 +0000 (10:07 +0900)]
Remove the unnecessary coverage result
Change-Id: If218d386547022da42a1aeaa0526c3c28dab1fe3
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
Wootak Jung [Tue, 18 Jul 2023 04:15:32 +0000 (13:15 +0900)]
Move advertising flags setting API to public
Change-Id: I6500b58b2d3113809719acc85dc62b37620297eb
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
Wootak Jung [Tue, 13 Jun 2023 04:13:59 +0000 (13:13 +0900)]
Add internal API to set service persistence
Change-Id: Ic1a54af44ac3b2265f37db4c3a8545e189951a38
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
Wootak Jung [Thu, 8 Jun 2023 00:47:58 +0000 (09:47 +0900)]
Add "Smart Cooktop" to DA model
Change-Id: I2431eca8c28f300c66ba87d921fd51e6f79e2ba6
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
Wootak Jung [Wed, 31 May 2023 01:39:49 +0000 (10:39 +0900)]
Change the platform version to 8.0 from 7.5
Change-Id: Id075326ec42159023977c0a0c0985d7079fa182e
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
Manika Shrivastava [Thu, 18 May 2023 07:01:00 +0000 (12:31 +0530)]
Add new unit tests
This patch adds UTCs for following apis:
bt_adapter_le_set_advertising_flags
bt_adapter_le_add_advertising_custom_name
bt_adapter_le_remove_advertising_custom_name
Change-Id: Ifd28b08a6b31eac885d30f1e360f43f446a77b43
Signed-off-by: Manika Shrivastava <manika.sh@samsung.com>
Wootak Jung [Tue, 9 May 2023 01:16:07 +0000 (10:16 +0900)]
Fix authentication request cb not coming issue
If you set the authentication request_cb only, cb is not called.
If you don't set the req_cb, request_cb is not called.
Change-Id: Ica53667f5e4d7b92708788c58e47632dcb7f827d
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
Wootak Jung [Thu, 23 Mar 2023 02:21:35 +0000 (11:21 +0900)]
Fix svace issue
Change-Id: I16316b95bf29536d36a0d2f81bb7996948ca560b
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
Anuj Jain [Wed, 15 Mar 2023 06:46:09 +0000 (12:16 +0530)]
Fix Coverity issue
This patch fixes Coverity issue:
CID : 1668452 (RESOURCE_LEAK)
Change-Id: Idf35488d83e6f2da939a6b4dbe302cfd26a304e1
Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
Wootak Jung [Wed, 15 Mar 2023 01:38:20 +0000 (10:38 +0900)]
Fix svace issues
Change-Id: Ief9a08aaa5cf1dc8f7d90c3f02dace535bf7eb7e
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
Wootak Jung [Mon, 20 Feb 2023 07:21:12 +0000 (16:21 +0900)]
Add custom name removing API
fix ad type removing function
Change-Id: Ic47a8ef39b0cc8d954326cb683d3816543e8b273
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
Wootak Jung [Thu, 16 Feb 2023 06:41:49 +0000 (15:41 +0900)]
Add custom name setting API in advertising data
Change-Id: Ibf8e5ed464ba0ad24998860e8858f2e5b4dbd8ad
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
Wootak Jung [Tue, 28 Feb 2023 03:07:37 +0000 (12:07 +0900)]
Apply gcov automation
Change-Id: I4261b30f08f275fcc7ec8aba2fc6e6e3cf285690
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
Jakub Latusek [Wed, 1 Feb 2023 05:50:11 +0000 (14:50 +0900)]
Add support for custom advertising flags.
It is required to set proper advertising flags when establishing a
connection using
Bluetooth low energy to properly recognize device type.
Without this, the Linux device cannot recognize the Tizen device
properly and establish a connection.
Change-Id: I4ac31464007f67711ea05a6227a7a46c33b6c8ef
Signed-off-by: Jakub Latusek <j.latusek@samsung.com>
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
Wootak Jung [Thu, 9 Feb 2023 08:08:59 +0000 (17:08 +0900)]
Fix gatt connection state changed cb not coming issue
Regardless of registering new callback,
the callback from previous one should be come
Change-Id: Id37cf39734d4cd8762d1db58733ab94deade601d
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
Wootak Jung [Thu, 9 Feb 2023 01:07:25 +0000 (10:07 +0900)]
Add DA feature newly
da feature contains many da models as well as fhub
Change-Id: Ia8d75c4c0e759f9721b2a786adacabcaf70fff4d
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
Wootak Jung [Tue, 7 Feb 2023 02:00:14 +0000 (11:00 +0900)]
Add an error enumeration for max connection
Change-Id: I3e28532b8354d1d741c887f98ef72516c7955fe8
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
Wootak Jung [Fri, 13 Jan 2023 00:59:43 +0000 (09:59 +0900)]
Increase the version to 7.5
Change-Id: If67fa9c79896ef000b8e73a6c56fc5cb79d84c07
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
Marek Pikuła [Mon, 7 Nov 2022 13:49:11 +0000 (14:49 +0100)]
riscv64: Add RISCV-64 support
Change-Id: I5493c0de4cf3fb0eaf18c8e70face319562ad0f1
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
Ayush Garg [Thu, 20 Oct 2022 05:36:28 +0000 (05:36 +0000)]
Merge "Inclusive Language Changes" into tizen
Anuj Jain [Thu, 20 Oct 2022 00:54:23 +0000 (06:24 +0530)]
Inclusive Language Changes
BT core spec 5.3 promotes the usage of inclusive languages.
This patch replaces non-inclusive words with inclusive ones.
This patchset should be merged with the following bluetooth-frwk's
patchset in order to build successfully:
bluetooth-frwk Change-Id: I7946af9cab584f0f44baa208782b6930e6afcef1
Change-Id: I0f46211d644a96be7cbed2d2352f624fee51ff29
Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
Pyun DoHyun [Tue, 11 Oct 2022 02:32:19 +0000 (02:32 +0000)]
Merge "Add the coverage exception for internal API functions" into tizen
Dohyun Pyun [Tue, 11 Oct 2022 00:30:51 +0000 (09:30 +0900)]
Add the coverage exception for internal API functions
Change-Id: I6bd4fa1281cccd5c4c199ec72d35a67f6788ba8a
Signed-off-by: Dohyun Pyun <dh79.pyun@samsung.com>
Anuj Jain [Fri, 7 Oct 2022 06:51:45 +0000 (12:21 +0530)]
GATT : Fix Server disconnection state change callback
This patch fixes the issue of GATT server disconnection callback not
received when server connection state change callback is set using
bt_gatt_server_set_connection_state_changed_cb.
This patch also adds some INVALID_INPUT_PARAMETER checks to new GATT
APIs.
Change-Id: Ie651f9822702a7a15c327361cff8ebd34c156613
Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
Anuj Jain [Thu, 6 Oct 2022 12:33:21 +0000 (18:03 +0530)]
GATT : Fix connection change callback on Client disconnection
Change-Id: I6f3026f6ecb46e16539bc1d1c7503b3011005593
Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
Anuj Jain [Thu, 29 Sep 2022 16:33:57 +0000 (22:03 +0530)]
GATT : New GATT connect APIs
This patch saperate the connection state change callbacks for GATT
client and server.
This patch add the following:
-New callback APIs for GATT client and server connection state change
-New GATT client connect API.
Change-Id: Ida1d672db2b41f9a7ea6b210c30dac1e83d929ba
Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
Ayush Garg [Thu, 29 Sep 2022 08:06:43 +0000 (13:36 +0530)]
fhub: Add DA features
Applied patches
- add BT_HF_EVENT_AUDIO_MUTE event for audio mute function
- modify profile check routine for HFP & PBAP
This patchset should be merged with the following bluetooth-frwk's
patchset in order to build successfully:
bluetooth-frwk Change-Id: Ifc77646b0ef4cac509c88b647d86855baa658d3e
Change-Id: I3144f6091206891a67e19e81badf80737d8c5df6
Signed-off-by: shss-choi <shss.choi@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
Ayush Garg [Thu, 29 Sep 2022 06:53:42 +0000 (12:23 +0530)]
fhub: add bt_adapter_get_hci_address API
Change-Id: I4b5d35b48e53e031a2f6fc0bfd4e7b4794bb8c97
Signed-off-by: shss-choi <shss.choi@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
Ayush Garg [Thu, 29 Sep 2022 06:09:19 +0000 (11:39 +0530)]
fhub: Add new profile for Family Hub
Change-Id: Ibcb5f1803f74c3125f361948e854c110b9503a60
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
Abhay Agarwal [Thu, 25 Aug 2022 08:39:48 +0000 (08:39 +0000)]
Merge "Make uuid generation RFC 4122 compliant" into tizen
Wootak Jung [Wed, 10 Aug 2022 23:24:57 +0000 (08:24 +0900)]
Add device name for l2cap le advertising
Change-Id: Ia91934a2499f8d41e3128e23b7f6dc78e8983087
Abhay Agarwal [Tue, 9 Aug 2022 07:04:04 +0000 (12:34 +0530)]
Make uuid generation RFC 4122 compliant
This patch makes the ble mesh uuid generation RFC 4122 compliant
as requried by bletooth-meshd stack.
Change-Id: I30d187c99e526d99b5ff08f7c2fba23a2fb8b5f7
Signed-off-by: Abhay Agarwal <ay.agarwal@samsung.com>
Wootak Jung [Thu, 7 Jul 2022 08:25:22 +0000 (17:25 +0900)]
Fix memory leak
Change-Id: I7b69d7dd795cc532efac9aaee4dab653ac2c60dc
Wootak Jung [Wed, 29 Jun 2022 00:07:10 +0000 (09:07 +0900)]
Remove gcov rpm
Do not make gcov rpm if run coverage manually
Change-Id: Ie465c77d1ac0d0214e3081e36373a13aea46b761
Wootak Jung [Mon, 16 May 2022 05:15:45 +0000 (14:15 +0900)]
test/unittest: Add l2cap le utc
[ 44s] Success [ 581 / 581]
[ 44s] Error [ 0 / 581]
Change-Id: I59aca60b6e5f7653ae70580c2d87b6ee88f11872
Wootak Jung [Wed, 11 May 2022 01:38:49 +0000 (10:38 +0900)]
test/bt_unit_test: Fix socket_send_data result log
Change-Id: I2f00912741958a73174cde2c5cc21bda9c87f40c
Wootak Jung [Wed, 4 May 2022 06:32:11 +0000 (15:32 +0900)]
ble_mouse_with_error: Update PTS certification logic
Change-Id: I71339a9f626f4f1e87ce35806b744c2e42193f1d
Wootak Jung [Tue, 3 May 2022 02:25:17 +0000 (11:25 +0900)]
Fix wrong param for setting conectable mode
Change-Id: I40ddd53d0eeff0db2763e678f7f09c0850b90eee
Wootak Jung [Sun, 10 Apr 2022 23:47:16 +0000 (08:47 +0900)]
[ACR-1694] Add new APIs for L2CAP LE CoC functionality
- add new feature:
tizen.org/feature/network.bluetooth.le.coc
Change-Id: I193513b0524daeac8e8c538f8226285ccc07a895
Wootak Jung [Fri, 15 Apr 2022 05:38:59 +0000 (14:38 +0900)]
Add PTS certificate related logic
Change-Id: Ie182427ade7bbf8552baf4dae8354b408c111b22
Wootak Jung [Wed, 13 Apr 2022 05:33:07 +0000 (14:33 +0900)]
Fix bt_unit_test crash issue
if service_data_len is 0, crash occured in case of reading service_data
__bt_adapter_le_scan_result_cb:1776() C8:A3:AF:17:AB:21 Adv 22 Scan resp 22 RSSI -80 Addr_type 1
__bt_adapter_le_scan_result_cb:1837() TX Power level = -20
__bt_adapter_le_scan_result_cb:1853() Service UUID[1] = FE2C
__bt_adapter_le_scan_result_cb:1855() Data[1] = 0x00...(len: 11)
__bt_adapter_le_scan_result_cb:1853() Service UUID[2] = FE03
__bt_adapter_le_scan_result_cb:1830() Device name = JBL CLUB PRO+ TWS-LE
Change-Id: Ib5f3bbcee103a83a850203d866b4bd13aaa3187f
Anuj Jain [Mon, 4 Apr 2022 12:46:59 +0000 (18:16 +0530)]
LE CoC: Fix disconnection on multiple writes
This patch fixes the the issue of LE_L2CAP socket disconnection
when write operation is performed more than once by either client or
server.
Change-Id: I6bd2e7fdbfe8ba1931d4a141266da8c902deb228
Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
Ayush Garg [Mon, 7 Mar 2022 13:06:15 +0000 (18:36 +0530)]
LE CoC: Add unit test for L2CAP_LE type socket connection
This patch adds the following unit test for L2CAP_LE type socket:
- create socket
- destroy socket
- listen socket
- connect socket
- Accept and Reject socket connection
- get psm of listening socket
Change-Id: Ic6adf2738155b3334ce77dbff149b3e04a78a94f
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
Ayush Garg [Mon, 7 Mar 2022 11:50:54 +0000 (17:20 +0530)]
LE CoC: Implement CAPIs
This patch primarily handles following:
- CAPIs to create and listen to L2CAP_LE socket
- CAPIs to connect and disconnect to L2CAP_LE socket
- CAPIs to get PSM of the listening L2CAP_LE socket
- Event Handlers for connection, disconnection and
authorization of L2CAP_LE socket
Change-Id: I6ac0595799602db1402778da3f73109366a013c2
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
Wootak Jung [Wed, 9 Feb 2022 06:11:46 +0000 (15:11 +0900)]
Fix gatt send response logic
no need to send response if response_need false
Change-Id: I23f524212fa0dab76b73a17299f3bc85bb75ac5b
dh79pyun [Wed, 26 Jan 2022 04:52:45 +0000 (13:52 +0900)]
Add the module name in the gcov install path
Change-Id: Idbc17f5e22c8585ee861677b87570d22032a5120
Signed-off-by: dh79pyun <dh79.pyun@samsung.com>
dh79pyun [Mon, 13 Dec 2021 02:29:15 +0000 (11:29 +0900)]
Replace g_memdup to g_memdup2
Change-Id: I5a302c2b1810e1d3896ec04f338ce7a74267c62c
Signed-off-by: dh79pyun <dh79.pyun@samsung.com>
Ayush Garg [Fri, 3 Dec 2021 10:40:05 +0000 (16:10 +0530)]
Fix pointer corruption in gatt_server_deinitialize
The next node pointer of the gatt_server_list must be
stored before removing the current node.
Change-Id: I416a3a17d0c314f246449d6f458cffe6daaff2c3
dh79pyun [Fri, 26 Nov 2021 00:29:56 +0000 (09:29 +0900)]
Add the custom scan mode setting API
Change-Id: I9fa8453d31c07fa4599246eb0c7ef2d4c6d44029
Signed-off-by: dh79pyun <dh79.pyun@samsung.com>
dh79pyun [Mon, 8 Nov 2021 04:10:43 +0000 (13:10 +0900)]
Increase the version
Change-Id: I29869069b060f48f32a78381616970922ee564dd
Signed-off-by: dh79pyun <dh79.pyun@samsung.com>
dh79pyun [Sun, 31 Oct 2021 23:14:47 +0000 (08:14 +0900)]
Get the default client if the address is NULL
Change-Id: I327169a22292034f33a5122de7f84837d9b85066
Signed-off-by: dh79pyun <dh79.pyun@samsung.com>
dh79pyun [Fri, 29 Oct 2021 00:49:53 +0000 (09:49 +0900)]
Handle BT_GATT_CLIENT_SERVICE_RESYNC event
Change-Id: I86582b12e6e89e9a3c6fe20ce3aedeabbb333036
Signed-off-by: dh79pyun <dh79.pyun@samsung.com>
dh79pyun [Mon, 18 Oct 2021 05:09:21 +0000 (14:09 +0900)]
Add the coverage exception for internal function
Change-Id: I3bfefd0ed1b17e9e20eaf3a68b30e0a44228913c
Signed-off-by: dh79pyun <dh79.pyun@samsung.com>
Wootak Jung [Wed, 29 Sep 2021 23:32:56 +0000 (08:32 +0900)]
[ACR-1666] Add gatt service resync change type
Change-Id: Ifa1a29f098d4c738cdcc356f3999a478f7862e63
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
Wootak Jung [Wed, 1 Sep 2021 23:50:55 +0000 (08:50 +0900)]
Modify the doxygen of audio profile type
Change-Id: Ibc597e96acd91a19fd0cc62944614a63c4bdb30e
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
Anuj Jain [Tue, 3 Aug 2021 08:49:42 +0000 (14:19 +0530)]
GATT: New callback API for notification state change
Make new callback api for notification enable/disable which
provides additional functionality of reporting client address
on notification state change.
This patchset should be merged with the following bluez and
bluetooth-frwk's patchset in order to match API and avoid crash:
bluez Change-Id:I81a0994f2299e988f8ef6428537647c899700fda
bluetooth-frwk Change-Id: Ib54ba54c318692b4ee0eaef9b2310c60dadeb661
Change-Id: Ic4868234a4fc682f9bff2c66ac1aee2683f3d6c6
Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
Anuj Bhumiya [Fri, 30 Jul 2021 03:51:23 +0000 (09:21 +0530)]
Native TCT fix for HDP
The app handle is already freeing at the time of
deregistration so no need to free it at registration time.
Change-Id: I0fe1cf3a2f99dfae4e7a846f4b1aa6afb70b2aff
Signed-off-by: Anuj Bhumiya <anuj.bhumiya@samsung.com>
Anuj Bhumiya [Tue, 20 Jul 2021 12:18:23 +0000 (17:48 +0530)]
Fix Svace defect
This patch includes the fix of svace defect on latest CAPI code.
Change-Id: Ibc49749a28313c2efac315f9f5d551a4a522ef19
Signed-off-by: Anuj Bhumiya <anuj.bhumiya@samsung.com>
DoHyun Pyun [Mon, 31 May 2021 01:11:21 +0000 (10:11 +0900)]
Allow zero length for GATT server write request
Google's Chromecast app needs to response for zero
length write request in GATT server.
Change-Id: I5142ecd4dc7964caa2421aa0ecb39f0d0055c305
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Wootak Jung [Fri, 21 May 2021 02:07:52 +0000 (11:07 +0900)]
Add the coverage exception code for new internal APIs
Change-Id: I816eaf5804ec7668ec834d7297b933ee555a7538
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>