gichan [Mon, 29 Aug 2022 07:47:12 +0000 (16:47 +0900)]
[TEMP] Temporarily disable aitt_option
`aitt_option` is newest feature of the aitt.
It's not refelected on latest image. Temporarily remove aitt_option
feature.
Signed-off-by: gichan <gichan2.jang@samsung.com>
gichan [Thu, 1 Sep 2022 06:25:18 +0000 (15:25 +0900)]
[Cmake] Add option to change features.
Add build option to change features.
Signed-off-by: gichan <gichan2.jang@samsung.com>
gichan [Mon, 29 Aug 2022 07:25:32 +0000 (16:25 +0900)]
[TEST] Add AITT unittest cases
- Add AITT unittest cases
Signed-off-by: gichan <gichan2.jang@samsung.com>
gichan [Mon, 29 Aug 2022 07:24:56 +0000 (16:24 +0900)]
[AITT] Support AITT as edge connection type
Support AITT as edge connection type.
Signed-off-by: gichan <gichan2.jang@samsung.com>
gichan [Thu, 1 Sep 2022 02:24:24 +0000 (11:24 +0900)]
[TEST] Add uniitest for serealize the data
Add unittest for serialize the data.
Signed-off-by: gichan <gichan2.jang@samsung.com>
gichan [Tue, 30 Aug 2022 10:30:23 +0000 (19:30 +0900)]
[Common] Adding serialize/deserialze the edge data.
Adding serialize and deserialize the edge data.
Signed-off-by: gichan <gichan2.jang@samsung.com>
Jaeyun [Wed, 31 Aug 2022 04:48:35 +0000 (13:48 +0900)]
[Build] remove glib dependency
We replaced all glib functions in nns-edge, remove glib dependency.
Signed-off-by: Jaeyun <jy1210.jung@samsung.com>
gichan [Wed, 17 Aug 2022 08:24:35 +0000 (17:24 +0900)]
[WIP][Edge] Elaborate edge API description.
- Add elaborate edge API description.
- Add example code.
Signed-off-by: gichan <gichan2.jang@samsung.com>
Jaeyun [Tue, 30 Aug 2022 08:43:46 +0000 (17:43 +0900)]
[Connection] list of connections
Add list of connection data and remove glib table.
Signed-off-by: Jaeyun <jy1210.jung@samsung.com>
Jaeyun [Wed, 31 Aug 2022 03:18:49 +0000 (12:18 +0900)]
[Test] remove main loop
Remove glib main-loop and unnecessary thread in testcases.
Signed-off-by: Jaeyun <jy1210.jung@samsung.com>
Jaeyun [Wed, 31 Aug 2022 03:14:07 +0000 (12:14 +0900)]
[Test] alloc failure case
1. Add assertion when allocating memory for test-data is failed.
2. Replace g_free.
Signed-off-by: Jaeyun <jy1210.jung@samsung.com>
Jaeyun [Fri, 26 Aug 2022 06:42:04 +0000 (15:42 +0900)]
[Transfer] thread to send data
Add new thread to send data asynchronously.
Signed-off-by: Jaeyun <jy1210.jung@samsung.com>
Jaeyun [Wed, 31 Aug 2022 02:35:10 +0000 (11:35 +0900)]
[Util] generate client ID
Remove glib, add util function to generate client ID.
Signed-off-by: Jaeyun <jy1210.jung@samsung.com>
Jaeyun [Fri, 26 Aug 2022 06:31:23 +0000 (15:31 +0900)]
[MQTT] replace glib queue
Replace g-async-queue to internal queue in MQTT functions.
Signed-off-by: Jaeyun <jy1210.jung@samsung.com>
Jaeyun [Wed, 24 Aug 2022 09:46:45 +0000 (18:46 +0900)]
[Queue] base code for queue
Add base code for queue in nns-edge.
This will be used on TCP connection - thread to send data.
Signed-off-by: Jaeyun <jy1210.jung@samsung.com>
Jaeyun [Wed, 24 Aug 2022 09:39:56 +0000 (18:39 +0900)]
[CodeClean] separate util functions
Separate utility functions - header for log and utility.
Signed-off-by: Jaeyun <jy1210.jung@samsung.com>
Jaeyun [Tue, 30 Aug 2022 10:41:26 +0000 (19:41 +0900)]
Format to print client ID
Change data type to print client ID.
Signed-off-by: Jaeyun <jy1210.jung@samsung.com>
Jaeyun [Thu, 25 Aug 2022 10:32:44 +0000 (19:32 +0900)]
[Interface] rename (publish to send)
Prepare interface udpate,
- rename publish() to send()
- remove testcase - no client ID in data (If data handle does not have client ID, it will send data to all connected nodes.)
Signed-off-by: Jaeyun <jy1210.jung@samsung.com>
gichan [Wed, 24 Aug 2022 07:38:12 +0000 (16:38 +0900)]
[Edge] Remove unnecessary functions.
Remove unnecessary functions (sub, unsub).
@todo: nns_edge_publish will be renamed.
Signed-off-by: gichan <gichan2.jang@samsung.com>
Jaeyun [Wed, 24 Aug 2022 03:48:25 +0000 (12:48 +0900)]
[CodeClean] function to fill socket addr struct
Code clean, change var type (bool) and define internal function to fill socket address struct.
Signed-off-by: Jaeyun <jy1210.jung@samsung.com>
MyungJoo Ham [Tue, 23 Aug 2022 10:55:40 +0000 (19:55 +0900)]
Test nnstreamer-edge related test cases only with integration tests.
Applying the suggestion of @gichan-jang
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Co-authored-by: gichan-jang <56856496+gichan-jang@users.noreply.github.com>
MyungJoo Ham [Mon, 22 Aug 2022 08:31:48 +0000 (17:31 +0900)]
github-action: integration test w/ nnstreamer
Build & run test cases of nnstreamer to test
the integrity between nnstreamer-edge and nnstreamer.
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
gichan [Tue, 23 Aug 2022 04:32:45 +0000 (13:32 +0900)]
[Log] Temporarily disable unimportant messages
Temporarily disable unimportant messages.
TODO: Set log level.
Signed-off-by: gichan <gichan2.jang@samsung.com>
gichan [Tue, 23 Aug 2022 04:23:38 +0000 (13:23 +0900)]
[Listener] Set listerner host address
- Set listerner host address given from user.
- Set thread running flag before close the connection.
Signed-off-by: gichan <gichan2.jang@samsung.com>
Jaeyun [Thu, 18 Aug 2022 06:55:18 +0000 (15:55 +0900)]
[Socket] remove gio lib
Update code - socket connection, remove gio library.
Signed-off-by: Jaeyun <jy1210.jung@samsung.com>
Jaeyun [Thu, 18 Aug 2022 10:35:26 +0000 (19:35 +0900)]
[Test] set valid condition for MQTT test
Set valid condition and start MQTT to run invalid param TCs.
Signed-off-by: Jaeyun <jy1210.jung@samsung.com>
Jaeyun [Wed, 17 Aug 2022 06:37:47 +0000 (15:37 +0900)]
[CodeClean] param to send/recv data
Code clean, prepare socket impl without glib.
Signed-off-by: Jaeyun <jy1210.jung@samsung.com>
Jaeyun [Tue, 16 Aug 2022 07:57:02 +0000 (16:57 +0900)]
[Spec] features for tizen release
Add features for tizen build - mqtt and dlog.
Signed-off-by: Jaeyun <jy1210.jung@samsung.com>
Jaeyun [Tue, 16 Aug 2022 11:23:48 +0000 (20:23 +0900)]
[Test] testcase for serialization of edge-data
Add testcases to handle error case of serialization in edge-data.
Signed-off-by: Jaeyun <jy1210.jung@samsung.com>
Jaeyun [Fri, 12 Aug 2022 11:11:59 +0000 (20:11 +0900)]
[MQTT] remove connection cb
Remove callbacks for connection, waiting for connection or disconnection state.
Signed-off-by: Jaeyun <jy1210.jung@samsung.com>
Jaeyun [Fri, 12 Aug 2022 11:32:50 +0000 (20:32 +0900)]
[Test] info from edge handle
Add testcases to set/get the info from edge handle.
Signed-off-by: Jaeyun <jy1210.jung@samsung.com>
Jaeyun [Fri, 12 Aug 2022 08:32:15 +0000 (17:32 +0900)]
[CodeClean] handle allocation failure case
Fix svace issue, handle error case if memory allocation is failed.
Signed-off-by: Jaeyun <jy1210.jung@samsung.com>
Jaeyun [Fri, 12 Aug 2022 07:56:16 +0000 (16:56 +0900)]
[Build] dependency to mqtt lib
Find pkgconfig or library of mqtt library, and set flags if found dependency to mqtt.
Fix build error (invalid args when calling mqtt-connect in test).
Handle invalid param - topic.
Signed-off-by: Jaeyun <jy1210.jung@samsung.com>
gichan [Thu, 11 Aug 2022 06:36:49 +0000 (15:36 +0900)]
[Edge] Add mqtt hybrid unittest
- Add mqtt hybrid unittest.
Signed-off-by: gichan <gichan2.jang@samsung.com>
gichan [Fri, 12 Aug 2022 02:07:13 +0000 (11:07 +0900)]
[Coverity] Initialize the command
- Initialize the command info.
Signed-off-by: gichan <gichan2.jang@samsung.com>
Jaeyun [Thu, 11 Aug 2022 07:19:13 +0000 (16:19 +0900)]
[MQTT] topic in broker handle
1. Do not replace topic string in edge handle (set topic in mqtt-handle).
2. Use util function to get/parse host string.
3. Fix res leak case when mqtt connection is failed.
4. Code clean, remove unnecessary conversion after allocating new memory for mqtt-handle.
Signed-off-by: Jaeyun <jy1210.jung@samsung.com>
Jaeyun [Thu, 11 Aug 2022 07:13:48 +0000 (16:13 +0900)]
[Util] parse port number
Add util function to parse string and get port number.
Signed-off-by: Jaeyun <jy1210.jung@samsung.com>
gichan [Fri, 12 Aug 2022 01:08:38 +0000 (10:08 +0900)]
[Git] Add gitignore file
Ignore the files in the git repo.
Signed-off-by: gichan <gichan2.jang@samsung.com>
gichan [Mon, 8 Aug 2022 08:26:55 +0000 (17:26 +0900)]
[MQTT] Implement query mqtt hybrid feature
Implement query mqtt hybrid feature.
Signed-off-by: gichan <gichan2.jang@samsung.com>
Jaeyun [Wed, 3 Aug 2022 08:58:56 +0000 (17:58 +0900)]
[Data] lock in data handle
Add mutex lock in data handle and update function description.
Signed-off-by: Jaeyun <jy1210.jung@samsung.com>
Jaeyun [Wed, 20 Jul 2022 08:30:03 +0000 (17:30 +0900)]
[Test] testcases for metadata
Add new testcases for edge metadata and related functions.
Signed-off-by: Jaeyun <jy1210.jung@samsung.com>
Jaeyun [Wed, 20 Jul 2022 11:42:27 +0000 (20:42 +0900)]
[Meta] transfer metadata
When sending edge-data, transfer the metadata to destination.
Signed-off-by: Jaeyun <jy1210.jung@samsung.com>
Jaeyun [Wed, 20 Jul 2022 08:28:30 +0000 (17:28 +0900)]
[Meta] list for metadata
Replace hashtable (glib) to list, setting/getting metadata of edge handle.
Signed-off-by: Jaeyun <jy1210.jung@samsung.com>
Jaeyun [Wed, 20 Jul 2022 08:22:43 +0000 (17:22 +0900)]
[Meta] base code for metadata
Add new functions to handle metadata.
Signed-off-by: Jaeyun <jy1210.jung@samsung.com>
Jaeyun [Wed, 3 Aug 2022 11:32:43 +0000 (20:32 +0900)]
[Edge] handle invalid port number
Add error case if given port number is invalid.
Signed-off-by: Jaeyun <jy1210.jung@samsung.com>
Jaeyun [Thu, 4 Aug 2022 07:50:31 +0000 (16:50 +0900)]
[CodeClean] util function for host string
Code clean,
- define internal util functions for host string.
- update description and name rule.
Signed-off-by: Jaeyun <jy1210.jung@samsung.com>
Jaeyun [Thu, 28 Jul 2022 10:53:23 +0000 (19:53 +0900)]
[Interface] update edge interface
Update edge interfaces.
- request/respond functions are unnecessary as it can send a data by using publish.
- subscribe does not require data handle.
- define connect-type and flags for future work.
Signed-off-by: Jaeyun <jy1210.jung@samsung.com>
gichan [Thu, 21 Jul 2022 08:34:51 +0000 (17:34 +0900)]
[Debian] Use paho-mqtt w/o pkgconfing
- Use paho-mqtt without pkgcong.
Signed-off-by: gichan <gichan2.jang@samsung.com>
Jaeyun [Fri, 8 Jul 2022 11:50:10 +0000 (20:50 +0900)]
[Log] internal log function
Remove glib, add internal log function.
Signed-off-by: Jaeyun <jy1210.jung@samsung.com>
Jaeyun [Thu, 28 Jul 2022 03:48:09 +0000 (12:48 +0900)]
[Edge] handle connection failure case
Handle connection closed case, connection info in hashtable is null.
Signed-off-by: Jaeyun <jy1210.jung@samsung.com>
Jaeyun [Mon, 11 Jul 2022 10:40:05 +0000 (19:40 +0900)]
[Edge] remove client when received error
In message thread, remove connection data when received error from client.
Internally error command means closing socket.
Signed-off-by: Jaeyun <jy1210.jung@samsung.com>
Jaeyun [Fri, 22 Jul 2022 10:04:01 +0000 (19:04 +0900)]
[CodeClean] remove glib function
Update source to remove dependency to glib.
Signed-off-by: Jaeyun <jy1210.jung@samsung.com>
Jaeyun [Mon, 11 Jul 2022 05:17:23 +0000 (14:17 +0900)]
[Test] connect to local
Add testcase for edge connection and data transfer between local server and client.
Signed-off-by: Jaeyun <jy1210.jung@samsung.com>
Jaeyun [Wed, 20 Jul 2022 07:15:15 +0000 (16:15 +0900)]
[CodeClean] update indent and description
Code clean, fix indent and update description / log message.
Signed-off-by: Jaeyun <jy1210.jung@samsung.com>
gichan [Wed, 20 Jul 2022 05:48:10 +0000 (14:48 +0900)]
[Edge] Replace caps info
Replace caps info instead of appedning the string.
Signed-off-by: gichan <gichan2.jang@samsung.com>
Jaeyun [Fri, 8 Jul 2022 11:22:46 +0000 (20:22 +0900)]
[Util] macro safe-free
Remove glib, check mem ptr to release allocated memory.
Signed-off-by: Jaeyun <jy1210.jung@samsung.com>
Jaeyun [Wed, 13 Jul 2022 02:43:29 +0000 (11:43 +0900)]
[Socket] condition to release thread
Update src to close socket and release msg thread.
GSocket will close socket automatically if its ref count is 0.
Signed-off-by: Jaeyun <jy1210.jung@samsung.com>
Jaeyun [Fri, 15 Jul 2022 09:17:12 +0000 (18:17 +0900)]
[Svace] prevent warning
Prevent error case, handle memory limit when receiving data from socket.
Signed-off-by: Jaeyun <jy1210.jung@samsung.com>
Jaeyun [Fri, 15 Jul 2022 10:17:39 +0000 (19:17 +0900)]
[Util] function to get port number
Add util function to get available port.
TODO: update testcase (data transfer with fixed port) later.
Signed-off-by: Jaeyun <jy1210.jung@samsung.com>
Jaeyun [Mon, 11 Jul 2022 06:52:21 +0000 (15:52 +0900)]
[Edge] close listener in handle
1. When releasing handle, close socket listener.
2. Remove cancelable, we do not use it.
Signed-off-by: Jaeyun <jy1210.jung@samsung.com>
Jaeyun [Mon, 11 Jul 2022 05:17:23 +0000 (14:17 +0900)]
[Connection] cmd between server and client
Set flag to send/receive command and capability between server and client.
Signed-off-by: Jaeyun <jy1210.jung@samsung.com>
gichan [Thu, 14 Jul 2022 02:45:32 +0000 (11:45 +0900)]
[Edge] Change thread attribute
pthread_join can wait joinable thread.
So, change thread attribute.
Signed-off-by: gichan <gichan2.jang@samsung.com>
Jaeyun [Mon, 11 Jul 2022 09:26:09 +0000 (18:26 +0900)]
[Socket] condition to check socket
Check socket state before sending/receiving the edge command.
Signed-off-by: Jaeyun <jy1210.jung@samsung.com>
gichan [Mon, 11 Jul 2022 02:35:04 +0000 (11:35 +0900)]
[edge] Add UDP protocol enum.
- Add UDP protocol enum value.
Signed-off-by: gichan <gichan2.jang@samsung.com>
Jaeyun [Wed, 6 Jul 2022 01:52:52 +0000 (10:52 +0900)]
[Util] macro to check string
Add macro to check valid string.
Signed-off-by: Jaeyun <jy1210.jung@samsung.com>
MyungJoo Ham [Wed, 6 Jul 2022 07:22:07 +0000 (16:22 +0900)]
[github-action] add depedencies for ubuntu/cmake.
Add apt-get install for dependencies.
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Jaeyun [Tue, 5 Jul 2022 03:39:25 +0000 (12:39 +0900)]
[Test] unittest about edge event
Add basic testcases about edge event functions.
Signed-off-by: Jaeyun <jy1210.jung@samsung.com>
Jaeyun [Wed, 6 Jul 2022 05:26:19 +0000 (14:26 +0900)]
[Edge] unnecessary param and error case
Remove unnecessary param in edge APIs and fix error case.
Signed-off-by: Jaeyun <jy1210.jung@samsung.com>
gichan [Mon, 4 Jul 2022 10:53:42 +0000 (19:53 +0900)]
[Coverity] Check return value
Check return value of the socke lib function.
Signed-off-by: gichan <gichan2.jang@samsung.com>
MyungJoo Ham [Wed, 6 Jul 2022 04:47:13 +0000 (13:47 +0900)]
[github-action] add ubuntu cmake clean build
Add the most simple github-action build test script
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Jaeyun [Mon, 4 Jul 2022 09:35:45 +0000 (18:35 +0900)]
[Util] string util functions
Add util functions to copy memory. We should remove dependency to glib later.
Signed-off-by: Jaeyun <jy1210.jung@samsung.com>
gichan [Mon, 4 Jul 2022 09:46:14 +0000 (18:46 +0900)]
[README] Add coverage badge.
- Add nnstreamer-edge coverage badge.
Signed-off-by: gichan <gichan2.jang@samsung.com>
Jaeyun [Mon, 4 Jul 2022 10:38:33 +0000 (19:38 +0900)]
[Svace] fix svace issue
Fix svace issue, add unlock before return.
Signed-off-by: Jaeyun <jy1210.jung@samsung.com>
Jaeyun [Fri, 1 Jul 2022 07:52:33 +0000 (16:52 +0900)]
[Test] add basic unittest
Add testcases of nnstreamer-edge interfaces using gtest.
Signed-off-by: Jaeyun <jy1210.jung@samsung.com>
Jaeyun [Mon, 4 Jul 2022 08:02:08 +0000 (17:02 +0900)]
[Edge] validate command
Prevent receive failure, update source to validate edge command.
Signed-off-by: Jaeyun <jy1210.jung@samsung.com>
gichan [Mon, 4 Jul 2022 07:57:04 +0000 (16:57 +0900)]
[Coverity] Fix coverity issue.
- Initialize command before using to avoid tained data.
- Check return value whether it is negative or not.
Signed-off-by: gichan <gichan2.jang@samsung.com>
gichan [Mon, 4 Jul 2022 02:21:51 +0000 (11:21 +0900)]
[Style] Add clang format file
Add clang format file
- Copied from nnstreamer repo
Signed-off-by: gichan <gichan2.jang@samsung.com>
Jaeyun [Fri, 1 Jul 2022 08:58:37 +0000 (17:58 +0900)]
[Edge] size of data handle
Set arg - base type of edge-data handle.
Signed-off-by: Jaeyun <jy1210.jung@samsung.com>
Jaeyun [Fri, 1 Jul 2022 09:14:27 +0000 (18:14 +0900)]
[Edge] version info
Update version to 0.1.0 and add note about version information.
Signed-off-by: Jaeyun <jy1210.jung@samsung.com>
Sangjung Woo [Fri, 1 Jul 2022 10:27:26 +0000 (19:27 +0900)]
[Pkg] Add LICENSE file to rpm package
This patch adds the omitted LICENSE to the rpm package. This file is
mandatory for Tizen.org.
Signed-off-by: Sangjung Woo <sangjung.woo@samsung.com>
Jaeyun [Fri, 1 Jul 2022 09:27:28 +0000 (18:27 +0900)]
[Build] fix build error on tizen
Fix build error, temporal block the unittest.
Signed-off-by: Jaeyun <jy1210.jung@samsung.com>
Jaeyun [Fri, 1 Jul 2022 05:37:07 +0000 (14:37 +0900)]
[Test] update tcm config
Change tcc name to nnstreamer-edge.
Signed-off-by: Jaeyun <jy1210.jung@samsung.com>
gichan [Fri, 1 Jul 2022 05:07:16 +0000 (14:07 +0900)]
[Debian] Add missing package
Add missing package for debian build.
- Remove glib package later.
Signed-off-by: gichan <gichan2.jang@samsung.com>
Jaeyun [Fri, 1 Jul 2022 02:24:08 +0000 (11:24 +0900)]
[Edge] remove previous pkg
edge-sensor pkg is to provide a library for publishing data using mqtt.
Now we implemented new interfaces, so remove previous pkg.
Signed-off-by: Jaeyun <jy1210.jung@samsung.com>
Yongjoo Ahn [Fri, 1 Jul 2022 04:23:11 +0000 (13:23 +0900)]
[build] Check glib version to set proper build flag
- Set GLIB_USE_G_MEMDUP2 when the version is >= 2.68
Signed-off-by: Yongjoo Ahn <yongjoo1.ahn@samsung.com>
Jaeyun [Tue, 28 Jun 2022 06:56:44 +0000 (15:56 +0900)]
[Test] temporal block
Temporally block the unittest, we should enable this after migrating nnstreamer-edge library.
Signed-off-by: Jaeyun <jy1210.jung@samsung.com>
Jaeyun [Mon, 27 Jun 2022 10:45:49 +0000 (19:45 +0900)]
[Edge] migrate nnstreamer-edge
Migrate nnstreamer-edge library from nnstreamer repo.
Signed-off-by: Jaeyun <jy1210.jung@samsung.com>
gichan [Thu, 30 Jun 2022 09:27:11 +0000 (18:27 +0900)]
[github] Add CODEOWNER file
Add code owners for the edge repo. Define specified owner later.
Signed-off-by: gichan <gichan2.jang@samsung.com>
Sangjung Woo [Fri, 17 Sep 2021 05:45:52 +0000 (14:45 +0900)]
[Sensor] Fix the indent format error
This patch fixes the indent format error.
Signed-off-by: Sangjung Woo <sangjung.woo@samsung.com>
Sangjung Woo [Fri, 17 Sep 2021 04:03:11 +0000 (13:03 +0900)]
[Spec] Add testcoverage option
To check the line & function coverage, this patch adds the testcoverage option.
Signed-off-by: Sangjung Woo <sangjung.woo@samsung.com>
Gichan Jang [Fri, 17 Sep 2021 00:12:32 +0000 (09:12 +0900)]
[Doxygen] Add doxygen tag
Add doxygen bried tag for edge info structure.
Signed-off-by: Gichan Jang <gichan2.jang@samsung.com>
Gichan Jang [Fri, 17 Sep 2021 00:09:07 +0000 (09:09 +0900)]
[Indent] Fix indent
Fix indent reported by TAOS-CI.
Signed-off-by: Gichan Jang <gichan2.jang@samsung.com>
Gichan Jang [Fri, 17 Sep 2021 00:02:21 +0000 (09:02 +0900)]
[CI] Add gbs conf file
- Add gbs conf file
Signed-off-by: Gichan Jang <gichan2.jang@samsung.com>
gichan [Wed, 15 Sep 2021 06:07:29 +0000 (15:07 +0900)]
[TEST] Add gtest
Add unit tests for edge sensor using GTest.
Signed-off-by: gichan <gichan2.jang@samsung.com>
Sangjung Woo [Thu, 9 Sep 2021 06:12:14 +0000 (15:12 +0900)]
[doc] Add README.md for developers
This patch adds README.md for developers to build and test
nnstreamer-edge-sensor library.
Signed-off-by: Sangjung Woo <sangjung.woo@samsung.com>
Sangjung Woo [Thu, 9 Sep 2021 06:06:18 +0000 (15:06 +0900)]
[test/sensor] Add more options to test various case
To test various case, this patch adds more options as below.
$ ./test_edge_sensor
Usage: ./tests/test_edge_sensor [-f jpeg_file] [-d directory] [-c count]
Signed-off-by: Sangjung Woo <sangjung.woo@samsung.com>
Sangjung Woo [Wed, 1 Sep 2021 06:07:18 +0000 (15:07 +0900)]
[debian] Support debian package
This patch enables the debian package for Ubuntu release.
Signed-off-by: Sangjung Woo <sangjung.woo@samsung.com>
Sangjung Woo [Wed, 1 Sep 2021 05:06:17 +0000 (14:06 +0900)]
[RPM] Support rpm package
This patch enables the RPM package for Tizen build infra.
Signed-off-by: Sangjung Woo <sangjung.woo@samsung.com>
Sangjung Woo [Tue, 6 Jul 2021 05:03:51 +0000 (14:03 +0900)]
[test/sensor] Add test case to publish the jpeg data
This test case publishes the jpeg data as "TestTopic" topic name 10
times. If data is successfully received, then the image is shown on the
server side.
Signed-off-by: Sangjung Woo <sangjung.woo@samsung.com>
Sangjung Woo [Fri, 2 Jul 2021 06:47:36 +0000 (15:47 +0900)]
[sensor] Add libedge-sensor library for edge sensor APIs
This patch newly adds the libedge-sensor library and its Edge sensor APIs
to publish the sensor data to the GStreamer pipeline. This version
includes the below APIs.
- edge_open_connection(): Open MQTT connection
- edge_publish_single_msg(): Publish the single message that contains
only one record.
- edge_close_connection(): Close the MQTT connection
Signed-off-by: Sangjung Woo <sangjung.woo@samsung.com>