Pyun DoHyun [Tue, 11 Aug 2020 22:45:00 +0000 (22:45 +0000)]
Merge "Mesh: Remove limitation of five Networks" into tizen
Pyun DoHyun [Tue, 11 Aug 2020 22:44:38 +0000 (22:44 +0000)]
Merge "Mesh: Add support for Mesh network Destroy" into tizen
Anupam Roy [Tue, 11 Aug 2020 14:30:28 +0000 (20:00 +0530)]
Mesh: Remove limitation of five Networks
This patch removes limitation of total 5 Mesh Networks
per app from CAPI layer.
TODO: Restriction per app will be handled in service layer
Change-Id: Ib8442db1cd0a95a9580303bf353d1bd0417e5d3f
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
Anupam Roy [Tue, 11 Aug 2020 14:27:09 +0000 (19:57 +0530)]
Mesh: Add support for Mesh network Destroy
Change-Id: Ie2e8dd2f038567ea2f2c235b96885b6ac44a786d
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
Pyun DoHyun [Mon, 10 Aug 2020 23:01:03 +0000 (23:01 +0000)]
Merge "Fix the failed GTEST for mesh framework" into tizen
Abhay Agarwal [Mon, 10 Aug 2020 13:02:26 +0000 (18:32 +0530)]
Mesh: Add API for group message communication
This patch introduces an API which can be used to
send/receive group messages.
Change-Id: I64d63126db38f8cd7f826b41e0aa904cb92217ac
Signed-off-by: Abhay Agarwal <ay.agarwal@samsung.com>
Amit Purwar [Fri, 7 Aug 2020 09:38:46 +0000 (15:08 +0530)]
Fix the failed GTEST for mesh framework
Change-Id: Ia3be0ee2b66ccd67d87a8c9490f2e0f9655a2e31
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
Anupam Roy [Fri, 7 Aug 2020 14:41:30 +0000 (20:11 +0530)]
Mesh: Refactor Model Get & Set publication codes
This patch adds some exception handling in the
CAPI for invalid model & group handles by application.
It also does some minor refactoring.
Change-Id: Ie1184f75bbe9a2c3818c58d9fa1643791faeee6d
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
Amit Purwar [Thu, 6 Aug 2020 14:29:00 +0000 (19:59 +0530)]
Fix build error in gtest of mesh framework
Change-Id: I0e766ef24be3add9133711386fada395d3f4bdd0
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
Pyun DoHyun [Thu, 6 Aug 2020 05:26:31 +0000 (05:26 +0000)]
Merge "Add Gtest testcase for Network feature of Mesh framework" into tizen
Pyun DoHyun [Thu, 6 Aug 2020 02:27:46 +0000 (02:27 +0000)]
Merge "Add notify_char_changed callback handling logic" into tizen
Wootak Jung [Wed, 5 Aug 2020 07:40:14 +0000 (16:40 +0900)]
Add notify_char_changed callback handling logic
In case fd is acquired, just write on the fd.
so, need to generate callback after write().
Change-Id: Ica4972f447737b381da448173123f4ec21e38f4a
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
DoHyun Pyun [Thu, 6 Aug 2020 01:27:41 +0000 (10:27 +0900)]
Fix the 64bit build error
error: format '%d' expects argument of type 'int', but argument 5 has type 'size_t' {aka 'long unsigned int'} [-Werror=format=]
Change-Id: I8e41f70688269b519261f94ced6891267bf243c6
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Amit Purwar [Fri, 31 Jul 2020 10:13:37 +0000 (15:43 +0530)]
Add Gtest testcase for Network feature of Mesh framework
Change-Id: Ie21a980f5bd246921e6d8a576932d11187e4f591
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
DoHyun Pyun [Mon, 3 Aug 2020 01:20:45 +0000 (10:20 +0900)]
Modify the package version
In order to distinguish the package history as tizen version,
we manage the package version from now.
Change-Id: I3ee6d7db77b1d12046dd7ba98a16b3501c9529a9
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Pyun DoHyun [Mon, 3 Aug 2020 00:50:37 +0000 (00:50 +0000)]
Merge "Mesh: Apply fix in Model Subscripton List CAPI" into tizen
Anupam Roy [Fri, 31 Jul 2020 11:05:10 +0000 (16:35 +0530)]
Mesh: Apply fix in Model Subscripton List CAPI
This patch handles following issues
- Remove double free of Subscription list
- Fix Wrong sync event index for Model List Callback
- Minor code refactoring in Model Subscription List API
Change-Id: I9a6dbf5d34f7ecb387eda7a2868ee788dc4fd215
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
Abhay Agarwal [Fri, 31 Jul 2020 09:32:54 +0000 (15:02 +0530)]
Mesh unit test: Add support for model message communication
Change-Id: I5e3524b19b1f8570821da0437940eea0b18b6547
Signed-off-by: Abhay Agarwal <ay.agarwal@samsung.com>
Abhay Agarwal [Mon, 27 Jul 2020 07:16:10 +0000 (12:46 +0530)]
Mesh: Add API for mesh message communication
This patch introduces an interface which can be used to
send/receive mesh messages originated/received by local node
which needs to be encypted/decrypted using application key.
Change-Id: I2013811ef191a88a6a385ca8ba6dcde2f1f7c8de
Signed-off-by: Abhay Agarwal <ay.agarwal@samsung.com>
Pyun DoHyun [Fri, 31 Jul 2020 02:27:42 +0000 (02:27 +0000)]
Merge "Add offset handling logic in bt_unit_test" into tizen
Anupam Roy [Thu, 30 Jul 2020 10:41:01 +0000 (16:11 +0530)]
Mesh: Fix bug in callback handling
This patch handles following-
- Don't create node handle and send to application
if Remote Node Discovery fails. Node Browsing
is mandatory command to discover remote node composition.
Without remote node composition, node handle
is meaningless. Therefore, send NULL in node handle
incase Node Browsing fails.
- Send Node feature information only when remote node feature
command is successful.
Change-Id: I85c78c89a22cf50cccb321f8d3d7fbeaee20a6ef
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
Anupam Roy [Thu, 30 Jul 2020 05:44:25 +0000 (11:14 +0530)]
Mesh Unit Test: Fix bug in TC usage print logic
Whhen user press ID > valid Menu & < Finish Menu
main menu should be printed
Change-Id: Ic888234c6c0aca079cdba1db93f0ea6c4cabb1c0
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
Anupam Roy [Thu, 30 Jul 2020 05:39:51 +0000 (11:09 +0530)]
Mesh: Refactor Model subscription & foreach API's
This patch refactors following
- Group & Virtual Group subscription API's
- Fix improper handling of element_foreach_models API
Change-Id: Ic229b7c74226255f1811269e3ce3aba5f011c1c2
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
Anupam Roy [Wed, 29 Jul 2020 06:43:30 +0000 (12:13 +0530)]
Mesh: Apply Minor refactoring
Accept user input of group handle instead of
using fixed group
Change-Id: Ifc7b92fb2c3558ca9f6aa5bb882323980e0c97ba
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
Wootak Jung [Thu, 30 Jul 2020 00:33:59 +0000 (09:33 +0900)]
Add offset handling logic in bt_unit_test
Change-Id: I88edf5f20da7123040f783892da25f9e74b7df26
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
Anupam Roy [Wed, 29 Jul 2020 06:39:56 +0000 (12:09 +0530)]
Mesh: Refactor Mesh network group handling logics
This patch handles following
- Add Conf DB removal of group along with CAPI handles
- Refactor Get Network foreach groups
Change-Id: I90ed5afca3d83763d3d81bb6ba8d721022501abe
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
Pyun DoHyun [Mon, 27 Jul 2020 22:43:12 +0000 (22:43 +0000)]
Merge "Mesh: Apply stabilization fixes in CAPI" into tizen
Anupam Roy [Mon, 27 Jul 2020 08:37:48 +0000 (14:07 +0530)]
Mesh: Apply stabilization fixes in CAPI
Some of the notable changes are following-
1. Add 'Model Configure AppKey event handling'
2. Fix bug in fetching model from element
[Fixed wrong handling og GSLists]
3. Apply exception handling in deleting NetKey from a node
[Application crash in case of invalid NetKey handle]
4. Fix bug in handling appkeys bound to a NetKey of a node
[Return AppKey(s) bound to NetKey, instead of reurning ALL AppKeys]
5. Fix application crash due to double free
[Double Free of Model AppKey List items]
Change-Id: Icea2e305d5cd2059b2db35d80aa269b9d547b176
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
Wootak Jung [Mon, 27 Jul 2020 00:54:54 +0000 (09:54 +0900)]
Fix i586 build error
0xff is set 0xffffffff in i586
Change-Id: Ideaf7af5c54d0fbd789d766961d2da342641168a
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
Pyun DoHyun [Fri, 24 Jul 2020 01:01:14 +0000 (01:01 +0000)]
Merge "Add unittest for auto coverage" into tizen
anuj.bhumiya [Thu, 23 Jul 2020 06:03:35 +0000 (11:33 +0530)]
Mesh: Fix the svace issues
Change-Id: I3f7f3d7ac814d8c613838c8d839d2b3df2e2b1dd
Signed-off-by: anuj.bhumiya <anuj.bhumiya@samsung.com>
Wootak Jung [Tue, 16 Jun 2020 08:09:14 +0000 (17:09 +0900)]
Add unittest for auto coverage
Make tests folder and include test and unittest folder
Change-Id: I7f9a9dc72a5d8b4710bf24e55fe0fc11fb197a99
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
Anupam Roy [Sun, 19 Jul 2020 16:19:33 +0000 (21:49 +0530)]
Mesh: Refactor Unit Test application
This patch primarily handles following
- Accepts user inputs for most of the variables
- Code refactoring
- Add few missing API's
TODO:
- Accept User input for network handle
- More code refactoring
- Cleanup
Change-Id: I888c1fceda67c1f6eece775376ef8e13b3dac5da
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
himanshu [Sun, 28 Jun 2020 15:11:31 +0000 (20:41 +0530)]
Mesh: BLE Mesh Unit Test Application
This patch introduces the mesh unit
test application.
Change-Id: I9080e5250fe0e83cb25db54b4defdaa53a382089
Signed-off-by: himanshu <h.himanshu@samsung.com>
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
Anupam Roy [Sun, 28 Jun 2020 14:52:00 +0000 (20:22 +0530)]
Mesh: Add Mesh CAPI event handler
This patch handles Mesh events in CAPI libray
Accordingly, callbacks are invoked to application
Change-Id: I7899086e2dfbdc175f6ce45cfa7e96105e3ad150
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
Anupam Roy [Sun, 28 Jun 2020 14:00:50 +0000 (19:30 +0530)]
Mesh: Implement Mesh CAPI
This patch primarily handles following
- Create Local node & its elements & models
- Create & configure Local Provisioner Network
- Scan & Provision device
- Configure Keys in local Network
- Configure provisioned nodes
- Create & configure Mesh Groups
- Configure Keys in provisioned nodes
TODO:
- Events from mesh service
- Node Reset functionality
Change-Id: I4ccc70a5a904da1e8e2ba62425230b5a87a931b7
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
Wootak Jung [Tue, 7 Jul 2020 02:24:14 +0000 (11:24 +0900)]
Fix input param check logic
value can be NULL in case of response for write request
Change-Id: I553a86747f9661e1a96e8d304e635a0b7cc661b4
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
Wootak Jung [Fri, 3 Jul 2020 04:35:15 +0000 (13:35 +0900)]
Fix document group for gatt connection state cb API
Change-Id: I7a062e2609022535687c8a5e90a587d40a1c4efc
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
injun.yang [Thu, 18 Jun 2020 05:00:05 +0000 (14:00 +0900)]
Fix: multiple gatt server apps send response for read/write request
[Model] All
[BinType] AP
[Customer] OPEN
[Issue#] N/A
[Request] Internal
[Occurrence Version] N/A
[Problem] gatt client receive ATT error for read/write request.
[Cause & Measure] If several gatt server apps is running, all apps send respone.
One of them, send ATT error.
[Checking Method] Multiple gatt server app > read/write request on client
[Team] Convergence BT
[Developer] Injun Yang
[Solution company] Samsung
[Change Type] Specification change
Change-Id: I2a48d70ef988e8a507df407d9100f7b1ccf32251
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
DoHyun Pyun [Tue, 9 Jun 2020 04:36:39 +0000 (13:36 +0900)]
Add the ASLR build option for test apps
Change-Id: I358596a7f181573354b887c55c7dfe4b17f23c55
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Mon, 25 May 2020 01:52:12 +0000 (10:52 +0900)]
Cancel the deprecation for bt_adapter_le_is_discovering
Change-Id: Iac251cf20f52273e9664ef8b2522a87034b38110
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Pyun DoHyun [Mon, 18 May 2020 05:00:55 +0000 (05:00 +0000)]
Merge "Fix ASAN build error" into tizen
DoHyun Pyun [Mon, 18 May 2020 03:58:22 +0000 (12:58 +0900)]
Fix ASAN build error
This patchset resolves 'stringop-truncation' build
error for ASAN
Change-Id: If01bdf1441b15517c52476d047bbc3803ae9c7e1
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Wootak Jung [Wed, 13 May 2020 07:22:57 +0000 (16:22 +0900)]
Add unit TC about profile connected devices
Change-Id: Ia486c849f8519276d81d72562cb53c84ab1427fd
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
Wootak Jung [Tue, 12 May 2020 02:00:46 +0000 (11:00 +0900)]
Fix RegisterApplication fail issue
Need to set server_started flag to false if all of services are removed
Change-Id: I1947f2c08882c15e20731c5d318c6689ae62d077
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
DoHyun Pyun [Thu, 7 May 2020 22:36:38 +0000 (07:36 +0900)]
Revert "Fix service removed event not occur issue"
This reverts commit
5168525fbb7cb1fc6b061c3ec3e06e1163335715.
Change-Id: I4abca5501dcd3eebc19c17d621a134db4ae2a31b
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Wootak Jung [Wed, 6 May 2020 06:28:43 +0000 (15:28 +0900)]
Fix service removed event not occur issue
In case of unregister all services,
service removed event should be occured.
Change-Id: I9cede4d9416e1d3529fccb6a58f9a3225cc38aa2
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
injun.yang [Wed, 29 Apr 2020 10:46:12 +0000 (19:46 +0900)]
Fix the malfunction of gatt write request
[Model] All
[BinType] AP
[Customer] OPEN
[Issue#] P200428-04425
[Request] Internal
[Occurrence Version] N/A
[Problem] Some application call bt_gatt_client_write_value() repeately. (Write req)
If gatt client app call API before callback invoked,
inprogress error is not returned.
[Cause & Measure] ATT is sequential transaction protocol. So return inprogress error
before write completed callback invoked.
[Checking Method] n/a
[Team] Convergence BT
[Developer] Injun Yang
[Solution company] Samsung
[Change Type] Specification change
Change-Id: I76eb97e124a739990d3210c3f3c3fa7354b605f1
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
DoHyun Pyun [Wed, 22 Apr 2020 02:10:05 +0000 (11:10 +0900)]
Remove the incorrect coverage exception
Change-Id: I8a30d6321ab9f81a8409caaad4bdf444fe770657
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Tue, 21 Apr 2020 04:10:16 +0000 (13:10 +0900)]
Fix the incorrect Tx / Rx data size issue
Change-Id: I32f6968301afbdd69aec7f3117677dd39ded94cc
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Tue, 21 Apr 2020 00:47:40 +0000 (09:47 +0900)]
Don't call the write request callback in descriptor
The write method for descriptor is not the fd based.
So bt-service sends the event for write request.
Change-Id: If53b3dd33507aba4cc7190fb3f4413f5801e1830
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Wootak Jung [Mon, 20 Apr 2020 01:03:32 +0000 (01:03 +0000)]
Merge "Fix the latent defects on AddressSanitizer" into tizen
DoHyun Pyun [Thu, 16 Apr 2020 06:57:43 +0000 (15:57 +0900)]
Fix the latent defects on AddressSanitizer
Change-Id: I2be13f59bc166b38037acf3efe0813a4162f7f9a
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Wootak Jung [Thu, 16 Apr 2020 06:49:45 +0000 (15:49 +0900)]
Fix api doxygen for hid device
Change-Id: Ie285c9ddf5f41d41c81fe460b0298b89c4fc01b2
DoHyun Pyun [Fri, 10 Apr 2020 04:56:47 +0000 (13:56 +0900)]
Add the validation check logic
Change-Id: Iccbaa0b5a7e5c67b5fc92549dc7a8841c3338926
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Fri, 10 Apr 2020 00:28:09 +0000 (09:28 +0900)]
Modify the server MTU get API description
Change-Id: I808a6b643c273359c75d7bdb97ab0be8d4c58f29
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Deokhyun Kim [Tue, 7 Apr 2020 05:38:18 +0000 (14:38 +0900)]
Add HfBatteryLevelChanged event
Change-Id: I68f8e008278aeadc5ef3e42f8b6b3f52ab94b086
Signed-off-by: Deokhyun Kim <dukan.kim@samsung.com>
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Wootak Jung [Wed, 1 Apr 2020 07:34:45 +0000 (16:34 +0900)]
Update API reference
bt_adapter_le_add_advertising_service_solicitation_uuid()
bt_socket_create_rfcomm()
Change-Id: I09c77ccb745a1c8d8664b213b2850ac17241d6c1
Deokhyun Kim [Fri, 10 Jan 2020 09:12:15 +0000 (18:12 +0900)]
Add new APIs for GATT data batching
Change-Id: I219ec233d5c99c0992412c058d8a1e51a5e45970
DoHyun Pyun [Tue, 24 Mar 2020 07:22:55 +0000 (16:22 +0900)]
Add the Rx / Tx / idle time in the battery monitor
Change-Id: I3e9370f8f60791aef9d1414c1567a0e94b75f44c
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Wed, 25 Mar 2020 01:30:12 +0000 (10:30 +0900)]
Add the coverage exception code
We can't cover the code working with the remote device
by auto TCT, so except the lines
Change-Id: I026e2f38d1a91cffc09004894550203fdb2e80e7
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Wootak Jung [Tue, 24 Mar 2020 00:46:03 +0000 (09:46 +0900)]
Supplement API reference
bt_adapter_le_add_advertising_service_uuid()
Change-Id: I69f9dda838b8aee5bba4c1175ec2d1b8fb5c4b3a
DoHyun Pyun [Tue, 17 Mar 2020 03:09:15 +0000 (12:09 +0900)]
Support 128 bit uuid's service data in the scan result
Change-Id: Iedc0944be35ab9033bc491204446f2fa90ee2889
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Thu, 12 Mar 2020 06:49:18 +0000 (15:49 +0900)]
Add the spp infinite test
Change-Id: I2e50e5f5e0813d3f9a9610848b83aead5224041c
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Pyun DoHyun [Thu, 12 Mar 2020 07:25:44 +0000 (07:25 +0000)]
Merge "Separate AVRCP callbacks for target & control" into tizen
Deokhyun Kim [Thu, 12 Mar 2020 03:06:43 +0000 (12:06 +0900)]
Separate AVRCP callbacks for target & control
Change-Id: I55afabb350e48df8432ac4347a6c14e7868aa27d
Signed-off-by: Deokhyun Kim <dukan.kim@samsung.com>
DoHyun Pyun [Thu, 5 Mar 2020 00:17:16 +0000 (09:17 +0900)]
Enable speaker and microphone gain change event
Change-Id: If9ca3cede8aecc56efa0119bf9a0e7a1bab66150
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Mon, 24 Feb 2020 05:29:17 +0000 (14:29 +0900)]
Fix the crash in the MTU changed event
Change-Id: I0b8d7c769b4845f592f5dc62066dd22af81c8120
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Thu, 20 Feb 2020 06:43:20 +0000 (15:43 +0900)]
Fix a bug in AVC unit test
Change-Id: If3c4baf10e2b0b7a2099165398e58914beb1741c
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Wed, 19 Feb 2020 06:20:09 +0000 (15:20 +0900)]
Fix the code for AVC mode
Change-Id: I566f6908529fc23c46c3636f68935cf02764c899
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Pyun DoHyun [Mon, 17 Feb 2020 05:23:16 +0000 (05:23 +0000)]
Merge "Fix: gatt write completed callback is not invoked" into tizen
injun.yang [Mon, 17 Feb 2020 02:17:01 +0000 (11:17 +0900)]
Fix: gatt write completed callback is not invoked
[Model] All
[BinType] AP
[Customer] OPEN
[Issue#] N/A
[Request] Internal
[Occurrence Version] N/A
[Problem] bt_gatt_client_request_completed_cb not invoked
[Cause & Measure] After writen data, call callback function
[Checking Method] gatt write command not write request
[Team] Convergence BT
[Developer] Injun Yang
[Solution company] Samsung
[Change Type] Specification change
Change-Id: I4a6d41eb447a8985a242d4391d69207da81294a8
DoHyun Pyun [Fri, 14 Feb 2020 06:10:13 +0000 (15:10 +0900)]
Add interfaces for BT AVC feature (AVRCP Target)
Change-Id: I648968c4642b6ce4edf06aab4cb6a40150d10570
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
eson [Fri, 14 Feb 2020 02:06:57 +0000 (11:06 +0900)]
Code clean up
Remove unused variable and code
Change-Id: I67119d3d02f8153661aca95aa6893e8aa03e72ae
Pyun DoHyun [Fri, 14 Feb 2020 00:03:34 +0000 (00:03 +0000)]
Merge "Resolve coverty issue branch_past_initialization" into tizen
Pyun DoHyun [Fri, 14 Feb 2020 00:03:29 +0000 (00:03 +0000)]
Merge "Resolve coverty issue alloc free mismatch" into tizen
Sudipto [Thu, 13 Feb 2020 13:59:35 +0000 (19:29 +0530)]
Resolve coverty issue branch_past_initialization
Change-Id: I4b7937e3d16c40539896590f08ff09c055566b96
Signed-off-by: Sudipto <sudipto.bal@samsung.com>
Sudipto [Thu, 13 Feb 2020 13:58:54 +0000 (19:28 +0530)]
Resolve coverty issue alloc free mismatch
Change-Id: I0cad0fb988f2d93b81f4d9b6d38c6cdbd5d66536
Signed-off-by: Sudipto <sudipto.bal@samsung.com>
himanshu [Thu, 13 Feb 2020 13:44:58 +0000 (19:14 +0530)]
Fix coverity issue: declaration hides parameter
The data used in the BT_UNIT_TEST_FUNCTION_ADAPTER_READ_BATTERY_INFO
test case conflicts with the declared parameter "data" in the
test_input_callback function.
Change-Id: I51f80732880b631995c4fa3bc52ae390d13d8fc2
Signed-off-by: himanshu <h.himanshu@samsung.com>
himanshu [Thu, 13 Feb 2020 13:06:32 +0000 (18:36 +0530)]
Fix coverity issue: Incorrect deallocator used
The client_s structure is allocated with
g_malloc0 therefore it must be freed with
g_free.
Change-Id: I12565ab60228c2828c3b9effcfc7c7c8694d2c64
Signed-off-by: himanshu <h.himanshu@samsung.com>
eson [Wed, 12 Feb 2020 03:14:43 +0000 (12:14 +0900)]
Add defines for function key values of keyboard
Add key values of keyboard for TV volume and chennel and arrow control.
Change-Id: I0baa9b0255d69a236dafae59bbeb743f9f2963a1
himanshu [Fri, 7 Feb 2020 12:00:27 +0000 (17:30 +0530)]
Include bt_device_get_id_address API header
Change-Id: I82a4352c52cb5310b173e07bafde82e9c25c9891
Signed-off-by: himanshu <h.himanshu@samsung.com>
Pyun DoHyun [Fri, 7 Feb 2020 05:57:34 +0000 (05:57 +0000)]
Merge changes Ib8d9db7a,I7b1ea4af,If771281f,I27ca2b3b into tizen
* changes:
Add service added event handling logic
Add service removed event handling logic
Add service update logic in service removed case
Modify GATT Service changed event handling logic
Wootak Jung [Fri, 7 Feb 2020 04:38:10 +0000 (13:38 +0900)]
Add service added event handling logic
Change-Id: Ib8d9db7a66ed7e286353dfc6eaa65f3cf66759e0
Wootak Jung [Thu, 6 Feb 2020 06:24:27 +0000 (15:24 +0900)]
Add service removed event handling logic
Change-Id: I7b1ea4afb118393277b7ecbe5a1de2151aae4676
Wootak Jung [Fri, 27 Dec 2019 01:31:01 +0000 (10:31 +0900)]
Add service update logic in service removed case
Change-Id: If771281f84a4a6d3dca4cedc63a00772f4e27247
Wootak Jung [Mon, 23 Dec 2019 05:29:36 +0000 (14:29 +0900)]
Modify GATT Service changed event handling logic
Change-Id: I27ca2b3b20cc0007795be80e0741ea4013fbe703
Semun Lee [Fri, 7 Feb 2020 01:36:26 +0000 (10:36 +0900)]
Fix wront memory references and leaks
Issues was reported by a static analyzer
Change-Id: I5cb0a6e01b0a0bb6d70bd3edb7bb5bf0193f63b8
Signed-off-by: Semun Lee <semun.lee@samsung.com>
injun.yang [Thu, 23 Jan 2020 06:16:41 +0000 (15:16 +0900)]
Code clean up
Change-Id: I6e9e7425e7e3cddb8ab0d014dce15aa7a6cb3da0
Signed-off-by: injun.yang <injun.yang@samsung.com>
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Pyun DoHyun [Wed, 29 Jan 2020 03:35:59 +0000 (03:35 +0000)]
Merge "Add test for device profile trust" into tizen
Anupam Roy [Thu, 23 Jan 2020 08:05:01 +0000 (17:05 +0900)]
Add test for device profile trust
This patch will enable/disable trust for
HFP HF and A2DP SINK profiles(for remote device)
Change-Id: I42fcb1ff65c7d0412f23868c61e014c564e464ec
Signed-off-by: Anupam Roy <anupam.r@samsung.com>
Semun Lee [Wed, 29 Jan 2020 01:05:44 +0000 (10:05 +0900)]
Fix integer underflow for signed/unsigned conversion
Change-Id: I491df014536346147252db49d2bca959e0937bdf
Signed-off-by: Semun Lee <semun.lee@samsung.com>
Deokhyun Kim [Thu, 2 Jan 2020 06:12:23 +0000 (15:12 +0900)]
Apply the ACR result
Change-Id: If1f3a52a9a7ff5cf5e316c655d0141ae5ab37b15
Signed-off-by: Deokhyun Kim <dukan.kim@samsung.com>
Amit Purwar [Thu, 26 Dec 2019 09:21:35 +0000 (14:51 +0530)]
Fix BT_ERR log msg and strncpy build error
Change-Id: Icf1ece9e60678c01ab6c178d3f300318cc921f3a
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
DoHyun Pyun [Tue, 24 Dec 2019 02:34:24 +0000 (11:34 +0900)]
Fix 64bit build error
Change-Id: I9684ef25fe4aab33e55d811aa52430ed52c87ee8
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
Pyun DoHyun [Tue, 24 Dec 2019 02:26:40 +0000 (02:26 +0000)]
Merge "Support TV initiate pairing and connection" into tizen
Pyun DoHyun [Mon, 23 Dec 2019 22:46:37 +0000 (22:46 +0000)]
Merge "Get RSSI when link loss occurs" into tizen
Deokhyun Kim [Mon, 23 Dec 2019 07:28:31 +0000 (16:28 +0900)]
Get RSSI when link loss occurs
Change-Id: I71fbd0106e9443178293af6b849ecb2ce28ab65b
Signed-off-by: Deokhyun Kim <dukan.kim@samsung.com>
DoHyun Pyun [Mon, 23 Dec 2019 09:43:11 +0000 (18:43 +0900)]
Support TV initiate pairing and connection
The keyboard will be connected as the normal keyboard
type, and send the normal key event
Change-Id: I08b83f74eb979084f0c041d4beb02296ffbf69ca
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
DoHyun Pyun [Fri, 20 Dec 2019 05:04:42 +0000 (14:04 +0900)]
Add the log for local BT address
Change-Id: I9811e8a08d6beaec353a02769e60686977effc39
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>