Saurav Babu [Tue, 27 Mar 2018 09:05:48 +0000 (14:35 +0530)]
comp-manager: Send NULL terminated string as data
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
saerome.kim [Mon, 26 Mar 2018 12:31:05 +0000 (21:31 +0900)]
d2d-manager: make capi can support multi-clients.
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
Mayank Haarit [Mon, 26 Mar 2018 11:34:14 +0000 (17:04 +0530)]
Removed compilation error
Changed e.reason() -> e.what()
Signed-off-by: Mayank Haarit <mayank.h@samsung.com>
saerome.kim [Mon, 26 Mar 2018 05:11:42 +0000 (14:11 +0900)]
d2d-manager: Modify API header files align with ACR rules
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
saerome.kim [Mon, 26 Mar 2018 02:34:10 +0000 (11:34 +0900)]
d2d-manager: fix Tizen coding rules
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
saerome.kim [Fri, 23 Mar 2018 11:29:16 +0000 (20:29 +0900)]
d2d-manager: initial documentation
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
Saurav Babu [Fri, 23 Mar 2018 11:18:47 +0000 (16:48 +0530)]
comp-manager: Fixed issue in sending response of Post Request
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
Saurav Babu [Fri, 23 Mar 2018 10:25:20 +0000 (15:55 +0530)]
comp-manager: Code cleanup after replacing iotcon with IoTivity C++ Stack
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
Saurav Babu [Fri, 23 Mar 2018 03:35:11 +0000 (09:05 +0530)]
comp-manager: Handle Post request from client using IoTivity C++ Stack
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
Saurav Babu [Thu, 22 Mar 2018 10:12:33 +0000 (15:42 +0530)]
comp-manager: Added Send Data with Post method using IoTivity C++ stack
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
saerome.kim [Thu, 22 Mar 2018 08:54:35 +0000 (17:54 +0900)]
companion-manager: fix crash issue
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
saerome.kim [Thu, 22 Mar 2018 08:44:11 +0000 (17:44 +0900)]
d2d-manager: fix svace issue
- memory leak and etc.
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
Saurav Babu [Wed, 21 Mar 2018 15:14:57 +0000 (20:44 +0530)]
comp-manager: Code cleanup when adding new resource
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
Saurav Babu [Wed, 21 Mar 2018 14:43:02 +0000 (20:13 +0530)]
comp-manager: Find Resources using IoTivity C++ Stack
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
saerome.kim [Wed, 21 Mar 2018 08:16:39 +0000 (17:16 +0900)]
add boiler plate related to license
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
Saurav Babu [Mon, 19 Mar 2018 14:06:45 +0000 (19:36 +0530)]
comp-manager: Add initial cpp code
This patch initializes IoTivity C++ Stack and creates group using
IoTivity C++ functionaility
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
Saurav Babu [Mon, 19 Mar 2018 13:57:11 +0000 (19:27 +0530)]
comp-manager: Compile cpp files also
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
Saurav Babu [Mon, 19 Mar 2018 13:55:28 +0000 (19:25 +0530)]
comp-manager: Add necessary dependencies for IoTivity C++
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
Saurav Babu [Mon, 19 Mar 2018 13:54:07 +0000 (19:24 +0530)]
comp-manager: Add extern C in header files for access by cpp files
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
Saurav Babu [Thu, 15 Mar 2018 10:08:29 +0000 (15:38 +0530)]
mot-agent: Fixed crash issue when we can't find target in MOT enabled dev list
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
saerome.kim [Wed, 14 Mar 2018 11:43:46 +0000 (20:43 +0900)]
Update README.md
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
saerome.kim [Wed, 7 Mar 2018 06:26:56 +0000 (15:26 +0900)]
Update README.md
- update iotivity patches
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
saerome.kim [Wed, 7 Mar 2018 05:48:34 +0000 (14:48 +0900)]
update README.md
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
saerome.kim [Wed, 28 Feb 2018 07:06:54 +0000 (16:06 +0900)]
mot-agent: make demo app to print received messge length
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
saerome.kim [Wed, 28 Feb 2018 06:33:17 +0000 (15:33 +0900)]
mot-agent: code clean up
- change signal name
- remove unnecessary codes
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
saerome.kim [Tue, 27 Feb 2018 12:30:20 +0000 (21:30 +0900)]
mot-agent: change from structure using multiple threads to single worker
thread
Frequently, mot-agent crashs due to the context swtching during thread working
To prevent crash, change current mot-agent can use single worker thread
and async queue.
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
Saurav Babu [Mon, 26 Feb 2018 14:00:55 +0000 (19:30 +0530)]
comp-manager: Replace iotcon_query with iotcon_representation
When data(data=xx=abcd) is send using iotcon_query then only xx is
received at receiver. So this patch uses POST method in
iotcon_representation to send data. Using this we can receive correct
data(xx=abcd) at receiver.
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
Mayank Haarit [Mon, 26 Feb 2018 11:58:21 +0000 (17:28 +0530)]
Fixed compilation errors for Tizen speakers, Added compiler options.
Signed-off-by: Mayank Haarit <mayank.h@samsung.com>
Saurav Babu [Mon, 26 Feb 2018 08:56:23 +0000 (14:26 +0530)]
Fixed compile time warnings
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
Saurav Babu [Mon, 26 Feb 2018 07:28:21 +0000 (12:58 +0530)]
comp-manager: Remove discovery retry mechanism
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
Saurav Babu [Mon, 26 Feb 2018 07:27:24 +0000 (12:57 +0530)]
mot-agent: Remove discovery retry mechanism
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
Saurav Babu [Tue, 20 Feb 2018 13:46:19 +0000 (19:16 +0530)]
mot-agent: Fixed issue in cloning OCProvision device
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
Saurav Babu [Mon, 19 Feb 2018 05:35:02 +0000 (11:05 +0530)]
demo: Always get devices from comp-manager in run_devices_show()
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
Saurav Babu [Fri, 16 Feb 2018 11:07:28 +0000 (16:37 +0530)]
mot-agent: Perform deep copy in cloning OCProvisionDev_t
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
Saurav Babu [Thu, 15 Feb 2018 12:02:38 +0000 (17:32 +0530)]
comp-manager: Register new signal for mowned_devs_added event
This patch registers new signal to know whenever new mowned device
is added.
There is no need to free existing discovered device list when Already
in progress error is not returned for disc_mowned_devs dbus method
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
Saurav Babu [Thu, 15 Feb 2018 12:00:03 +0000 (17:30 +0530)]
mot-agent: Add discovery retry mechanism for disc_owned_devs
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
Saurav Babu [Thu, 15 Feb 2018 10:35:40 +0000 (16:05 +0530)]
mot-agent: Temporary fix to prevent crash in iotivity
This patch will be removed when correct fix is added in iotivity
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
Saurav Babu [Thu, 15 Feb 2018 04:53:58 +0000 (10:23 +0530)]
comp-manager: Register new signal for mot_enb_devs_added event
This patch registers new signal to know whenever new mot enabled device
is added.
There is no need to free existing discovered device list when Already
in progress error is not returned for disc_mot_enb_devs dbus method
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
Saurav Babu [Wed, 14 Feb 2018 14:12:28 +0000 (19:42 +0530)]
mot-agent: Add retry mechanism for disc_mot_enb_devs
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>