Jihoon Jung [Thu, 18 Nov 2021 01:02:50 +0000 (10:02 +0900)]
Fix build error for glib version upgrade
- gio.h causes "template with C linkage" error
Change-Id: Ic11b1bba0d0fe8755dfa9ea16fa3442a4ef44446
Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
Jung Jihoon [Mon, 19 Aug 2019 11:10:06 +0000 (20:10 +0900)]
Fix Svace & coverty issues
- Svace : 317229, 372690 DEREF_OF_NULL
- Coverity : 1043621, 1043616, 1043593, 1043590 Reasource leak
Change-Id: I1a48df4605fb8d48d74e40eb4f4e47ff711ffec1
Signed-off-by: Jung Jihoon <jh8801.jung@samsung.com>
Jung Jihoon [Mon, 12 Aug 2019 07:40:14 +0000 (16:40 +0900)]
Add command hash table for deallocate memory properly
Change-Id: I436449a5845273b3953a0eecfbb2071dd7ce3fef
Signed-off-by: Jung Jihoon <jh8801.jung@samsung.com>
saerome kim [Thu, 18 Jul 2019 05:32:38 +0000 (05:32 +0000)]
Merge "Fix Coverity issues" into tizen
Jung Jihoon [Tue, 9 Jul 2019 11:05:20 +0000 (20:05 +0900)]
Fix Coverity issues
- Resource leaks: 1043630 1043626 1043610 1043604 1043598 1043592 1043591
- Logically dead code : 1053894
- Unchecked return value : 1043631 1043595
Change-Id: I7f42b0112ee5fb233805658cfac3987aaf68e182
Signed-off-by: Jung Jihoon <jh8801.jung@samsung.com>
INSUN PYO [Mon, 8 Jul 2019 10:21:16 +0000 (19:21 +0900)]
Delete meaningless configuration
Change-Id: I164b24e713087e37494dc67477fb864c1e8f418c
Jung Jihoon [Tue, 25 Jun 2019 04:46:24 +0000 (13:46 +0900)]
Change service file for On demand daemon
Change-Id: I32f593c39c42911616a502c6110d867cd952df4a
Signed-off-by: Jung Jihoon <jh8801.jung@samsung.com>
Jung Jihoon [Wed, 19 Jun 2019 09:20:58 +0000 (18:20 +0900)]
Change to simple type daemon for booting time
Change-Id: I4f53d1001769cbf5d02d678941341b2d92eac5df
Signed-off-by: Jung Jihoon <jh8801.jung@samsung.com>
Jung Jihoon [Wed, 19 Jun 2019 08:07:56 +0000 (17:07 +0900)]
Remove unused function
Change-Id: I606cfb5d1a706040749b2bb1f119d9eebc2fa3fe
Signed-off-by: Jung Jihoon <jh8801.jung@samsung.com>
Jihoon Jung [Thu, 13 Jun 2019 05:31:58 +0000 (14:31 +0900)]
Change booting sequence
Change-Id: I37313d80dbea48d7f11d728d43ef9d38d09d91b6
Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
saerome kim [Fri, 10 May 2019 05:08:41 +0000 (14:08 +0900)]
Fixed svace issue
- 313737: Fixed memory leak of missing freeing.
- 319198, 321029: we change whenever we call the GET function,
the Callback must be called, and it is modified to release
the allocated memory at all times.
- 372686, 372690: Added memory allocation function.
Change-Id: I9a1fcbba5ed8f149e93e6b3c96c1140dd36a1618
Signed-off-by: saerome kim <saerome.kim@samsung.com>
Jihoon Jung [Tue, 16 Apr 2019 05:55:43 +0000 (14:55 +0900)]
Fix dbus policy
Change-Id: Ie0d12b6d21771a184b605a485d8ad1aa4067b633
Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
Jihoon Jung [Wed, 27 Feb 2019 08:34:54 +0000 (17:34 +0900)]
Implmemented 'channel open' method and removed file transfer function.
after applied this patch, client app will create 'End-Point' and can
transmit files throuth the 'End-Point'.
Change-Id: Id8daa6da1fe783cbacccbc38a1eaf0a6cd9a189d
Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
saerome kim [Mon, 8 Apr 2019 01:04:40 +0000 (10:04 +0900)]
Fixed build error due to unsupported feature.
- MCD does not support MULTIPLE_OWNER in iotivity project.
Therefore, mdg-manager can discern whether iotivity support
MULTIPLE_OWNER or not.
- Added missing 'CMAKE_CXXFLAGS'.
- Fixed intent issues.
Change-Id: If73ec3a1254a12b76fe44803fceae40c5c23249b
Signed-off-by: saerome kim <saerome.kim@samsung.com>
Jihoon Jung [Mon, 18 Feb 2019 02:24:40 +0000 (11:24 +0900)]
Fix svace issues
- 410071: fixed memory leak problem due to dynamic allocated 'devices'
- 410077: fixed memory leak that is not freed because the dynamic
allocated 'cmd' variable is called through multiple callback function.
- 410083: fixed memory leak that do not free 'uuid_str' variable which
allocated by g_strdup().
- 410084: fixed a problem that does not free the variables allocated to
heap during mdgd_iot_initialize() when calling mdgd_iot_deinitialize()
Change-Id: I88e824bac894ae2f51c8310109d1242c36737c70
Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
saerome.kim [Fri, 1 Feb 2019 02:19:29 +0000 (11:19 +0900)]
Temporarlly remove private iotivity packages.
Change-Id: Ib7710f9490eae0af27a03809682f8bff813d4482
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
saerome.kim [Thu, 31 Jan 2019 10:26:20 +0000 (19:26 +0900)]
applied missing ASLR option
Change-Id: I98c25b29130d709167612e1a3b2826d33c127314
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
saerome.kim [Thu, 31 Jan 2019 07:14:38 +0000 (16:14 +0900)]
Fixed build erorrs for 64bit architecture
Change-Id: I70421d714d39654fd58d777cdb3c2104c99bcd90
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
saerome.kim [Thu, 31 Jan 2019 06:31:36 +0000 (15:31 +0900)]
Fixed build errors
Change-Id: I26b0e508a06ae7f34e92a5bda25c5c463d384af3
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
saerome.kim [Mon, 3 Dec 2018 01:11:11 +0000 (10:11 +0900)]
Fixed SATIZENVUL-1583
- Possible stack overflow - core/connectivity/mdg-manager
Change-Id: Ia2e7566ffa64bda325002d117ae9ddeccbb4d63f
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
Jihoon Jung [Fri, 19 Oct 2018 00:04:42 +0000 (09:04 +0900)]
Fixed security issues from SSMS
Change-Id: I7bb6e161b08b20c4861c0c434c046160e2e51a6d
Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
Jihoon Jung [Thu, 18 Oct 2018 22:55:19 +0000 (07:55 +0900)]
Fix coverity issue
Change-Id: I7c52d8fee5c9345022f4f2399b07e1296188a969
Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
Jihoon Jung [Mon, 15 Oct 2018 05:29:02 +0000 (14:29 +0900)]
Fix svace issue
Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
Change-Id: Ie62f624e50462727ab0a373b44682fa2372a042c
saerome.kim [Fri, 12 Oct 2018 02:20:53 +0000 (11:20 +0900)]
Fixed crash issue
Fixed a problem that caused by casting double pointer.
Change-Id: I6c6c30412aa739943611c32a22bdef2a8fe5ad65
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
saerome.kim [Thu, 11 Oct 2018 11:34:58 +0000 (20:34 +0900)]
Fixed crash issue.
There is double pointer reference by adding unnecessary & operation
in casting operation
Change-Id: Ia932f38b7e377c1c8b4343dd74a59eaad5c761f9
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
Daehyeon Jung [Thu, 4 Oct 2018 11:43:31 +0000 (20:43 +0900)]
Fix build error
Change-Id: Ica9fcde65d0dabfafd311e64a295b200fdd4b806
Signed-off-by: Daehyeon Jung <darrenh.jung@samsung.com>
Jihoon Jung [Thu, 4 Oct 2018 07:53:28 +0000 (16:53 +0900)]
apply indentation
Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
Jihoon Jung [Wed, 12 Sep 2018 06:42:38 +0000 (15:42 +0900)]
Removed mot agent & pairwise impl.
Change-Id: I6c5edff74af661583e7755ab7510d85426523457
Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
saerome.kim [Wed, 12 Sep 2018 02:53:28 +0000 (11:53 +0900)]
Remove write permission of systemd dbus conf. file from group/others.
Change-Id: I1d4da3e6400547efde78ab84e43350180154b409
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
saerome.kim [Tue, 11 Sep 2018 23:47:52 +0000 (08:47 +0900)]
Update iotivity rpms
- Revert giving DELETE permission to subowner in CheckPermission()
Change-Id: I88f8b938bce4fc35acd5b35f026c391a6d22fa4e
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
Jihoon Jung [Tue, 4 Sep 2018 02:05:09 +0000 (11:05 +0900)]
Updated Invite / Eject operation for Tizen public iotivity
Even we modify Invite/Eject operation, unless developing provisionACL/CRED and Pairwise APIs done,
we have to use private iotivity in locally.
Change-Id: I543b087e72da5b6a767b32966aa5261d48c9ccda
Abhishek Sansanwal [Mon, 3 Sep 2018 05:24:58 +0000 (10:54 +0530)]
Add RPATH to CMakeLists to search for shared libraries in specified path first
Description: Add RPATH flags to cmake to make it so that
the path "/opt/usr/data/network/lib" is searched for the
shared libraries before "/lib" or "/usr/lib". This is
being done to make sure that mdg will load its own
iotivity libraries if the specified RPATH has the
shared libraries being searched by the loader.
Signed-off-by: Abhishek Sansanwal <abhishek.s94@samsung.com>
Change-Id: I42e3e2826f3dadac4f5511c09ec47529a4cf526b
Jihoon Jung [Wed, 29 Aug 2018 06:33:49 +0000 (15:33 +0900)]
Add set preconfigured pin
Change-Id: I2b3679912a99a5be10903aa61e9151b87300ddec
Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
Saurav Babu [Wed, 22 Aug 2018 07:27:46 +0000 (12:57 +0530)]
mdgd: Send group information as vector of strings in GET Request
Change-Id: I518a2841a34d5e896e91caa2167c9196c07750e5
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
saerome.kim [Mon, 13 Aug 2018 11:43:58 +0000 (20:43 +0900)]
Fixed wrong log text message.
Change-Id: I784664218b01cf76b8e11ad1cd92f9d5964645ea
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
saerome.kim [Fri, 10 Aug 2018 00:58:31 +0000 (09:58 +0900)]
Added eownerid before ACL provisioning.
Before ACL provisioning, eownerid is needed.
Without eownerid, ACL provisioning always fails.
Change-Id: I4abcaa576de62e5b55e48f8cf6d3d2a58018b814
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
Jihoon Jung [Thu, 9 Aug 2018 08:29:05 +0000 (17:29 +0900)]
Add set invited / ejected event cb
Change-Id: Ide999e75e4fe2d1b45d820e50805ba609191a62d
Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
Jihoon Jung [Wed, 8 Aug 2018 08:23:00 +0000 (17:23 +0900)]
Add send response API
Change-Id: I17749ba3df0b075258125b2f63f90d4e9c23018d
Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
Jihoon Jung [Fri, 3 Aug 2018 08:34:38 +0000 (17:34 +0900)]
Add check lazymount
Change-Id: If1421db94057be9ec46c7e2483509c56f10a2b50
Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
Jihoon Jung [Thu, 2 Aug 2018 07:36:18 +0000 (16:36 +0900)]
Fix wrong operation for group research
Change-Id: I9e72f6be12c72db324b22594238ed463706b738d
Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
Jihoon Jung [Wed, 1 Aug 2018 04:02:56 +0000 (13:02 +0900)]
Remove address information
Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
Change-Id: I32073abe940824e62d13a4d0cb49c2b7b6d4f413
Jihoon Jung [Thu, 26 Jul 2018 10:45:24 +0000 (19:45 +0900)]
Add dbus conf file for mot agent and mdg manager
Change-Id: I409ea87890420c58e2824865a1a5c2fb797e6fd3
Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
Jihoon Jung [Thu, 26 Jul 2018 09:21:48 +0000 (18:21 +0900)]
Add send file impl
Change-Id: I20bf80b126d85e9a4f3400655a4f5e5e333797e5
Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
Jihoon Jung [Wed, 25 Jul 2018 08:25:49 +0000 (17:25 +0900)]
Add foreach device in group API
Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
Change-Id: I322aefb47b95a401b584d34fd44b06c54380d2ad
Jihoon Jung [Tue, 24 Jul 2018 06:01:22 +0000 (15:01 +0900)]
Skip mot enabled device when the device already invited to local device
Change-Id: I65b2c375b841f43c497ab1883f92dd63d016215b
Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
Jihoon Jung [Thu, 19 Jul 2018 06:39:23 +0000 (15:39 +0900)]
add file transfer impl (Not reliable)
Change-Id: Ib39aeb0ad1c0a976a8da9f58be116e37008f6c49
Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
Jihoon Jung [Tue, 3 Jul 2018 06:26:49 +0000 (15:26 +0900)]
Apply coding rule
Change-Id: I4cef3cf8bb7bff602b601ede1c5325e6510c45d2
Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
saerome.kim [Tue, 3 Jul 2018 01:46:17 +0000 (10:46 +0900)]
Reslove merge confilct issue.
Modification of the "merge confilt" problem caused by the combination of
github temporal git and public 'mdg-manager' git.
Change-Id: Ia6cc69f0bb8f80bf772912da4467ebacc6f916ff
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
saerome.kim [Tue, 3 Jul 2018 01:39:18 +0000 (10:39 +0900)]
Fixed typo
- remove twice 'remove' prefix.
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
Jihoon Jung [Fri, 29 Jun 2018 08:00:35 +0000 (17:00 +0900)]
Add mdgd send data using channel id
Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
Jihoon Jung [Thu, 28 Jun 2018 10:25:41 +0000 (19:25 +0900)]
Add req channel list function
Jihoon Jung [Thu, 28 Jun 2018 09:11:43 +0000 (18:11 +0900)]
Add sender implemntation
Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
Jihoon Jung [Tue, 26 Jun 2018 11:05:13 +0000 (20:05 +0900)]
change the mdg framework
Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
saerome.kim [Mon, 28 May 2018 08:03:18 +0000 (17:03 +0900)]
mot-agent: fixed crash issue
About 10 hours aging test, we found 1 crash issue.
In the same case that thread does not die even wait time elasped,
so change margin time from 5 seconds to 10 seconds.
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
saerome.kim [Fri, 25 May 2018 11:55:25 +0000 (20:55 +0900)]
mot-agent: fixed crash due to unhandled response callback at CA layer.
OCMultipleOwnershipTransfer(), OCProvisionPairwiseDevices() and OCDelete
DeviceUUID() and etc use a 'wait time'. But if API caller calls OCCleanupForTimeout
before wait time, the callback function called from CA already became null.
There is a problem that the thread does not die.
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
saerome.kim [Thu, 17 May 2018 01:54:34 +0000 (10:54 +0900)]
Fix potential memory leak
- release async queue when it has items.
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
saerome.kim [Wed, 9 May 2018 11:28:07 +0000 (20:28 +0900)]
Fixed a bug that comparing device handle to null.
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
saerome.kim [Wed, 9 May 2018 10:37:39 +0000 (19:37 +0900)]
Fixed svace issues.
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
Saurav Babu [Wed, 9 May 2018 03:06:37 +0000 (08:36 +0530)]
mdgd: Eject devices before destroying group
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
Saurav Babu [Mon, 7 May 2018 09:04:58 +0000 (14:34 +0530)]
mdgd: Remove group from found group list after it is destroyed
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
Saurav Babu [Mon, 7 May 2018 06:40:23 +0000 (12:10 +0530)]
mdgd: Add dbus method to delete created group
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
Saurav Babu [Mon, 7 May 2018 06:38:30 +0000 (12:08 +0530)]
mdgd: Corrected sqlite3 select command
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
Saurav Babu [Fri, 4 May 2018 07:38:07 +0000 (13:08 +0530)]
mdgd: Return no error when get found groups is successful
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
Saurav Babu [Fri, 4 May 2018 05:04:42 +0000 (10:34 +0530)]
mdgd: Store resource handle of registered resources
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
saerome.kim [Fri, 4 May 2018 02:09:25 +0000 (11:09 +0900)]
Seperate the CAPI packgage
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
saerome.kim [Mon, 30 Apr 2018 10:55:41 +0000 (19:55 +0900)]
test: fixed accumulated group resource when we calld 'find group' more
than one.
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
saerome.kim [Fri, 27 Apr 2018 02:28:42 +0000 (11:28 +0900)]
Add a routine to check if it is stored in the DB before the invite /
eject execution.
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
Jihoon Jung [Thu, 26 Apr 2018 07:43:02 +0000 (16:43 +0900)]
Add mdgd_check_device_exist impl
Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
saerome.kim [Thu, 26 Apr 2018 06:10:22 +0000 (15:10 +0900)]
mdg-manager: translate IoTivity error message for CAPI
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
Jihoon Jung [Thu, 26 Apr 2018 05:21:00 +0000 (14:21 +0900)]
Add daemon recovery when daemon is reboot impl
Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
saerome.kim [Thu, 26 Apr 2018 04:26:55 +0000 (13:26 +0900)]
mdg-manager: remove routine that returns unknown_error when coundn't
find any device.
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
saerome.kim [Wed, 25 Apr 2018 12:27:40 +0000 (21:27 +0900)]
added error handling routine.
- added printing error message
- added recovery logic when mot-agent dies
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
saerome.kim [Wed, 25 Apr 2018 11:20:57 +0000 (20:20 +0900)]
unified the seperated error code into one
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
saerome.kim [Wed, 25 Apr 2018 07:51:56 +0000 (16:51 +0900)]
mot-agent: fixed crash issue due to emitting signal during worker thread
operation.
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
saerome.kim [Tue, 24 Apr 2018 08:20:56 +0000 (17:20 +0900)]
Fixed svace issues
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
saerome.kim [Tue, 24 Apr 2018 06:24:24 +0000 (15:24 +0900)]
Fixed problem that not to find peers in the network
Unless applying this patch, it is not impossible to find peers in the
network due to the wrong comparison method.
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
saerome.kim [Mon, 23 Apr 2018 11:48:34 +0000 (20:48 +0900)]
Change prefix from 'companion' to 'mdg'
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
Saurav Babu [Fri, 20 Apr 2018 06:03:16 +0000 (11:33 +0530)]
capi: Register device monitor result callback
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
Saurav Babu [Fri, 20 Apr 2018 04:52:02 +0000 (10:22 +0530)]
demo: Added test code for device monitoring
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
Saurav Babu [Fri, 20 Apr 2018 04:50:34 +0000 (10:20 +0530)]
capi: Added new CAPI to start/stop device monitor
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
Saurav Babu [Fri, 20 Apr 2018 04:49:04 +0000 (10:19 +0530)]
comp-manager: Add dbus method to start/stop device monitor
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
Saurav Babu [Thu, 19 Apr 2018 09:21:32 +0000 (14:51 +0530)]
comp-manager: Monitor Invited device
This patch adds new method to start monitoring invited device and sends
signal when device state changes
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
Jihoon Jung [Thu, 19 Apr 2018 08:17:42 +0000 (17:17 +0900)]
Add Peer Description discovery implemntation
Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
Saurav Babu [Wed, 18 Apr 2018 14:02:05 +0000 (19:32 +0530)]
comp-manager: Send KeepAlive message after device invite is done
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
Saurav Babu [Fri, 13 Apr 2018 11:05:38 +0000 (16:35 +0530)]
comp-manager: Fixed glib warnings and memory corruptions
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
Saurav Babu [Thu, 12 Apr 2018 11:42:17 +0000 (17:12 +0530)]
Fixed memory leaks
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
Saurav Babu [Thu, 12 Apr 2018 10:49:09 +0000 (16:19 +0530)]
comp-manager: Don't update device ip pointer
strtok updates the pointer which is passed so use a copy to pass to
strtok
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
saerome.kim [Wed, 11 Apr 2018 12:39:09 +0000 (21:39 +0900)]
comp-manager: make comp_is_local_ip() function uses both IPv6 and IPv6 when comparing.
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
saerome.kim [Wed, 11 Apr 2018 12:11:37 +0000 (21:11 +0900)]
d2d-manager: remove unnecessary timer callback which causes mot-agent crash
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
saerome.kim [Wed, 11 Apr 2018 11:35:17 +0000 (20:35 +0900)]
Fixed a bug that wrong IP information is used in comp_compare_ip_and_ifname()
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
saerome.kim [Wed, 11 Apr 2018 10:56:36 +0000 (19:56 +0900)]
Modified to distinguish local and remote devices using IP information
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
Saurav Babu [Wed, 11 Apr 2018 09:23:25 +0000 (14:53 +0530)]
demo: Send/Receive buffered data
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
Saurav Babu [Wed, 11 Apr 2018 09:22:18 +0000 (14:52 +0530)]
capi: Send data as array of bytes instead of string
Application might be sending buffered data so this patch sends data as
array of bytes instead of string
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
Saurav Babu [Wed, 11 Apr 2018 09:19:01 +0000 (14:49 +0530)]
comp-manger: Send/Receive buffered data instead of string
Application can send buffered data with length, sending it as string
incomplete data would be received. This patch sends data as string after
encoding it to Base64 and on receiver side decodes it before providing
data to upper layer
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
Saurav Babu [Wed, 11 Apr 2018 09:17:43 +0000 (14:47 +0530)]
Enable Base64 encoding support
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
Saurav Babu [Tue, 10 Apr 2018 12:39:27 +0000 (18:09 +0530)]
capi: Fixed random crashes due to device_type initialized with 0
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
saerome.kim [Tue, 10 Apr 2018 04:58:33 +0000 (13:58 +0900)]
capi: change APIs relevant devices
-companion_device_get_my_uuid -> copanion_device_information_get_my_uuid
-companion_device_get_my_device -> companion_device_informaion_get_my_device
-change device_type from char* to enumeration value
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
Saurav Babu [Fri, 6 Apr 2018 07:27:07 +0000 (12:57 +0530)]
demo: Receive requester device id in receive_request_result
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
Saurav Babu [Fri, 6 Apr 2018 07:26:25 +0000 (12:56 +0530)]
capi: Add requester device id in companion_request_result_cb
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
Saurav Babu [Fri, 6 Apr 2018 07:22:04 +0000 (12:52 +0530)]
comp-manager: Add requester uuid when sending data to remote device
This patch also notifies requester uuid to upper layer in request
result notification
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>