platform/core/api/multi-device-group.git
6 years agod2d-subowner: fix memory leak and change signal name
saerome.kim [Wed, 10 Jan 2018 11:49:53 +0000 (20:49 +0900)]
d2d-subowner: fix memory leak and change signal name

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agod2d-subowner: Add dbus methods to request pairwise and unpair device
Saurav Babu [Wed, 10 Jan 2018 11:12:29 +0000 (16:42 +0530)]
d2d-subowner: Add dbus methods to request pairwise and unpair device

Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
6 years agodetermine find group is in the own device or remote device using device id
Jihoon Jung [Wed, 10 Jan 2018 10:28:35 +0000 (19:28 +0900)]
determine find group is in the own device or remote device using device id

Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
6 years agoAdd timeout & finish cb in find method and remove bind method
Jihoon Jung [Wed, 10 Jan 2018 09:58:10 +0000 (18:58 +0900)]
Add timeout & finish cb in find method and remove bind method

Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
6 years agofn-manager: add prefix at each API
saerome.kim [Wed, 10 Jan 2018 07:04:55 +0000 (16:04 +0900)]
fn-manager: add prefix at each API

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agod2d-subowner: Add implementation of missing function
Saurav Babu [Wed, 10 Jan 2018 05:36:16 +0000 (11:06 +0530)]
d2d-subowner: Add implementation of missing function

Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
6 years agofn-manager : Implement dbus interface from/to d2d-subowner
saerome.kim [Wed, 10 Jan 2018 05:02:22 +0000 (14:02 +0900)]
fn-manager : Implement dbus interface from/to d2d-subowner

- discover MOT enabled devices
- discover my Multiple Owned devices
- do MOT
- remove MO

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agofn-manager : Enable/Disable MOT agent when fn-manager initialization/deinitialization
saerome.kim [Wed, 10 Jan 2018 01:18:13 +0000 (10:18 +0900)]
fn-manager : Enable/Disable MOT agent when fn-manager initialization/deinitialization

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agofn-manager: Add new method to get already found groups
Saurav Babu [Tue, 9 Jan 2018 13:51:01 +0000 (19:21 +0530)]
fn-manager: Add new method to get already found groups

Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
6 years agofn-manager: Notify new group found using GroupAdded signal
Saurav Babu [Tue, 9 Jan 2018 13:13:24 +0000 (18:43 +0530)]
fn-manager: Notify new group found using GroupAdded signal

Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
6 years agoUpdate intial dbus inteterface codes to control MOT agent
saerome.kim [Tue, 9 Jan 2018 12:56:55 +0000 (21:56 +0900)]
Update intial dbus inteterface codes to control MOT agent

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agoFix memory leak & build warning
saerome.kim [Tue, 9 Jan 2018 11:19:12 +0000 (20:19 +0900)]
Fix memory leak & build warning

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agoFix problem that undeleted MO at the sub-device
saerome.kim [Tue, 9 Jan 2018 10:56:18 +0000 (19:56 +0900)]
Fix problem that undeleted MO at the sub-device

- This issue due to the IoTivitiy policy.
  In IoTivity source (IsRequestFromResourceOwner() at policyengine.c)
  return false if requester's DELETE method is not match rowner's uuid

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agoImplement d2d-subowner
saerome.kim [Tue, 9 Jan 2018 07:43:55 +0000 (16:43 +0900)]
Implement d2d-subowner

- remove MO (No Test)
- fix memory leak problem
- fix typo in README.md

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agoAdd bind function and some comments
Jihoon Jung [Tue, 9 Jan 2018 05:33:14 +0000 (14:33 +0900)]
Add bind function and some comments

Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
6 years agofn-manager: Get Resource informations of found resources
Saurav Babu [Mon, 8 Jan 2018 13:37:29 +0000 (19:07 +0530)]
fn-manager: Get Resource informations of found resources

Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
6 years agofn-manager: Add logic to find resources
Saurav Babu [Mon, 8 Jan 2018 11:34:13 +0000 (17:04 +0530)]
fn-manager: Add logic to find resources

