Jaeyun Jung [Thu, 2 Jan 2025 06:41:06 +0000 (15:41 +0900)]
[Custom] handle for custom connection
Define handle for custom connection to hide internal structure.
Signed-off-by: Jaeyun Jung <jy1210.jung@samsung.com>
Jaeyun Jung [Thu, 2 Jan 2025 06:37:41 +0000 (15:37 +0900)]
[Custom] feature for custom connection
Add new definition to support custom connection (default on).
Signed-off-by: Jaeyun Jung <jy1210.jung@samsung.com>
Yelin Jeong [Fri, 3 Jan 2025 03:46:43 +0000 (12:46 +0900)]
[action] add missing python script
This patch adds missing python script gen_coverage_badge.py
Signed-off-by: Yelin Jeong <yelini.jeong@samsung.com>
Jaeyun Jung [Thu, 2 Jan 2025 05:07:24 +0000 (14:07 +0900)]
[CodeClean] fix segfault case
Fix segfault case,
1. stop sending thread before closing connection handle.
2. handle error case while pushing edge data into sending queue.
Signed-off-by: Jaeyun Jung <jy1210.jung@samsung.com>
Jaeyun Jung [Thu, 2 Jan 2025 04:59:31 +0000 (13:59 +0900)]
[Test] fix mem leak
Code clean, fix mem leak case in custom connection test.
Signed-off-by: Jaeyun Jung <jy1210.jung@samsung.com>
Jaeyun Jung [Thu, 2 Jan 2025 05:18:22 +0000 (14:18 +0900)]
[CodeClean] fix indent
Code clean, fix indentation reported from ci.
Signed-off-by: Jaeyun Jung <jy1210.jung@samsung.com>
Jaeyun Jung [Thu, 2 Jan 2025 01:23:15 +0000 (10:23 +0900)]
[CodeClean] check invalid param
Code clean, check invalid param case in custom connection.
Signed-off-by: Jaeyun Jung <jy1210.jung@samsung.com>
Jaeyun Jung [Thu, 2 Jan 2025 01:29:56 +0000 (10:29 +0900)]
[CodeClean] unnecessary header
Code clean, remove unnecessary header and print log for custom connection.
Signed-off-by: Jaeyun Jung <jy1210.jung@samsung.com>
Gichan Jang [Fri, 20 Dec 2024 05:04:54 +0000 (14:04 +0900)]
[Action] Remove i586 arch build from gbs
Since i586 arch has been not supported from Tizen, remove it.
Signed-off-by: Gichan Jang <gichan2.jang@samsung.com>
Gichan Jang [Fri, 20 Dec 2024 02:08:54 +0000 (11:08 +0900)]
[gcov] Fix invalid gcda files
Previously, a null file was created to cover cases where tests were not performed.
From the latest gcov version (gcov14), this is treated as an invalid gcda file, resulting in an
Change to merge the initialized info and test result info.
Signed-off-by: Gichan Jang <gichan2.jang@samsung.com>
Gichan Jang [Fri, 20 Dec 2024 01:54:30 +0000 (10:54 +0900)]
[Action] Add actions to replace TAOS-CI [2]
Add actions to replace TAOS-CI
*Split commit to avoid git push error due to large size of commit.
Signed-off-by: Gichan Jang <gichan2.jang@samsung.com>
Signed-off-by: Gichan Jang <gichan2.jang@samsung.com>
Gichan Jang [Fri, 20 Dec 2024 01:28:32 +0000 (10:28 +0900)]
[Action] Add actions to replace TAOS-CI
Add actions to replace TAOS-CI
Signed-off-by: Gichan Jang <gichan2.jang@samsung.com>
gichan2-jang [Fri, 13 Sep 2024 06:02:19 +0000 (15:02 +0900)]
[Event] Add new event type
Add new event type for new connection.
Signed-off-by: gichan2-jang <gichan2.jang@samsung.com>
gichan2-jang [Fri, 6 Sep 2024 00:56:16 +0000 (09:56 +0900)]
[AITT] Remove AITT connection
Remove AITT connection since AITT has been deprecated.
Signed-off-by: gichan2-jang <gichan2.jang@samsung.com>
Jaeyun Jung [Tue, 3 Sep 2024 01:00:46 +0000 (10:00 +0900)]
[Release] update version
Prepare Tizen 9.0 M2 release, update version.
Signed-off-by: Jaeyun Jung <jy1210.jung@samsung.com>
Jaeyun Jung [Mon, 2 Sep 2024 01:34:13 +0000 (10:34 +0900)]
[CodeClean/Test] unnecessary local variable
Fix build warning, remove unnecessary local variable.
Signed-off-by: Jaeyun Jung <jy1210.jung@samsung.com>
Jaeyun Jung [Wed, 28 Aug 2024 01:57:55 +0000 (10:57 +0900)]
[Event] util to get data
Add util function to get the edge event data, and remove unnecessary return code.
Signed-off-by: Jaeyun Jung <jy1210.jung@samsung.com>
Jaeyun Jung [Wed, 28 Aug 2024 01:56:55 +0000 (10:56 +0900)]
[Event] add lock
Add mutex lock in edge event handle and handle variables with lock.
Signed-off-by: Jaeyun Jung <jy1210.jung@samsung.com>
Jaeyun Jung [Mon, 26 Aug 2024 01:20:39 +0000 (10:20 +0900)]
[Queue] set magic in handle
Set magic when creating/destroying the queue handle.
Signed-off-by: Jaeyun Jung <jy1210.jung@samsung.com>
Jaeyun Jung [Fri, 23 Aug 2024 02:46:57 +0000 (11:46 +0900)]
[Doc] update API description
Code clean, update tags and API description.
Signed-off-by: Jaeyun Jung <jy1210.jung@samsung.com>
Jaeyun Jung [Fri, 23 Aug 2024 02:51:35 +0000 (11:51 +0900)]
[Queue] change param
Change function param, return error code when getting queue len.
Signed-off-by: Jaeyun Jung <jy1210.jung@samsung.com>
gichan2-jang [Thu, 22 Aug 2024 04:33:12 +0000 (13:33 +0900)]
Export edge data and event functions.
Export edge data and event functions for custom connections.
Signed-off-by: gichan2-jang <gichan2.jang@samsung.com>
Jaeyun Jung [Thu, 22 Aug 2024 01:20:54 +0000 (10:20 +0900)]
[Custom] separate custom impl
Separate custom connection implementation and update callbacks.
Signed-off-by: Jaeyun Jung <jy1210.jung@samsung.com>
Jaeyun Jung [Wed, 21 Aug 2024 08:11:16 +0000 (17:11 +0900)]
[Custom] fix leak case
Code clean,
- fix indent and mem leak case.
- check invalid custom handle case.
Signed-off-by: Jaeyun Jung <jy1210.jung@samsung.com>
Jaeyun Jung [Wed, 21 Aug 2024 07:55:36 +0000 (16:55 +0900)]
[Doc] update description
Update header file - fix param and return code.
Signed-off-by: Jaeyun Jung <jy1210.jung@samsung.com>
Jaeyun Jung [Wed, 21 Aug 2024 07:45:37 +0000 (16:45 +0900)]
[Test] file name for test
Code clean, update file name for custom library test and fix indent.
Signed-off-by: Jaeyun Jung <jy1210.jung@samsung.com>
gichan2-jang [Fri, 16 Aug 2024 06:04:40 +0000 (15:04 +0900)]
[TEST] Add unit test for custom connection
Add unit test for custom connection
*linnnstreamer-edge-cusom.so is not real implementation just for test
Signed-off-by: gichan2-jang <gichan2.jang@samsung.com>
gichan2-jang [Fri, 16 Aug 2024 01:08:10 +0000 (10:08 +0900)]
[Custom] Implement custom connection
Implement custom connection
@todo: Add unit test case
Signed-off-by: gichan2-jang <gichan2.jang@samsung.com>
gichan2-jang [Tue, 13 Aug 2024 07:54:27 +0000 (16:54 +0900)]
Add skeleton code for custom connection
User can create tehir own connection type using custom connection.
Signed-off-by: gichan2-jang <gichan2.jang@samsung.com>
gichan2-jang [Mon, 1 Jul 2024 05:25:32 +0000 (14:25 +0900)]
Fix typo
Fux typo detected by spell checker
Signed-off-by: gichan2-jang <gichan2.jang@samsung.com>
gichan2-jang [Mon, 1 Jul 2024 05:20:16 +0000 (14:20 +0900)]
[Actions] Add spell checker
Add spell checker github action.
Signed-off-by: gichan2-jang <gichan2.jang@samsung.com>
Yongjoo Ahn [Tue, 30 Apr 2024 06:43:32 +0000 (15:43 +0900)]
[spec] Fix lcov options for different Tizen/lcov versions
- Set proper lcov options w.r.t. Tizen/lcov versions.
Signed-off-by: Yongjoo Ahn <yongjoo1.ahn@samsung.com>
Yongjoo Ahn [Tue, 16 Apr 2024 08:59:59 +0000 (17:59 +0900)]
[common] Let edge wait listener thread to be started.
- Let the edge wait listener_thread to be properly started.
- This fix occasional hangs when nns_edge_release_handle called.
Signed-off-by: Yongjoo Ahn <yongjoo1.ahn@samsung.com>
seungha son [Thu, 28 Mar 2024 02:16:56 +0000 (11:16 +0900)]
[Github] Add issue and pull request templates
This PR is to create a templates to autemate issue and PR process.
Issue and PR templates still use the format of the parent project, nnstreamer, for uniformity.
(https://github.com/nnstreamer/nnstreamer/tree/main/.github)
Signed-off-by: seungha son <seungha.son@samsung.com>
seungha son [Thu, 28 Mar 2024 03:29:04 +0000 (12:29 +0900)]
[Edge] Add checking return value
In _nns_edge_transfer_data(), there is no checking return value.
It is difficult to check when a problem occurs during the data transmission process,
so check return values and add logs when problems occur.
Signed-off-by: seungha son <seungha.son@samsung.com>
gichan2-jang [Tue, 19 Mar 2024 01:33:01 +0000 (10:33 +0900)]
[Tizen] Fix gcov build error
Due to the lcov 2.0 upgrade, the warning is changed to error so the gcov build fails.
Ignore this case. (Tizen PM guide)
Signed-off-by: gichan2-jang <gichan2.jang@samsung.com>
gichan2-jang [Mon, 11 Mar 2024 09:42:56 +0000 (18:42 +0900)]
[AITT] Remove AITT
Remove AITT connection from nnstreamer-edge because AITT is removed from Tizen platform.
* Remove nnstreamer-edge-aitt.c later.
Signed-off-by: gichan2-jang <gichan2.jang@samsung.com>
linuxias [Tue, 27 Feb 2024 14:10:52 +0000 (23:10 +0900)]
github-action/gbs: Build nnstreamer-edge based all architecture
Current, build only x86-64 architecture. This patch is to support
to build x86_64, i586, armv7l aarch64 architecture
Signed-off-by: linuxias <linuxias@gmail.com>
Jaeyun Jung [Mon, 5 Feb 2024 09:43:06 +0000 (18:43 +0900)]
[MQTT] clearly set null when closing connection
Clearly set connection state and handle when closing MQTT connection.
Signed-off-by: Jaeyun Jung <jy1210.jung@samsung.com>
Jaeyun Jung [Thu, 7 Dec 2023 12:06:20 +0000 (21:06 +0900)]
[Build] nns-edge version info
Update build script to set version info.
Signed-off-by: Jaeyun Jung <jy1210.jung@samsung.com>
hyunil park [Wed, 18 Oct 2023 05:16:54 +0000 (14:16 +0900)]
[bugfix] Modify dlog output code
When outputting dlog using dlogutil in Tizen, garbage values are output
in the format starting with %
Signed-off-by: hyunil park <hyunil46.park@samsung.com>
Jaeyun Jung [Fri, 1 Dec 2023 09:04:40 +0000 (18:04 +0900)]
[Common] wait for thread with lock
Add lock to wait for creating new thread for data transfer.
Signed-off-by: Jaeyun Jung <jy1210.jung@samsung.com>
Jaeyun Jung [Fri, 1 Dec 2023 09:03:03 +0000 (18:03 +0900)]
[CodeClean] cleanup unnecessary line
Code clean, update log message and remove unnecessary line.
Signed-off-by: Jaeyun Jung <jy1210.jung@samsung.com>
Jaeyun Jung [Mon, 4 Dec 2023 09:15:37 +0000 (18:15 +0900)]
[AITT] find library using pkgconfig
Use pkgconfig to find AITT library.
Signed-off-by: Jaeyun Jung <jy1210.jung@samsung.com>
Jaeyun Jung [Mon, 6 Nov 2023 09:02:25 +0000 (18:02 +0900)]
[Common] max memories in nns-edge
nnstreamer now supports max 256 tensors in the buffer.
Increase max memories in nnstreamer-edge handle.
TODO:
We will fix the util functions in edge elements of nnstreamer, to handle memories in gst-buffer.
Signed-off-by: Jaeyun Jung <jy1210.jung@samsung.com>
gichan2-jang [Tue, 31 Oct 2023 08:22:06 +0000 (17:22 +0900)]
[Hybrid] Reconnect to available node
If current connection is lost, find availabe node and reconnect.
Previously, This recovery work is done by user application.
Let's make the users don't care about this work when using MQTT-HYBRID.
*edgesrc and tensor_query_* should be updated after this change.
Signed-off-by: gichan2-jang <gichan2.jang@samsung.com>
Yongjoo Ahn [Fri, 27 Oct 2023 10:28:02 +0000 (19:28 +0900)]
[Edge] Add cond for nns_edge_handle
- Add a pthread_cond for nns_edge_handle. And let the start method wait
for the cond to be signaled by send_thread.
- This prevents some race conditions when APIs are used while
send_thread is not yet started.
Signed-off-by: Yongjoo Ahn <yongjoo1.ahn@samsung.com>
hyunil park [Wed, 18 Oct 2023 00:50:53 +0000 (09:50 +0900)]
[bugfix] Set available port when user set port to '0'
- set available port when user set port to '0'
- ml service api set '0' as the default port if the port isn't set
but '0' is an invalid port
Signed-off-by: hyunil park <hyunil46.park@samsung.com>
linuxias [Fri, 13 Oct 2023 01:43:24 +0000 (10:43 +0900)]
[Test] Add queue fixture class
nns_edge_queue_h handle is always used tests related queue.
Using the fixture provided by gtest, the redundant code is
eliminated by separating repetitive tasks of allocating and
releasing queue handles.
Signed-off-by: linuxias <linuxias@gmail.com>
linuxias [Mon, 9 Oct 2023 20:47:34 +0000 (05:47 +0900)]
[Queue] Unify return format to nns_edge_error_e
The return type is changed from boolean to nns_edge_error_e type
in the same way as other modules. These changes provide uniformity
when using APIs, reducing confusion for developers.
Signed-off-by: linuxias <linuxias@gmail.com>
seungha son [Fri, 22 Sep 2023 04:23:34 +0000 (13:23 +0900)]
[Edge] Add metadata creation exception handling
It is necessary to consider the case of failing to generate Metadata
when creating the Edge handle. It is not good to deliver Edge handles
that have not been created normally to the user.
Signed-off-by: seungha son <linuxias@gmail.com>
seungha son [Fri, 22 Sep 2023 05:03:54 +0000 (14:03 +0900)]
[Edge] Remove '[DEBUG]' log format string
[DEBUG] string is unnecessary, nns_edge_logd() function
display DEBUG log level with log.
Signed-off-by: seungha son <linuxias@gmail.com>
gichan2-jang [Fri, 15 Sep 2023 07:46:44 +0000 (16:46 +0900)]
[AITT] Add publish_full
- Add publish_full
- Set default protocol as AITT_TCP
Signed-off-by: gichan2-jang <gichan2.jang@samsung.com>
Jaeyun Jung [Fri, 15 Sep 2023 09:35:46 +0000 (18:35 +0900)]
[Release] start impl for next release
Update version, start implementation for next release.
Signed-off-by: Jaeyun Jung <jy1210.jung@samsung.com>
Jaeyun Jung [Fri, 15 Sep 2023 04:55:09 +0000 (13:55 +0900)]
[CodeClean] validate str param
Code clean, macro to check input param.
Signed-off-by: Jaeyun Jung <jy1210.jung@samsung.com>
gichan2-jang [Wed, 13 Sep 2023 08:07:09 +0000 (17:07 +0900)]
[AITT] set/get option for AITT
- Add set/get option of AITT.
- Add releated unittests.
Signed-off-by: gichan2-jang <gichan2.jang@samsung.com>
create aitt handle with edge handle
Signed-off-by: gichan2-jang <gichan2.jang@samsung.com>
Jaeyun Jung [Tue, 12 Sep 2023 03:39:43 +0000 (12:39 +0900)]
[Release] update version
Update version to 0.2.4, Tizen M2 release.
Signed-off-by: Jaeyun Jung <jy1210.jung@samsung.com>
Jaeyun Jung [Thu, 7 Sep 2023 06:58:41 +0000 (15:58 +0900)]
[Cmd] version info in buffer
Add version info while sending and receiving buffer between edge connection.
TODO:
Now max memories in edge-data is 16. Check the limit when updating this definition.
Signed-off-by: Jaeyun Jung <jy1210.jung@samsung.com>
Jaeyun Jung [Thu, 7 Sep 2023 07:10:27 +0000 (16:10 +0900)]
[MQTT] function to clear retained msg
Add function to clear retained message, and set wait-time interval.
Signed-off-by: Jaeyun Jung <jy1210.jung@samsung.com>
gichan2-jang [Wed, 16 Aug 2023 09:29:30 +0000 (18:29 +0900)]
[MQTT] Wait until removing the retained message.
Change to wait until removing the retained message.
Signed-off-by: gichan2-jang <gichan2.jang@samsung.com>
Jaeyun Jung [Mon, 21 Aug 2023 08:54:37 +0000 (17:54 +0900)]
[Util] macro to wait condition
Update macro to wait timed-out condition.
Signed-off-by: Jaeyun Jung <jy1210.jung@samsung.com>
Jaeyun Jung [Mon, 21 Aug 2023 08:14:48 +0000 (17:14 +0900)]
[Tag] fix doxygen error
Code clean, fix indent and doxygen error from CI.
Signed-off-by: Jaeyun Jung <jy1210.jung@samsung.com>
Jaeyun Jung [Mon, 21 Aug 2023 08:09:41 +0000 (17:09 +0900)]
[MQTT] update handle name
Code clean, update param name - broker handle.
Signed-off-by: Jaeyun Jung <jy1210.jung@samsung.com>
Jaeyun Jung [Mon, 14 Aug 2023 10:46:49 +0000 (19:46 +0900)]
[Util] function to get version
Add util function to get the version of nnstreamer-edge.
TODO:
Add version info while sending or receiving data between the connected devices.
Signed-off-by: Jaeyun Jung <jy1210.jung@samsung.com>
gichan2-jang [Mon, 14 Aug 2023 07:34:22 +0000 (16:34 +0900)]
[Data] Add data and info clear function
Add function to clear raw data and info of edge data.
This does not release the edge data handle.
Signed-off-by: gichan2-jang <gichan2.jang@samsung.com>
Jaeyun Jung [Mon, 14 Aug 2023 10:50:57 +0000 (19:50 +0900)]
[Cmd] use fixed size in cmd struct
Internal fix to set fixed size of edge-cmd struct.
Signed-off-by: Jaeyun Jung <jy1210.jung@samsung.com>
Jaeyun Jung [Fri, 4 Aug 2023 11:34:31 +0000 (20:34 +0900)]
[CodeClean] fix typo
Code clean, fix typo in edge header.
Signed-off-by: Jaeyun Jung <jy1210.jung@samsung.com>
Jaeyun Jung [Fri, 4 Aug 2023 09:44:28 +0000 (18:44 +0900)]
[Build] install path for header
Update install path of nns-edge header.
Signed-off-by: Jaeyun Jung <jy1210.jung@samsung.com>
hyunil park [Wed, 12 Jul 2023 05:01:52 +0000 (14:01 +0900)]
[README] Modify guidelines for Build and Run test
When the user builds nnstreamer-edge directly, pkgconfig is installed in the "/" path.
Therefore, -DCMAKE_INSTALL_LIBDIR must be set together.
Signed-off-by: hyunil park <hyunil46.park@samsung.com>
gichan2-jang [Fri, 14 Jul 2023 00:47:58 +0000 (09:47 +0900)]
Add connection check API
Adds API that checks the connection of given edge handle.
Signed-off-by: gichan2-jang <gichan2.jang@samsung.com>
Jaeyun Jung [Tue, 13 Jun 2023 09:38:21 +0000 (18:38 +0900)]
[Test] negative case to set mqtt event
Add negative test of set-event in mqtt impl.
Signed-off-by: Jaeyun Jung <jy1210.jung@samsung.com>
Jaeyun Jung [Tue, 13 Jun 2023 08:57:08 +0000 (17:57 +0900)]
[Build] start devel of 0.2.3
Update version, devel v2.3.0 for Tizen 8.0.
Signed-off-by: Jaeyun Jung <jy1210.jung@samsung.com>
gichan2-jang [Fri, 2 Jun 2023 03:48:28 +0000 (12:48 +0900)]
Release of 0.2.2, LTS for TizenRT
This is new LTS release for TizenRT.
Signed-off-by: gichan2-jang <gichan2.jang@samsung.com>
Jaeyun Jung [Tue, 2 May 2023 07:51:28 +0000 (16:51 +0900)]
[CodeClean] remove unnecessary code
Code clean, fix indent and remove unnecessary lines.
Signed-off-by: Jaeyun Jung <jy1210.jung@samsung.com>
gichan [Mon, 24 Apr 2023 05:52:39 +0000 (14:52 +0900)]
[Tizen] Exclude test files for SAM
Exclude test files for SAM
Signed-off-by: gichan <gichan2.jang@samsung.com>
Jaeyun Jung [Fri, 21 Apr 2023 08:12:58 +0000 (17:12 +0900)]
[Socket] use getaddrinfo to fill socketaddr
Fix svace issue. The function gethostbyname is unsafe function, use getaddrinfo instead.
Signed-off-by: Jaeyun Jung <jy1210.jung@samsung.com>
Seungha Son [Thu, 6 Apr 2023 15:16:31 +0000 (00:16 +0900)]
[Build] Move NNS_EDGE_LIB_NAME variable to root CMakeLists.txt
Move the NNS_EDGE_LIB_NAME variable from the src/CMakeLists.txt to
CMakeLists.txt in the root directory.
Since the nnstreamer-edge value is also referenced in the
tests/CMakeLists.txt file, change the variable to use in common to
minimize human errors.
Signed-off-by: Seungha Son <linuxias@gmail.com>
gichan [Thu, 6 Apr 2023 09:37:39 +0000 (18:37 +0900)]
[Edge] Remove unnecessary pthread attribute.
'JOINABLE' is the default atribute of the pthread, so remove the attribute.
*note: Some TizenRT board don't support this option.
Signed-off-by: gichan <gichan2.jang@samsung.com>
gichan [Tue, 4 Apr 2023 02:02:51 +0000 (11:02 +0900)]
[Edge] Initialize caps
Initialize caps when creating edge handler.
Signed-off-by: gichan <gichan2.jang@samsung.com>
gichan [Tue, 4 Apr 2023 01:59:07 +0000 (10:59 +0900)]
[MQTT] Change timeout for getting message from mqtt broker
Change timeout for getting message from mqtt broker.
default timeout: 0 (infinite timeout)
Signed-off-by: gichan <gichan2.jang@samsung.com>
Seungha Son [Sat, 1 Apr 2023 15:32:14 +0000 (00:32 +0900)]
[Git] Add ignore list related with CMake
This patch is to ignore cmake related files generated after the build.
Signed-off-by: Seungha Son <linuxias@gmail.com>
Seungha Son [Sat, 1 Apr 2023 15:54:29 +0000 (00:54 +0900)]
[Test] fix memory leak
When running the test, the memory is not released,
fx the memory-leak by releasing the memory before the end of the test.
Signed-off-by: Seungha Son <linuxias@gmail.com>
gichan [Wed, 29 Mar 2023 06:41:13 +0000 (15:41 +0900)]
[README] Add quick start guide
Add quick start guide
- install nnstreamer-edge via ppa
- build and run unit tests
Signed-off-by: gichan <gichan2.jang@samsung.com>
Jaeyun Jung [Mon, 20 Mar 2023 09:01:45 +0000 (18:01 +0900)]
[CodeClean] fix res leak case
Fix svace issues, handle res leak.
Signed-off-by: Jaeyun Jung <jy1210.jung@samsung.com>
Jaeyun Jung [Mon, 20 Mar 2023 05:08:14 +0000 (14:08 +0900)]
[CodeClean] handle error case
Handle error case, add line comment and fix build error.
Signed-off-by: Jaeyun Jung <jy1210.jung@samsung.com>
Jaeyun Jung [Mon, 20 Mar 2023 05:00:57 +0000 (14:00 +0900)]
[Api] flag to check state - started
Add internal flag to check edge-handle is started.
Signed-off-by: Jaeyun Jung <jy1210.jung@samsung.com>
Jaeyun Jung [Mon, 20 Mar 2023 04:56:53 +0000 (13:56 +0900)]
[Connection] remove conn-type udp
Remove enum - UDP connection, nnstreamer-edge handles TCP connection only.
Signed-off-by: Jaeyun Jung <jy1210.jung@samsung.com>
gichan [Mon, 13 Mar 2023 07:44:23 +0000 (16:44 +0900)]
[MQTT] Support MQTT direct data transmission
- Support MQTT direct data transmission.
- Add unit test for mqtt
Signed-off-by: gichan <gichan2.jang@samsung.com>
gichan [Tue, 14 Mar 2023 08:39:30 +0000 (17:39 +0900)]
[TizenRT] Remove object file when cleaning
Remove object files that are the result of TizenRT build when cleaning.
Signed-off-by: gichan <gichan2.jang@samsung.com>
gichan [Mon, 13 Mar 2023 07:45:27 +0000 (16:45 +0900)]
[MQTT] Change queue name
Change queue name from server_list to message_queue.
Change to general name to handle not only server information but also the raw data.
Signed-off-by: gichan <gichan2.jang@samsung.com>
Jaeyun [Thu, 12 Jan 2023 16:17:04 +0000 (01:17 +0900)]
[Queue] clear data when releasing the queue
Code clean, remove duplicated code to clear data.
Signed-off-by: Jaeyun <jy1210.jung@samsung.com>
gichan [Wed, 4 Jan 2023 05:45:48 +0000 (14:45 +0900)]
Change queue of the sending thread
- Release send queue after the send thread is finished.
- Add new function to clear the data in the queue.
Signed-off-by: Jaeyun <jy1210.jung@samsung.com>
Signed-off-by: gichan <gichan2.jang@samsung.com>
gichan [Tue, 3 Jan 2023 07:38:09 +0000 (16:38 +0900)]
Safe momory free
Set NULL after release the memory.
Signed-off-by: gichan <gichan2.jang@samsung.com>
Jaeyun [Tue, 3 Jan 2023 09:17:31 +0000 (18:17 +0900)]
[Common] fix ret code after creating a thread
Fix returned code after creating a thread.
Signed-off-by: Jaeyun <jy1210.jung@samsung.com>
Jaeyun [Tue, 3 Jan 2023 10:33:00 +0000 (19:33 +0900)]
[Connect] flag to check sending thread
1. Add flag to check sending thread.
2. Init data ptr and size in the queue.
Signed-off-by: Jaeyun <jy1210.jung@samsung.com>
Jaeyun [Tue, 6 Dec 2022 11:00:29 +0000 (20:00 +0900)]
[Data] util to check serialized data
Add util function to check serialized data ptr.
Signed-off-by: Jaeyun <jy1210.jung@samsung.com>
Jaeyun [Thu, 20 Oct 2022 08:29:51 +0000 (17:29 +0900)]
[Build] build option tizen
Add flag - build on Tizen and add dependency to dlog.
Signed-off-by: Jaeyun <jy1210.jung@samsung.com>
gichan [Wed, 7 Dec 2022 06:16:31 +0000 (15:16 +0900)]
[MQTT/temporal] Change log level
Change log level fron info to debug.
Signed-off-by: gichan <gichan2.jang@samsung.com>
Jaeyun [Mon, 5 Dec 2022 11:21:39 +0000 (20:21 +0900)]
[CodeClean/Handle] internal struct for handle
Code clean, move definition for internal data struct and cleanup headers.
Signed-off-by: Jaeyun <jy1210.jung@samsung.com>
Jaeyun [Tue, 6 Dec 2022 09:18:27 +0000 (18:18 +0900)]
[Test] remove unnecessary info
Code clean, remove unnecessary host info to run mqtt connection.
Signed-off-by: Jaeyun <jy1210.jung@samsung.com>