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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Jihoon Jung [Wed, 24 Jan 2018 02:23:09 +0000 (11:23 +0900)]
Bug fix
Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Jihoon Jung [Thu, 18 Jan 2018 09:33:27 +0000 (18:33 +0900)]
Add get my uuid & device method
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
saerome.kim [Tue, 16 Jan 2018 01:38:01 +0000 (10:38 +0900)]
mot-agent: Fixed the issue of multiple MOT at once
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Saurav Babu [Thu, 11 Jan 2018 11:43:15 +0000 (17:13 +0530)]
fn-manager: Correctly notify group invite result
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
Saurav Babu [Thu, 11 Jan 2018 11:34:16 +0000 (17:04 +0530)]
fn-manager: Register remove_mo_done signal
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
Saurav Babu [Thu, 11 Jan 2018 11:32:35 +0000 (17:02 +0530)]
d2d-subowner: Send remove_mo_done signal from _remove_mo_func
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
Saurav Babu [Thu, 11 Jan 2018 11:08:35 +0000 (16:38 +0530)]
fn-manager: Add DeviceEject DBUS method to remove mot at device
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
Jihoon Jung [Thu, 11 Jan 2018 10:15:09 +0000 (19:15 +0900)]
Change demo program
Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
Jihoon Jung [Thu, 11 Jan 2018 09:29:19 +0000 (18:29 +0900)]
Add exec program for demo
Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
Saurav Babu [Thu, 11 Jan 2018 09:22:28 +0000 (14:52 +0530)]
fn-manager: Added DeviceInvite DBUS method
This patch adds DeviceInvite DBUS method which performs mot of the
requested device
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
saerome.kim [Thu, 11 Jan 2018 08:35:07 +0000 (17:35 +0900)]
d2d-subowner: fix wrong signal senging problem
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
saerome.kim [Thu, 11 Jan 2018 08:09:55 +0000 (17:09 +0900)]
d2d-subowner: implement removing devices at provisioning db when removing MO devices
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
saerome.kim [Thu, 11 Jan 2018 06:53:33 +0000 (15:53 +0900)]
Iotivity: update iotivity to support removing MO information at SVR DB
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
saerome.kim [Thu, 11 Jan 2018 06:34:03 +0000 (15:34 +0900)]
d2d-subowner: fix crash issue when timerout callback executed before discover_done_cb
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
Jihoon Jung [Thu, 11 Jan 2018 06:08:42 +0000 (15:08 +0900)]
Remove group device resource in fn-manager
- and, add capi & test of get found groups
Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
saerome.kim [Thu, 11 Jan 2018 05:57:57 +0000 (14:57 +0900)]
fn-manager: Implement pairwise and unpair interface
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
saerome.kim [Thu, 11 Jan 2018 04:31:10 +0000 (13:31 +0900)]
Fix a bug that pairwise functionality and make d2d-subowner deviceuuid fixed temporally.
Signed-off-by: saerome.kim <saerome.kim@samsung.com>