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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>