platform/core/api/multi-device-group.git
6 years agomot-agent: make mot-agent return 'device busy error' when discovring MOT devices.
saerome.kim [Tue, 6 Feb 2018 09:10:01 +0000 (18:10 +0900)]
mot-agent: make mot-agent return 'device busy error' when discovring MOT devices.

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agomot-agent: replace usleep with nanosleep
saerome.kim [Mon, 5 Feb 2018 12:44:04 +0000 (21:44 +0900)]
mot-agent: replace usleep with nanosleep

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agocomp-manager: Remove device discovery retry from companion-manager
Saurav Babu [Mon, 5 Feb 2018 04:54:40 +0000 (10:24 +0530)]
comp-manager: Remove device discovery retry from companion-manager

Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
6 years agocomp-manager: Reset retry count when device discovery is in progress
Saurav Babu [Fri, 2 Feb 2018 04:31:19 +0000 (10:01 +0530)]
comp-manager: Reset retry count when device discovery is in progress

Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
6 years agodemo: Append only new devices to found_device_list
Saurav Babu [Thu, 1 Feb 2018 12:33:36 +0000 (18:03 +0530)]
demo: Append only new devices to found_device_list

Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
6 years agocomp-manager: Add logic to retry device discovery
Saurav Babu [Thu, 1 Feb 2018 12:32:12 +0000 (18:02 +0530)]
comp-manager: Add logic to retry device discovery

This patch retries device discovery after 100ms for 20 tries

Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
6 years agomot-agent: Remove mot device list before discovering
Saurav Babu [Thu, 1 Feb 2018 12:30:33 +0000 (18:00 +0530)]
mot-agent: Remove mot device list before discovering