Once all the resource is found then we'll send dbus signal and on
receiving dbus-signal client can call new dbus method to get
groups/resources information

Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
6 years agoAdd CAPI style and comment
Jihoon Jung [Mon, 8 Jan 2018 10:30:20 +0000 (19:30 +0900)]
Add CAPI style and comment

Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
6 years agoAdd description how to test d2d-subowner client.
saerome.kim [Fri, 5 Jan 2018 10:55:45 +0000 (19:55 +0900)]
Add description how to test d2d-subowner client.

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agoFix build error
saerome.kim [Fri, 5 Jan 2018 06:31:27 +0000 (15:31 +0900)]
Fix build error

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agoUpdate install.sh to install rpms related to debug
saerome.kim [Fri, 5 Jan 2018 05:19:01 +0000 (14:19 +0900)]
Update install.sh to install rpms related to debug

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agoApply missing return
saerome.kim [Thu, 4 Jan 2018 07:52:16 +0000 (16:52 +0900)]
Apply missing return

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agoFix deviceid bug
saerome.kim [Thu, 4 Jan 2018 07:50:07 +0000 (16:50 +0900)]
Fix deviceid bug

Currently, deviceid is not applied based on Wi-Fi MAC address.
So, we fix this issue.

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agoAdd Test Sample and API layer
Jihoon Jung [Thu, 4 Jan 2018 07:29:48 +0000 (16:29 +0900)]
Add Test Sample and API layer

Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
6 years agoImplement
saerome.kim [Wed, 3 Jan 2018 07:38:40 +0000 (16:38 +0900)]
Implement
- get_device_id method
- Add Self-OTM
- make d2d-subowner's device ID baesed on fake MAC

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agoImpelement notifications of requests
saerome.kim [Wed, 3 Jan 2018 02:10:01 +0000 (11:10 +0900)]
Impelement notifications of requests

