platform/core/api/multi-device-group.git
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>
6 years agocomp-manager: Added dbus method to pair/unpair resources
Saurav Babu [Mon, 15 Jan 2018 08:47:14 +0000 (14:17 +0530)]
comp-manager: Added dbus method to pair/unpair resources

Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
6 years agomot-agent: fix bugs when MOT failsure occurs after MOT & remove MO
saerome.kim [Mon, 15 Jan 2018 08:32:09 +0000 (17:32 +0900)]
mot-agent: fix bugs when MOT failsure occurs after MOT & remove MO

Even if we remove MO information at remote device, our local
provisioning tool has CRED info for remote device. So in this case, 2nd
trial of MOT always fails due to remained CRED info. for remote device.

- add 'remove_cred_local' & 'remove_cred_local_done' GDBus signal
- To remove MO information:
  1. Call 'remove_mo' <UIID>
  2. Call 'remove_cred_local' <UUID>

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agoAdd device eject / device invite api in capi layer
Jihoon Jung [Mon, 15 Jan 2018 07:54:13 +0000 (16:54 +0900)]
Add device eject / device invite api in capi layer

Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
6 years agomot-agent: Use OCUnlinkDevices() instead of OCRemoveDeviceWithUuid() to unpair
Saurav Babu [Mon, 15 Jan 2018 06:59:34 +0000 (12:29 +0530)]
mot-agent: Use OCUnlinkDevices() instead of OCRemoveDeviceWithUuid() to unpair

Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
6 years agomot-agent: add OCUnlinkDevices
saerome.kim [Mon, 15 Jan 2018 05:04:24 +0000 (14:04 +0900)]
mot-agent: add OCUnlinkDevices

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agocomp-manager: Added GetRemoteDevice DBUS method to get mot enabled device
Saurav Babu [Fri, 12 Jan 2018 12:32:07 +0000 (18:02 +0530)]
comp-manager: Added GetRemoteDevice DBUS method to get mot enabled device

Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
6 years agocomp-manager: Add DBUS Auto activation
Saurav Babu [Fri, 12 Jan 2018 12:07:54 +0000 (17:37 +0530)]
comp-manager: Add DBUS Auto activation

Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
6 years agocomp-manager: Fixed glib warnings
Saurav Babu [Fri, 12 Jan 2018 11:27:35 +0000 (16:57 +0530)]
comp-manager: Fixed glib warnings

Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
6 years agocomp-manager: Added DeviceFound signal to notify mot devices added
Saurav Babu [Fri, 12 Jan 2018 10:57:52 +0000 (16:27 +0530)]
comp-manager: Added DeviceFound signal to notify mot devices added

Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
6 years agocorrected parameter extraction for disc_mowned_devs_done event
Nishant Chaprana [Fri, 12 Jan 2018 10:41:12 +0000 (16:11 +0530)]
corrected parameter extraction for disc_mowned_devs_done event

Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
6 years agocorrected parameter extraction for disc_mot_enb_devs_done event
Nishant Chaprana [Fri, 12 Jan 2018 10:30:31 +0000 (16:00 +0530)]
corrected parameter extraction for disc_mot_enb_devs_done event

Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
6 years agoHandle the case when no more resource available to find
Maneesh Jain [Fri, 12 Jan 2018 09:08:59 +0000 (14:38 +0530)]
Handle the case when no more resource available to find

Signed-off-by: Maneesh Jain <maneesh.jain@samsung.com>
6 years agoAdd demo scenario
Jihoon Jung [Fri, 12 Jan 2018 08:28:38 +0000 (17:28 +0900)]
Add demo scenario

Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
6 years agomot-agent: change from d2d-subowner to mot-agent
saerome.kim [Fri, 12 Jan 2018 07:45:13 +0000 (16:45 +0900)]
mot-agent: change from d2d-subowner to mot-agent

- remove d2d-manager directory
- rename dbus name 'net.d2ds' -> 'net.ma'

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agocomp-manager: Implement DeviceFind method to find mot enabled devices
Saurav Babu [Fri, 12 Jan 2018 07:21:05 +0000 (12:51 +0530)]
comp-manager: Implement DeviceFind method to find mot enabled devices

Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
6 years agocomp-manager: add unsecure /comp/device resource to SVR DB
saerome.kim [Fri, 12 Jan 2018 06:25:50 +0000 (15:25 +0900)]
comp-manager: add unsecure /comp/device resource to SVR DB

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agocomp-manager: change SVR DB of comp-manager to support MOT feature
saerome.kim [Fri, 12 Jan 2018 05:43:37 +0000 (14:43 +0900)]
comp-manager: change SVR DB of comp-manager to support MOT feature

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agoChange "familynet" term to "companion"
Jihoon Jung [Fri, 12 Jan 2018 05:11:27 +0000 (14:11 +0900)]
Change "familynet" term to "companion"

Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
6 years agod2d-subowner: update SVR DB file
saerome.kim [Fri, 12 Jan 2018 04:49:55 +0000 (13:49 +0900)]
d2d-subowner: update SVR DB file

- remove unnecessary items

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agoAdd Error Handling in Initialization Function
Maneesh Jain [Fri, 12 Jan 2018 03:38:17 +0000 (09:08 +0530)]
Add Error Handling in Initialization Function

Signed-off-by: Maneesh Jain <maneesh.jain@samsung.com>
6 years agod2d-subowner: fix Selfowning failure
saerome.kim [Fri, 12 Jan 2018 02:44:03 +0000 (11:44 +0900)]
d2d-subowner: fix Selfowning failure

- temporally, set MOM '0' in oic_svr_db_d2ds.dat

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agofn-manager: Notify device eject result
Saurav Babu [Thu, 11 Jan 2018 13:12:56 +0000 (18:42 +0530)]
fn-manager: Notify device eject result

Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
6 years agod2d-subowner: fix a bug when execute mot and remove_mo twice, then MOT always fails
saerome.kim [Thu, 11 Jan 2018 12:04:45 +0000 (21:04 +0900)]
d2d-subowner: fix a bug when execute mot and remove_mo twice, then MOT always fails

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