This patch also removes checking of pending call to OCF method when
discovering mot enabled devices and my owned devices

Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
6 years agoetc: remove unnecessary files
saerome.kim [Thu, 1 Feb 2018 04:51:53 +0000 (13:51 +0900)]
etc: remove unnecessary files

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agodemo: make 'send_data' functionality use MOT enabled devices list
saerome.kim [Thu, 1 Feb 2018 04:32:28 +0000 (13:32 +0900)]
demo: make 'send_data' functionality use MOT enabled devices list

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agomot-agent: replace nonosleep with usleep to prevent crash
saerome.kim [Thu, 1 Feb 2018 04:14:31 +0000 (13:14 +0900)]
mot-agent: replace nonosleep with usleep to prevent crash

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agomot-agent: fix waiting time as 100ms
saerome.kim [Thu, 1 Feb 2018 02:34:38 +0000 (11:34 +0900)]
mot-agent: fix waiting time as 100ms

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agomot-agent: add mutex at every APIs which goes to CA layer
saerome.kim [Wed, 31 Jan 2018 08:27:19 +0000 (17:27 +0900)]
mot-agent: add mutex at every APIs which goes to CA layer

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agodemo: change message color from remote devices
saerome.kim [Wed, 31 Jan 2018 08:26:42 +0000 (17:26 +0900)]
demo: change message color from remote devices

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agoinstall: Add GBS Root as command line argument
Saurav Babu [Wed, 31 Jan 2018 04:58:44 +0000 (10:28 +0530)]
install: Add GBS Root as command line argument

Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
6 years agodemo: replace new line character with carriage return
saerome.kim [Wed, 31 Jan 2018 04:12:26 +0000 (13:12 +0900)]
demo: replace new line character with carriage return

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agocomp-manager: Fixed issue with group dismiss in COMP_REQ_EJECT_DEVICE command
Saurav Babu [Wed, 31 Jan 2018 03:35:13 +0000 (09:05 +0530)]
comp-manager: Fixed issue with group dismiss in COMP_REQ_EJECT_DEVICE command

Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
6 years agocomp-manager: modify item be added from the last when using glist
saerome.kim [Wed, 31 Jan 2018 02:11:28 +0000 (11:11 +0900)]
comp-manager: modify item be added from the last when using glist

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agoetc: update install.sh to support multi modalities
saerome.kim [Wed, 31 Jan 2018 00:13:34 +0000 (09:13 +0900)]
etc: update install.sh to support multi modalities

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agoAdd temp fix for limit cmd length
Jihoon Jung [Tue, 30 Jan 2018 10:32:58 +0000 (19:32 +0900)]
Add temp fix for limit cmd length

Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
6 years agoiotcon: add iotcon package for debugging
saerome.kim [Tue, 30 Jan 2018 10:01:50 +0000 (19:01 +0900)]
iotcon: add iotcon package for debugging

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agocomp-manager: remove red-color log even they are not regarded as errors
saerome.kim [Tue, 30 Jan 2018 07:02:58 +0000 (16:02 +0900)]
comp-manager: remove red-color log even they are not regarded as errors
mot-agent: make user-defined timeout value be applied during discovery

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agomisc: remove build warning message
saerome.kim [Tue, 30 Jan 2018 05:09:31 +0000 (14:09 +0900)]
misc: remove build warning message

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agocomp-manager: modify send-data functionality
saerome.kim [Tue, 30 Jan 2018 05:03:23 +0000 (14:03 +0900)]
comp-manager: modify send-data functionality

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agocomp-manager: Use enum instead of string for commands
Saurav Babu [Tue, 30 Jan 2018 03:55:32 +0000 (09:25 +0530)]
comp-manager: Use enum instead of string for commands

Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
6 years agocomp-manager: add comment to explain query can't b consist of BASE64 format
saerome.kim [Tue, 30 Jan 2018 01:13:52 +0000 (10:13 +0900)]
comp-manager: add comment to explain query can't b consist of BASE64 format

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agocomp-manager: fix crash issue when receiving GET request from remote
saerome.kim [Mon, 29 Jan 2018 12:59:56 +0000 (21:59 +0900)]
comp-manager: fix crash issue when receiving GET request from remote
devices

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agocomp-manager: fix issue that timeout is not applied.
saerome.kim [Mon, 29 Jan 2018 12:52:31 +0000 (21:52 +0900)]
comp-manager: fix issue that timeout is not applied.

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agocomp-manager: change send_data method as unicast like 'find group'
saerome.kim [Mon, 29 Jan 2018 09:10:20 +0000 (18:10 +0900)]
comp-manager: change send_data method as unicast like 'find group'

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agomot-agent: change log level which is regarded errors even it is to show info.
saerome.kim [Mon, 29 Jan 2018 08:42:00 +0000 (17:42 +0900)]
mot-agent: change log level which is regarded errors even it is to show info.

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agocomp-manager: Update Send Data command to 5
Saurav Babu [Mon, 29 Jan 2018 04:56:30 +0000 (10:26 +0530)]
comp-manager: Update Send Data command to 5

Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
6 years agocomp-manager: add receiving data from remote owner
saerome.kim [Fri, 26 Jan 2018 10:57:24 +0000 (19:57 +0900)]
comp-manager: add receiving data from remote owner

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agoAdd request result callback
Jihoon Jung [Thu, 25 Jan 2018 11:22:20 +0000 (20:22 +0900)]
Add request result callback

Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
6 years agoRemove "Subgroup" terms. (Now, The Device doesn't have subgroup structure)
Jihoon Jung [Thu, 25 Jan 2018 08:27:12 +0000 (17:27 +0900)]
Remove "Subgroup" terms. (Now, The Device doesn't have subgroup structure)

Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
6 years agocomp-manager: Fixed issue in sending message using unicast message
Saurav Babu [Thu, 25 Jan 2018 07:49:21 +0000 (13:19 +0530)]
comp-manager: Fixed issue in sending message using unicast message

Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
6 years agomot-agent: fix crash when timeout callback and thread call
saerome.kim [Thu, 25 Jan 2018 07:42:04 +0000 (16:42 +0900)]
mot-agent: fix crash when timeout callback and thread call
_request_cleanup() simulatenously.

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agocomp-manager: Set host address correctly when sending unicast discovery
Saurav Babu [Thu, 25 Jan 2018 06:29:19 +0000 (11:59 +0530)]
comp-manager: Set host address correctly when sending unicast discovery

Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
6 years agocomp-manager: implement send data API.
saerome.kim [Thu, 25 Jan 2018 05:05:58 +0000 (14:05 +0900)]
comp-manager: implement send data API.

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agomot-agent: Change discovery timeout to 6secs
Saurav Babu [Thu, 25 Jan 2018 03:01:48 +0000 (08:31 +0530)]
mot-agent: Change discovery timeout to 6secs

Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
6 years agocomp-manager: Use coap instead of coaps when discovering resource
Saurav Babu [Wed, 24 Jan 2018 11:42:54 +0000 (17:12 +0530)]
comp-manager: Use coap instead of coaps when discovering resource

Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
6 years agodemo: Print host address of group when we get found groups
Saurav Babu [Wed, 24 Jan 2018 10:58:18 +0000 (16:28 +0530)]
demo: Print host address of group when we get found groups

Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
6 years agocapi: Add new CAPI to get host address of group
Saurav Babu [Wed, 24 Jan 2018 10:57:14 +0000 (16:27 +0530)]
capi: Add new CAPI to get host address of group

Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
6 years agodemo: Free found_group_list when inserting new groups in list
Saurav Babu [Wed, 24 Jan 2018 10:22:03 +0000 (15:52 +0530)]
demo: Free found_group_list when inserting new groups in list

Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
6 years agocomp-manager: Add port in SendMessage command
Saurav Babu [Wed, 24 Jan 2018 08:18:23 +0000 (13:48 +0530)]
comp-manager: Add port in SendMessage command

Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
6 years agocapi: Store port of found devices
Saurav Babu [Wed, 24 Jan 2018 07:00:44 +0000 (12:30 +0530)]
capi: Store port of found devices

Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
6 years agochange method of get device id
Jihoon Jung [Wed, 24 Jan 2018 07:16:47 +0000 (16:16 +0900)]
change method of get device id

Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
6 years agodemo: fix problem finding MOT enabled devices instead MOWNED devices
saerome.kim [Wed, 24 Jan 2018 06:34:23 +0000 (15:34 +0900)]
demo: fix problem finding MOT enabled devices instead MOWNED devices

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agomot-agent: fix problem once companaion-manager died abruptly, we can't 'Eject' device...
saerome.kim [Wed, 24 Jan 2018 06:27:10 +0000 (15:27 +0900)]
mot-agent: fix problem once companaion-manager died abruptly, we can't 'Eject' device forever.

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years ago[TEMP] Fix for demo
Jihoon Jung [Wed, 24 Jan 2018 06:21:49 +0000 (15:21 +0900)]
[TEMP] Fix for demo

Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
6 years agocomp-manager: Find specific host when sending data
Saurav Babu [Wed, 24 Jan 2018 04:53:15 +0000 (10:23 +0530)]
comp-manager: Find specific host when sending data

Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
6 years agoBug fix
Jihoon Jung [Wed, 24 Jan 2018 02:23:09 +0000 (11:23 +0900)]
Bug fix

Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
6 years agoAdd subgroup imeplementation
Jihoon Jung [Tue, 23 Jan 2018 12:18:36 +0000 (21:18 +0900)]
Add subgroup imeplementation

Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
6 years agocomp-manager: implement 'find_mowned_devices'
saerome.kim [Tue, 23 Jan 2018 10:36:42 +0000 (19:36 +0900)]
comp-manager: implement 'find_mowned_devices'
demo: add 'find my owned devices'

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agod2d-manager: refine codes
saerome.kim [Tue, 23 Jan 2018 06:22:09 +0000 (15:22 +0900)]
d2d-manager: refine codes

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agod2d-manager: Reduce working time of 'Invite/Eject' scenarios
saerome.kim [Tue, 23 Jan 2018 05:56:02 +0000 (14:56 +0900)]
d2d-manager: Reduce working time of 'Invite/Eject' scenarios

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agocomp-manager: Notify error when mot fails
Saurav Babu [Mon, 22 Jan 2018 14:40:39 +0000 (20:10 +0530)]
comp-manager: Notify error when mot fails

Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
6 years agocomp-manager: reduce the time to wait for the next job
saerome.kim [Mon, 22 Jan 2018 12:36:29 +0000 (21:36 +0900)]
comp-manager: reduce the time to wait for the next job

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agodemo: change message color when callback function is called
saerome.kim [Mon, 22 Jan 2018 12:22:38 +0000 (21:22 +0900)]
demo: change message color when callback function is called

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agomot-agent: make MOT a single device
saerome.kim [Mon, 22 Jan 2018 11:18:19 +0000 (20:18 +0900)]
mot-agent: make MOT a single device

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agocomp-manager: reduce unnecessary provisioing operation
saerome.kim [Mon, 22 Jan 2018 07:37:06 +0000 (16:37 +0900)]
comp-manager: reduce unnecessary provisioing operation
mot-agent: remove set pre-preconfig PIN after MOT.

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agomot-agent: fixed a problem where old devices was MOTed when multiple
saerome.kim [Mon, 22 Jan 2018 05:59:57 +0000 (14:59 +0900)]
mot-agent: fixed a problem where old devices was MOTed when multiple
devices were MOTed by calling 'remove_mo'

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agomot-agent: Once 'Invite' called, make remote devices to be MOTed only.
saerome.kim [Mon, 22 Jan 2018 05:38:02 +0000 (14:38 +0900)]
mot-agent: Once 'Invite' called, make remote devices to be MOTed only.

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agomot-agent: add null check
saerome.kim [Mon, 22 Jan 2018 05:25:05 +0000 (14:25 +0900)]
mot-agent: add null check
comp-mananger: add null check when pairwise called

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agomot-agent: disable multiple MOT at once feature
saerome.kim [Mon, 22 Jan 2018 03:54:04 +0000 (12:54 +0900)]
mot-agent: disable multiple MOT at once feature
comp-manager: MOT local comp-manager at first discovery time

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agotest: change DB files location for provisionclient
saerome.kim [Mon, 22 Jan 2018 02:37:39 +0000 (11:37 +0900)]
test: change DB files location for provisionclient
d2d-manager: remove whole db files when unistalling

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agoiotivity: backout modification at OCRemoveSubOwner
saerome.kim [Mon, 22 Jan 2018 02:31:27 +0000 (11:31 +0900)]
iotivity: backout modification at OCRemoveSubOwner

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agoAdd Secure option in DATA resource
Jihoon Jung [Fri, 19 Jan 2018 06:47:58 +0000 (15:47 +0900)]
Add Secure option in DATA resource

Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
6 years agomot-agent: enable MOT devices arount me by a single
saerome.kim [Fri, 19 Jan 2018 06:27:23 +0000 (15:27 +0900)]
mot-agent: enable MOT devices arount me by a single
comp-manager: remove ' ' before resource type string

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agomot-agent: fixed a problem that MOT fails
saerome.kim [Fri, 19 Jan 2018 05:01:59 +0000 (14:01 +0900)]
mot-agent: fixed a problem that MOT fails

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agodemo: change pin nubmer
saerome.kim [Thu, 18 Jan 2018 12:01:29 +0000 (21:01 +0900)]
demo: change pin nubmer

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agoAdd get my uuid & device method
Jihoon Jung [Thu, 18 Jan 2018 09:33:27 +0000 (18:33 +0900)]
Add get my uuid & device method

6 years agodemo: add menu
saerome.kim [Thu, 18 Jan 2018 08:09:36 +0000 (17:09 +0900)]
demo: add menu

1. get my companion-manager's uuid
2. get my owned device list

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agoCAPI: Disable comp-manager in companion-deinitialize()
Saurav Babu [Thu, 18 Jan 2018 07:22:23 +0000 (12:52 +0530)]
CAPI: Disable comp-manager in companion-deinitialize()

Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
6 years agocomp-manager: change invite/eject scenario
saerome.kim [Thu, 18 Jan 2018 06:54:22 +0000 (15:54 +0900)]
comp-manager: change invite/eject scenario

- change 'Invite/Eject' method to 'DeviceInvite/DeviceEject' temporally

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agoAdd send data implementation
Jihoon Jung [Thu, 18 Jan 2018 06:29:10 +0000 (15:29 +0900)]
Add send data implementation

Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
6 years agodemo: Make 'Invite' and 'Eject' scenario
saerome.kim [Thu, 18 Jan 2018 05:24:58 +0000 (14:24 +0900)]
demo: Make 'Invite' and 'Eject' scenario
mot-agent: reduce time during unparing
capi: add 'Invite' and "Eject' method

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agocomp-manager: Add disable method to exit companion-manager
Saurav Babu [Thu, 18 Jan 2018 04:47:42 +0000 (10:17 +0530)]
comp-manager: Add disable method to exit companion-manager

Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
6 years agodemo: add device invite/eject menu
saerome.kim [Thu, 18 Jan 2018 01:31:55 +0000 (10:31 +0900)]
demo: add device invite/eject menu

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agocomp-manager: Update DeviceEject method
Saurav Babu [Wed, 17 Jan 2018 14:15:29 +0000 (19:45 +0530)]
comp-manager: Update DeviceEject method

This patch updates DeviceEject method to perform below operations:
 1. Unpair devices
 2. Receive Unpair done
 3. Remove MOT at device #2
 4. Recieive Remove MOT Done
 5. Remove credential at local device $1
 6. Receive Credential at local done

Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
6 years agocomp-manager: Update DeviceInvite method to perform Pairwise also
Saurav Babu [Wed, 17 Jan 2018 13:28:11 +0000 (18:58 +0530)]
comp-manager: Update DeviceInvite method to perform Pairwise also

This patch updates DeviceInvite method to perform below operations
 1. Perform MOT with Device #1
 2. Receive MOT Done
 3. Perform MOT with Device #2
 4. Receive MOT Done
 5. Perform Pairwise between Device #1 and #2
 6. Receive Pairwise done

Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
6 years agodemo: add send data feature
saerome.kim [Wed, 17 Jan 2018 13:00:36 +0000 (22:00 +0900)]
demo: add send data feature

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agodemo: fix typo
saerome.kim [Wed, 17 Jan 2018 12:32:09 +0000 (21:32 +0900)]
demo: fix typo

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agodemo: fix a bug about discovering devices
saerome.kim [Wed, 17 Jan 2018 12:25:43 +0000 (21:25 +0900)]
demo: fix a bug about discovering devices

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agomot-agent: Notify mot-done signal to comp-manager
Saurav Babu [Wed, 17 Jan 2018 11:32:44 +0000 (17:02 +0530)]
mot-agent: Notify mot-done signal to comp-manager

Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
6 years agomot-agent: Notify mot enabled devices to comp-manager
Saurav Babu [Wed, 17 Jan 2018 11:15:38 +0000 (16:45 +0530)]
mot-agent: Notify mot enabled devices to comp-manager

Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
6 years agomot-agent: fixed crash issue that memory corruption
saerome.kim [Wed, 17 Jan 2018 06:03:43 +0000 (15:03 +0900)]
mot-agent: fixed crash issue that memory corruption

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agoiotivity: fixed crash issue that is caused by freeing invalid address
saerome.kim [Wed, 17 Jan 2018 04:18:57 +0000 (13:18 +0900)]
iotivity: fixed crash issue that is caused by freeing invalid address

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agocomp-manager: fixed crash when callback is null
saerome.kim [Wed, 17 Jan 2018 04:01:44 +0000 (13:01 +0900)]
comp-manager: fixed crash when callback is null

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agomot-agent: Replace mowned_list with motdev_list, which is used during 'pairwise'...
saerome.kim [Wed, 17 Jan 2018 03:58:48 +0000 (12:58 +0900)]
mot-agent: Replace mowned_list with motdev_list, which is used during 'pairwise' operation

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agocomp-manager: Added companion_group_join method
Saurav Babu [Tue, 16 Jan 2018 16:00:33 +0000 (21:30 +0530)]
comp-manager: Added companion_group_join method

This method performs below operations in sequence:
1. Discover MOT enabled devices
2. Perform MOT
3. Discover MOT Owned devices
4. Perform Pairwise

Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
6 years agocomp-manager: Add new dbus method to find and get mowned devices
Saurav Babu [Tue, 16 Jan 2018 12:49:59 +0000 (18:19 +0530)]
comp-manager: Add new dbus method to find and get mowned devices

Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
6 years agodemo: fix build warnings
saerome.kim [Tue, 16 Jan 2018 10:37:21 +0000 (19:37 +0900)]
demo: fix build warnings

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agodemo: Implement demo app
saerome.kim [Tue, 16 Jan 2018 10:23:56 +0000 (19:23 +0900)]
demo: Implement demo app

- Added group / device 'create/clone/destory' APIs
- Fixed a bug that now showing devices/group list even discovered them

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agodemo: Implement demo application
saerome.kim [Tue, 16 Jan 2018 08:46:09 +0000 (17:46 +0900)]
demo: Implement demo application

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agocomp-manager: fixed build warnings
saerome.kim [Tue, 16 Jan 2018 06:48:09 +0000 (15:48 +0900)]
comp-manager: fixed build warnings

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agodemo: add demo application & fixed build warnings
saerome.kim [Tue, 16 Jan 2018 06:08:42 +0000 (15:08 +0900)]
demo: add demo application & fixed build warnings

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agoAdd send data method (add one "data" resource for secure channel test)
Jihoon Jung [Tue, 16 Jan 2018 01:42:46 +0000 (10:42 +0900)]
Add send data method (add one "data" resource for secure channel test)

Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
6 years agomot-agent: Fixed the issue of multiple MOT at once
saerome.kim [Tue, 16 Jan 2018 01:38:01 +0000 (10:38 +0900)]
mot-agent: Fixed the issue of multiple MOT at once

6 years agomot-agent: Set permission in pairwise method
Saurav Babu [Mon, 15 Jan 2018 14:11:05 +0000 (19:41 +0530)]
mot-agent: Set permission in pairwise method

Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
6 years agomot-agent: fix crash if calling 'pairwise' and 'unpair' repeatelly.
saerome.kim [Mon, 15 Jan 2018 12:18:14 +0000 (21:18 +0900)]
mot-agent: fix crash if calling 'pairwise' and 'unpair' repeatelly.

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agomot-agent: remove unused files
saerome.kim [Mon, 15 Jan 2018 09:53:49 +0000 (18:53 +0900)]
mot-agent: remove unused files

Signed-off-by: saerome.kim <saerome.kim@samsung.com>