- subowner_enabled
- disc_mot_enb_devs_done
- disc_mowned_devs_done
- mot_done
- prov_acl_done
- prov_cred_done

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agoFix a bug when CRED provisioning
saerome.kim [Fri, 22 Dec 2017 10:28:59 +0000 (19:28 +0900)]
Fix a bug when CRED provisioning

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agoRemove unused code & change calloc to g_malloc0
saerome.kim [Thu, 21 Dec 2017 10:35:13 +0000 (19:35 +0900)]
Remove unused code & change calloc to g_malloc0

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agoImplement d2d-subowner
saerome.kim [Thu, 21 Dec 2017 10:27:54 +0000 (19:27 +0900)]
Implement d2d-subowner
- ACL provisioning (Tested)
- CRED provisioning (NOT Tested)

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agoAdd gdbus interface (171215ver.)
Jihoon Jung [Tue, 19 Dec 2017 07:49:07 +0000 (16:49 +0900)]
Add gdbus interface (171215ver.)

Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
6 years agoImplement d2d-subowner
saerome.kim [Tue, 19 Dec 2017 04:53:16 +0000 (13:53 +0900)]
Implement d2d-subowner
- Discover MOT enabled devices
- Multiple Onwership Transfer

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agoRemove build warning
saerome.kim [Tue, 19 Dec 2017 04:28:23 +0000 (13:28 +0900)]
Remove build warning

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agoChange fn manager
Jihoon Jung [Thu, 14 Dec 2017 08:27:54 +0000 (17:27 +0900)]
Change fn manager

Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
6 years agoInclude cjson.h file to remove iotivity-devel dependency.
saerome.kim [Thu, 14 Dec 2017 06:26:03 +0000 (15:26 +0900)]
Include cjson.h file to remove iotivity-devel dependency.

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agoUpdate initial subowner client
saerome.kim [Thu, 14 Dec 2017 06:23:29 +0000 (15:23 +0900)]
Update initial subowner client
 - enable dbus activation
 - implement initial API inerfaces

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agoFix typo
saerome.kim [Thu, 14 Dec 2017 06:19:07 +0000 (15:19 +0900)]
Fix typo

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agoFix build error
Jihoon Jung [Thu, 14 Dec 2017 05:24:31 +0000 (14:24 +0900)]
Fix build error

Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
6 years agoChange fn manager
Jihoon Jung [Thu, 14 Dec 2017 05:00:06 +0000 (14:00 +0900)]
Change fn manager

Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
6 years agoEnable MOT test sample
saerome.kim [Wed, 13 Dec 2017 10:21:19 +0000 (19:21 +0900)]
Enable MOT test sample
- Enabled MOT sampleserver_justworks's SVR DB
- Make sampleserver_justworks self-owning
- Make sampleserver_justworks use fixed UUID

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agoChange fn manager
Jihoon Jung [Wed, 13 Dec 2017 02:44:51 +0000 (11:44 +0900)]
Change fn manager

Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
6 years agoChange
Jihoon Jung [Tue, 12 Dec 2017 12:00:06 +0000 (21:00 +0900)]
Change

Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
6 years agoAdd fn manager implementation
Jihoon Jung [Tue, 12 Dec 2017 11:45:35 +0000 (20:45 +0900)]
Add fn manager implementation

Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
6 years agoEnable dbus activation
saerome.kim [Tue, 12 Dec 2017 00:28:10 +0000 (09:28 +0900)]
Enable dbus activation

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agoRemove a temporary file
saerome.kim [Fri, 8 Dec 2017 10:44:25 +0000 (19:44 +0900)]
Remove a temporary file

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agoDelete temporary files
saerome.kim [Fri, 8 Dec 2017 10:31:22 +0000 (19:31 +0900)]
Delete temporary files

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agoClean up base codes
saerome.kim [Fri, 8 Dec 2017 10:22:30 +0000 (19:22 +0900)]
Clean up base codes

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agoDaemon Auto launching when device booting using systemd
Jihoon Jung [Thu, 7 Dec 2017 12:57:59 +0000 (21:57 +0900)]
Daemon Auto launching when device booting using systemd

Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
6 years agoFix build error and change CMakefile
Jihoon Jung [Thu, 7 Dec 2017 12:08:40 +0000 (21:08 +0900)]
Fix build error and change CMakefile

Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
6 years agoAdd main file
Jihoon Jung [Mon, 4 Dec 2017 06:27:30 +0000 (15:27 +0900)]
Add main file

Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
6 years agoseparate devel package and main package
Jihoon Jung [Mon, 4 Dec 2017 04:09:01 +0000 (13:09 +0900)]
separate devel package and main package

Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
6 years agoAdd build & install script
Jihoon Jung [Thu, 30 Nov 2017 06:27:19 +0000 (15:27 +0900)]
Add build & install script

Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
6 years agoAdd missing oic_svr_db_subowner_client.dat
saerome.kim [Wed, 29 Nov 2017 09:39:26 +0000 (18:39 +0900)]
Add missing oic_svr_db_subowner_client.dat

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agoAdd intial comment about how to use iotivity library
saerome.kim [Wed, 29 Nov 2017 08:43:07 +0000 (17:43 +0900)]
Add intial comment about how to use iotivity library

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agoUpdate intial codeset (build success)
saerome.kim [Wed, 29 Nov 2017 05:35:24 +0000 (14:35 +0900)]
Update intial codeset (build success)

Signed-off-by: saerome.kim <saerome.kim@samsung.com>
6 years agoInitial commit
김새롬/Tizen Platform Lab(SR)/Senior Engineer/삼성전자 [Wed, 29 Nov 2017 05:30:20 +0000 (14:30 +0900)]
Initial commit

6 years agoInitial empty repository master
Tizen Infrastructure [Wed, 27 Jun 2018 09:01:26 +0000 (09:01 +0000)]
Initial empty repository