Saurav Babu [Thu, 19 Apr 2018 09:21:32 +0000 (14:51 +0530)]
comp-manager: Monitor Invited device
This patch adds new method to start monitoring invited device and sends
signal when device state changes
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
Jihoon Jung [Thu, 19 Apr 2018 08:17:42 +0000 (17:17 +0900)]
Add Peer Description discovery implemntation
Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
Saurav Babu [Wed, 18 Apr 2018 14:02:05 +0000 (19:32 +0530)]
comp-manager: Send KeepAlive message after device invite is done
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
Saurav Babu [Fri, 13 Apr 2018 11:05:38 +0000 (16:35 +0530)]
comp-manager: Fixed glib warnings and memory corruptions
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
Saurav Babu [Thu, 12 Apr 2018 11:42:17 +0000 (17:12 +0530)]
Fixed memory leaks
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
Saurav Babu [Thu, 12 Apr 2018 10:49:09 +0000 (16:19 +0530)]
comp-manager: Don't update device ip pointer
strtok updates the pointer which is passed so use a copy to pass to
strtok
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
saerome.kim [Wed, 11 Apr 2018 12:39:09 +0000 (21:39 +0900)]
comp-manager: make comp_is_local_ip() function uses both IPv6 and IPv6 when comparing.
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
saerome.kim [Wed, 11 Apr 2018 12:11:37 +0000 (21:11 +0900)]
d2d-manager: remove unnecessary timer callback which causes mot-agent crash
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
saerome.kim [Wed, 11 Apr 2018 11:35:17 +0000 (20:35 +0900)]
Fixed a bug that wrong IP information is used in comp_compare_ip_and_ifname()
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
saerome.kim [Wed, 11 Apr 2018 10:56:36 +0000 (19:56 +0900)]
Modified to distinguish local and remote devices using IP information
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
Saurav Babu [Wed, 11 Apr 2018 09:23:25 +0000 (14:53 +0530)]
demo: Send/Receive buffered data
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
Saurav Babu [Wed, 11 Apr 2018 09:22:18 +0000 (14:52 +0530)]
capi: Send data as array of bytes instead of string
Application might be sending buffered data so this patch sends data as
array of bytes instead of string
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
Saurav Babu [Wed, 11 Apr 2018 09:19:01 +0000 (14:49 +0530)]
comp-manger: Send/Receive buffered data instead of string
Application can send buffered data with length, sending it as string
incomplete data would be received. This patch sends data as string after
encoding it to Base64 and on receiver side decodes it before providing
data to upper layer
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
Saurav Babu [Wed, 11 Apr 2018 09:17:43 +0000 (14:47 +0530)]
Enable Base64 encoding support
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
Saurav Babu [Tue, 10 Apr 2018 12:39:27 +0000 (18:09 +0530)]
capi: Fixed random crashes due to device_type initialized with 0
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
saerome.kim [Tue, 10 Apr 2018 04:58:33 +0000 (13:58 +0900)]
capi: change APIs relevant devices
-companion_device_get_my_uuid -> copanion_device_information_get_my_uuid
-companion_device_get_my_device -> companion_device_informaion_get_my_device
-change device_type from char* to enumeration value
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
Saurav Babu [Fri, 6 Apr 2018 07:27:07 +0000 (12:57 +0530)]
demo: Receive requester device id in receive_request_result
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
Saurav Babu [Fri, 6 Apr 2018 07:26:25 +0000 (12:56 +0530)]
capi: Add requester device id in companion_request_result_cb
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
Saurav Babu [Fri, 6 Apr 2018 07:22:04 +0000 (12:52 +0530)]
comp-manager: Add requester uuid when sending data to remote device
This patch also notifies requester uuid to upper layer in request
result notification
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
Saurav Babu [Thu, 5 Apr 2018 14:22:30 +0000 (19:52 +0530)]
demo: Fixed issue with incorrect comparision of command in receive_request_result
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
Saurav Babu [Thu, 5 Apr 2018 14:21:35 +0000 (19:51 +0530)]
demo: Register callback to receive request result
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
Saurav Babu [Thu, 5 Apr 2018 12:13:17 +0000 (17:43 +0530)]
capi: Add ref count in comp-manager when initializing app
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
Saurav Babu [Thu, 5 Apr 2018 12:10:24 +0000 (17:40 +0530)]
comp-manager: Add new method to store ref count of applications
When application deinitializes then it disables companion-manager, but
there could be a possibility that multiple application would have
initialized and when one application is deinitialized then companion
manager is killed which results in abrupt behavior for other
applications
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
Saurav Babu [Wed, 4 Apr 2018 11:52:38 +0000 (17:22 +0530)]
comp-manager: Send command directly without discovering resource
This patch sends command directly without discovering if resource is
already discovered
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
saerome.kim [Tue, 3 Apr 2018 11:50:33 +0000 (20:50 +0900)]
capi: Change callback function called after request functions
saerome.kim [Mon, 2 Apr 2018 13:03:10 +0000 (22:03 +0900)]
capi: change API names to make doxygen doc.
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
Jihoon Jung [Mon, 2 Apr 2018 05:33:03 +0000 (14:33 +0900)]
Add db implementation
Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
Saurav Babu [Mon, 2 Apr 2018 03:44:50 +0000 (09:14 +0530)]
Fixed coding style related issues
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
saerome.kim [Fri, 30 Mar 2018 05:05:52 +0000 (14:05 +0900)]
comp-manager: add OCPlatform infomation
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
saerome.kim [Fri, 30 Mar 2018 04:08:45 +0000 (13:08 +0900)]
capi: add privilege comments
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
Saurav Babu [Thu, 29 Mar 2018 10:53:19 +0000 (16:23 +0530)]
comp-manager: Notify send data result to application
This patch also fixes memory leaks
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
Saurav Babu [Thu, 29 Mar 2018 10:47:04 +0000 (16:17 +0530)]
comp-manager: Send data directly to host without discovery
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
Saurav Babu [Thu, 29 Mar 2018 10:35:26 +0000 (16:05 +0530)]
capi: Store secure port number of devices
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
Saurav Babu [Thu, 29 Mar 2018 10:27:48 +0000 (15:57 +0530)]
comp-manager: Fixed compile time error
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
saerome.kim [Thu, 29 Mar 2018 06:32:39 +0000 (15:32 +0900)]
d2d-manager: fix doxgen warnings and errors
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
saerome.kim [Thu, 29 Mar 2018 02:26:19 +0000 (11:26 +0900)]
d2d-manager: add doc.h and change of copyright enforcement year
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
saerome.kim [Wed, 28 Mar 2018 12:59:10 +0000 (21:59 +0900)]
d2d-manager: remove unnecessary files
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
saerome.kim [Wed, 28 Mar 2018 10:17:10 +0000 (19:17 +0900)]
capi: disable feature check routine temporally.
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
saerome.kim [Wed, 28 Mar 2018 08:18:49 +0000 (17:18 +0900)]
capi: add feature check routine
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
saerome.kim [Wed, 28 Mar 2018 05:29:00 +0000 (14:29 +0900)]
capi: seperate a file related dbus
Signed-off-by: saerome.kim <saerome.kim@samsung.com>
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>