Hyunho [Mon, 9 Aug 2021 01:29:37 +0000 (10:29 +0900)]
Fix signed to bigger unsigned bug
Change-Id: I86933d01775ef22e186a31c409cfcc7bfeb482ef
Signed-off-by: Hyunho <hhstark.kang@samsung.com>
SukhyungKang [Fri, 6 Aug 2021 01:35:45 +0000 (10:35 +0900)]
Release version 1.0.0
Change-Id: I3dcd1101e11d479f418e27a7ab30496f398dbf9b
Signed-off-by: SukhyungKang <shine.kang@samsung.com>
Sangyoon Jang [Thu, 5 Aug 2021 05:58:37 +0000 (14:58 +0900)]
Remove checking Wi-Fi status
Currently, the channel cannot detect connection lost after channel created.
Instead, cion(cine) will return error when the connection lost.
Change-Id: I99c43b7336e731a60f200efd9cc131946f09b534
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
jusung [Wed, 21 Jul 2021 06:17:07 +0000 (15:17 +0900)]
Change broadcast channel to group channel
Change-Id: Idf36096af3a87b43c3fea1efb9362197d953e1ad
Signed-off-by: jusung <jusung07.son@samsung.com>
jusung [Wed, 21 Jul 2021 06:08:48 +0000 (15:08 +0900)]
Revert "Change broadcast channel to group channel"
This reverts commit
1941567c4bc41c413d854362b1b82dda89d25484.
Change-Id: Ia0e00266a6d1a12ec4eb7f6d065b78174312adc8
Signed-off-by: jusung <jusung07.son@samsung.com>
jusung [Wed, 21 Jul 2021 06:02:11 +0000 (15:02 +0900)]
Change broadcast channel to group channel
Change-Id: Id1703d6dee6aaeea969d55f5fe3d4441b58dfb71
Signed-off-by: jusung <jusung07.son@samsung.com>
Inkyun Kil [Thu, 1 Jul 2021 01:33:51 +0000 (10:33 +0900)]
Add include <stdint.h> for uint64_t
To use 'cion_payload.h', make sure of header
Change-Id: Iae3097ad71a163435202a698cf37b1a86eb791e0
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
Sangyoon Jang [Wed, 14 Jul 2021 08:38:51 +0000 (17:38 +0900)]
Remove tab
Use space instead of tab for consistency.
Change-Id: I3610dab8135a3eeb6bc3f3512d250777835cb521
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Tue, 6 Jul 2021 08:56:08 +0000 (17:56 +0900)]
Use separated dp when sending synchronously
Change-Id: I619e4d4d5efdff094f8902ad7d9b7d868c20bee5
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
SukHyung Kang [Mon, 5 Jul 2021 05:35:47 +0000 (05:35 +0000)]
Merge "Gets uuid from esd" into tizen
SukHyung, Kang [Fri, 25 Jun 2021 09:21:32 +0000 (18:21 +0900)]
Gets uuid from esd
Change-Id: I20dadfed66188940c3a1c6567c981e76b6868aed
Signed-off-by: SukHyung, Kang <shine.kang@samsung.com>
Sangyoon Jang [Tue, 29 Jun 2021 08:19:02 +0000 (17:19 +0900)]
Fix name of VineInterface callbacks
To make more clear against callbacks related to PeerInfo.
- OnTerminated -> OnDpTerminated
- OnOpened -> OnDpOpened
- OnReceived -> OnDpReceived
- OnAccepted -> OnDpAccepted
- OnDiscovered -> OnDpDiscovered
- OnJoined -> OnDpJoined
- OnLeft -> OnDpLeft
Change-Id: Ia931747a7211d1a4dcf32c082d6d3d46c8afe220
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Tue, 29 Jun 2021 03:28:50 +0000 (12:28 +0900)]
Optimize some parameters
Use reference or move semantics instead of copy.
Change-Id: Iab4c4f5981a7982290843b497b71d6f353f665d2
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Mon, 28 Jun 2021 10:06:03 +0000 (19:06 +0900)]
Improve readability of ServerChannel
- Move all implementation into Impl class
- Fix ordering of methods
- Remove duplicated methods
- Fix typo
Change-Id: I0760ca593524f4c31a541ba06252f94b68e69c00
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Hyunho [Fri, 25 Jun 2021 06:58:03 +0000 (15:58 +0900)]
Remove error callback
Change-Id: Iba1acf29877ae5c219991c010f07a6624fe7e08a
Signed-off-by: Hyunho <hhstark.kang@samsung.com>
Sangyoon Jang [Fri, 25 Jun 2021 08:57:24 +0000 (17:57 +0900)]
Fix build warnings
Change-Id: I047a10b1a88a424663f96808321e010e4dbfca66
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Hwankyu Jhun [Mon, 28 Jun 2021 00:54:25 +0000 (09:54 +0900)]
Use temporary variable
While retrieving the peer list in SendPayloadAsync() method,
the 'to' variable should be used.
Change-Id: I0506ed5a4b925b5fff882205f971ce8be6851606
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Sangyoon Jang [Fri, 25 Jun 2021 08:21:33 +0000 (17:21 +0900)]
Fix crash when sending payload async
cion server/client may not provide callback for sending payload async.
Change-Id: I5956b4c744000747fa744a2ce72e23a92499585b
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Fri, 25 Jun 2021 07:08:36 +0000 (16:08 +0900)]
Remove duplicated code
Fix ServerChannel::SendPayloadAsync().
Change-Id: I90e98cdd4486f0f21f9d63f59fd771b09c8a000f
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Fri, 25 Jun 2021 05:30:28 +0000 (14:30 +0900)]
Fix coding style
Change-Id: Ibc6034f7b1918b3887a3ef1562827e9d829dc363
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Tue, 22 Jun 2021 08:27:44 +0000 (17:27 +0900)]
Improve readability of ClientChannel
Move all implementation into Impl class.
Fix ordering of methods.
Change-Id: I20e8f783e1f496572c4af475245b2609515dbd14
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Hyunho [Wed, 23 Jun 2021 06:58:00 +0000 (15:58 +0900)]
Remove duplication
Change-Id: I93921fbfde6c0a6fac549c2e636d21eed6ff78c5
Signed-off-by: Hyunho <hhstark.kang@samsung.com>
jusung [Tue, 22 Jun 2021 01:01:28 +0000 (10:01 +0900)]
Fix build error
- Resolve IP based on address family
Change-Id: I6a0812fe55e210a91235d6525bdaafddb46dfd62
Signed-off-by: jusung <jusung07.son@samsung.com>
Hyunho [Mon, 21 Jun 2021 06:36:23 +0000 (15:36 +0900)]
Add missing param name
Signed-off-by: Hyunho <hhstark.kang@samsung.com>
Hyunho [Mon, 21 Jun 2021 06:35:14 +0000 (15:35 +0900)]
Use uint64_t instead of long
Signed-off-by: Hyunho <hhstark.kang@samsung.com>
Hyunho [Mon, 21 Jun 2021 02:18:07 +0000 (11:18 +0900)]
Add get payload id capi
Signed-off-by: Hyunho <hhstark.kang@samsung.com>
Hyunho [Mon, 14 Jun 2021 11:38:32 +0000 (20:38 +0900)]
Fix wrong header format
Signed-off-by: Hyunho <hhstark.kang@samsung.com>
Hyunho [Mon, 14 Jun 2021 11:35:55 +0000 (20:35 +0900)]
Remove unnecessary character
Signed-off-by: Hyunho <hhstark.kang@samsung.com>
Hyunho [Mon, 14 Jun 2021 08:14:49 +0000 (17:14 +0900)]
Add server side async result logic
Signed-off-by: Hyunho <hhstark.kang@samsung.com>
Hyunho [Fri, 11 Jun 2021 07:54:01 +0000 (16:54 +0900)]
Add peerinfo for payload async result and capi
Signed-off-by: Hyunho <hhstark.kang@samsung.com>
Hyunho [Mon, 7 Jun 2021 08:19:52 +0000 (17:19 +0900)]
Add a callback to receive async calls' result
Signed-off-by: Hyunho <hhstark.kang@samsung.com>
Sangyoon Jang [Wed, 9 Jun 2021 05:22:38 +0000 (14:22 +0900)]
Invoke OnConnectionResult at the main thread
Change-Id: I0dd7cc64301773b538af5ece47e7a8dc45ba437f
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
jusung [Wed, 9 Jun 2021 08:32:32 +0000 (17:32 +0900)]
Remove unnecessary log
Signed-off-by: jusung <jusung07.son@samsung.com>
jusung [Wed, 9 Jun 2021 06:50:36 +0000 (15:50 +0900)]
Fix discovery bug
- discovered_cb may be invoked before the service_name_ is set
Signed-off-by: jusung <jusung07.son@samsung.com>
jusung [Wed, 2 Jun 2021 08:11:52 +0000 (17:11 +0900)]
Fix coding rule
Signed-off-by: jusung <jusung07.son@samsung.com>
jusung [Wed, 2 Jun 2021 08:01:45 +0000 (17:01 +0900)]
Fix coding rule
Signed-off-by: jusung <jusung07.son@samsung.com>
jusung [Wed, 2 Jun 2021 02:46:25 +0000 (11:46 +0900)]
Use unordered_map instead of map
Signed-off-by: jusung <jusung07.son@samsung.com>
jusung [Tue, 1 Jun 2021 11:55:41 +0000 (20:55 +0900)]
Fix coding rule
Signed-off-by: jusung <jusung07.son@samsung.com>
jusung [Tue, 1 Jun 2021 11:49:50 +0000 (20:49 +0900)]
Use peer_id instead of ip address in pub/sub
Signed-off-by: jusung <jusung07.son@samsung.com>
jusung [Mon, 31 May 2021 05:44:26 +0000 (14:44 +0900)]
Apply vine_dp_set_remote_port
- vine_dp_set_port has been separated into vine_dp_set_port and vine_dp_set_remote_port
Signed-off-by: jusung <jusung07.son@samsung.com>
jusung [Tue, 18 May 2021 00:58:56 +0000 (09:58 +0900)]
Add joined/left callback
Signed-off-by: jusung <jusung07.son@samsung.com>
Sangyoon Jang [Tue, 1 Jun 2021 08:57:14 +0000 (17:57 +0900)]
Fix uninitialized variable of ChannelJob
Change-Id: I45489ee220209d9f9acb0dc92d594249a1c08e41
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Tue, 1 Jun 2021 08:36:18 +0000 (17:36 +0900)]
Fix static analysis issue
Fix UNSPECIFIED_CHAR_IN_COND
Change-Id: Iaee70b16e93ac1084c703046b6733b70a06dec49
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Tue, 1 Jun 2021 08:10:16 +0000 (17:10 +0900)]
Fix uninitialized variables of constructor
Change-Id: Iaada67b33961eba98e3abefd52e86bfb8bae2624
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Tue, 1 Jun 2021 07:15:26 +0000 (16:15 +0900)]
Set enum class PayloadType as char type
Change-Id: Ifd47a905ce9e0f29692317baefdadc962fedd2f1
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Tue, 1 Jun 2021 07:15:21 +0000 (16:15 +0900)]
Fix build error
Change-Id: Ic4cc27d74a04fdb7766c41d7548ed9fc541203be
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
review-bot [Thu, 27 May 2021 07:02:48 +0000 (16:02 +0900)]
Fix UNSPECIFIED_CHAR_IN_COND
review-bot [Thu, 27 May 2021 07:02:56 +0000 (16:02 +0900)]
Fix UNINIT.CTOR
Hyunho [Thu, 27 May 2021 07:11:08 +0000 (16:11 +0900)]
Merge branch 'hhstark-kang-master'
Hyunho [Thu, 27 May 2021 05:58:31 +0000 (14:58 +0900)]
Implement missing server's OnConnectionResult logic
Signed-off-by: Hyunho <hhstark.kang@samsung.com>
강현호/Tizen Platform Lab(SR)/Engineer/삼성전자 [Thu, 27 May 2021 05:10:04 +0000 (14:10 +0900)]
Merge pull request #24 from appfw/master
Sync
Sangyoon Jang [Tue, 25 May 2021 05:46:33 +0000 (14:46 +0900)]
Fix to throw exception when ServerChannel::Listen() failed
Change-Id: I04617185f473ef23ed4ea8b949dfb30d66de88cf
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Fri, 21 May 2021 06:56:13 +0000 (15:56 +0900)]
Remove submodules
Submodule is no longer used.
Change-Id: I3aacc92f43fe551783efabcedfad5c379ddf41a7
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Fri, 21 May 2021 06:24:57 +0000 (15:24 +0900)]
Add handling exceptions
Change-Id: I139f31f70b7b1bede1aa78344936d73facb44f82
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Fri, 21 May 2021 05:19:51 +0000 (14:19 +0900)]
Convert vine error to cion error
Change-Id: Id4ae48ae137aa4202dfc36fb8c2faac3fdea871b
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Thu, 20 May 2021 09:09:03 +0000 (18:09 +0900)]
Fix doxygen comments of cion_error.hh
Change-Id: I9d4be16f764e1bed955bb1b0d98cce342966b771
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
강현호/Tizen Platform Lab(SR)/Engineer/삼성전자 [Wed, 12 May 2021 04:44:51 +0000 (13:44 +0900)]
Merge pull request #23 from appfw/master
Set security info at dp
Sangyoon Jang [Thu, 22 Apr 2021 08:14:48 +0000 (17:14 +0900)]
Set security info at dp
Change-Id: I7fb07b8e1bc9e7900c76a077fca227ef6c630cb5
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
강현호/Tizen Platform Lab(SR)/Engineer/삼성전자 [Tue, 11 May 2021 07:21:45 +0000 (16:21 +0900)]
Merge pull request #22 from appfw/master
Sync
jusung [Fri, 7 May 2021 06:12:58 +0000 (15:12 +0900)]
Add reject reason
Signed-off-by: jusung <jusung07.son@samsung.com>
jusung [Fri, 7 May 2021 05:41:20 +0000 (14:41 +0900)]
Add missing peer_info
Signed-off-by: jusung <jusung07.son@samsung.com>
강현호/Tizen Platform Lab(SR)/Engineer/삼성전자 [Fri, 7 May 2021 02:39:35 +0000 (11:39 +0900)]
Merge pull request #21 from appfw/master
Sync
Sangyoon Jang [Wed, 28 Apr 2021 06:31:08 +0000 (15:31 +0900)]
Fix vine discovering
Filter discovered services using service name.
Change-Id: I1ee94cc9d67be4d3d7796a7138d300e953582599
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
jusung [Thu, 6 May 2021 09:40:48 +0000 (18:40 +0900)]
Fix wrong comparison statement
Signed-off-by: jusung <jusung07.son@samsung.com>
Hyunho [Thu, 6 May 2021 10:22:22 +0000 (19:22 +0900)]
Add missing disconnected impl
Signed-off-by: Hyunho <hhstark.kang@samsung.com>
Hyunho [Thu, 6 May 2021 10:22:22 +0000 (19:22 +0900)]
Add missing disconnected impl
Signed-off-by: Hyunho <hhstark.kang@samsung.com>
Hyunho [Thu, 6 May 2021 06:38:45 +0000 (15:38 +0900)]
Fix GetDp bug
Signed-off-by: Hyunho <hhstark.kang@samsung.com>
hyunho [Tue, 4 May 2021 01:40:47 +0000 (10:40 +0900)]
Add capi Disconnected callback
Signed-off-by: hyunho <hhstark.kang@samsung.com>
SukHyung, Kang [Wed, 28 Apr 2021 08:11:03 +0000 (17:11 +0900)]
Add timeout sequence for senddata sync calling
Signed-off-by: SukHyung, Kang <shine.kang@samsung.com>
Hyunho [Thu, 6 May 2021 06:38:45 +0000 (15:38 +0900)]
Fix GetDp bug
Signed-off-by: Hyunho <hhstark.kang@samsung.com>
hyunho [Tue, 4 May 2021 01:40:47 +0000 (10:40 +0900)]
Add capi Disconnected callback
Signed-off-by: hyunho <hhstark.kang@samsung.com>
hyunho [Tue, 4 May 2021 01:19:36 +0000 (10:19 +0900)]
Add missing assingment
Signed-off-by: hyunho <hhstark.kang@samsung.com>
hyunho [Mon, 3 May 2021 09:05:35 +0000 (18:05 +0900)]
Check IP and Port to prevent duplication
Signed-off-by: hyunho <hhstark.kang@samsung.com>
hyunho [Mon, 3 May 2021 04:46:53 +0000 (13:46 +0900)]
Merge branch 'master' of github.sec.samsung.net:hhstark-kang/cion
Signed-off-by: hyunho <hhstark.kang@samsung.com>
hyunho [Mon, 3 May 2021 04:44:32 +0000 (13:44 +0900)]
Fix a discovery duplication issue
Signed-off-by: hyunho <hhstark.kang@samsung.com>
강현호/Tizen Platform Lab(SR)/Engineer/삼성전자 [Mon, 3 May 2021 04:42:28 +0000 (13:42 +0900)]
Merge pull request #20 from appfw/master
Sync
Inkyun Kil [Mon, 3 May 2021 02:36:32 +0000 (11:36 +0900)]
Fix bug for client peerinfo
- When sending client peerinfo to the server,
incorrected peerinfo was delivered
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
hyunho [Thu, 29 Apr 2021 10:33:34 +0000 (19:33 +0900)]
Fix wrong pointer comparison
Signed-off-by: hyunho <hhstark.kang@samsung.com>
hyunho [Thu, 29 Apr 2021 10:33:34 +0000 (19:33 +0900)]
Fix wrong pointer comparison
Signed-off-by: hyunho <hhstark.kang@samsung.com>
강현호/Tizen Platform Lab(SR)/Engineer/삼성전자 [Thu, 29 Apr 2021 09:13:26 +0000 (18:13 +0900)]
Merge pull request #19 from appfw/master
Sync
jusung [Thu, 29 Apr 2021 08:10:12 +0000 (17:10 +0900)]
Fix crash issue
Signed-off-by: jusung <jusung07.son@samsung.com>
hyunho [Wed, 28 Apr 2021 08:02:06 +0000 (17:02 +0900)]
git push origin "master"Merge branch 'hhstark-kang-master'
강현호/Tizen Platform Lab(SR)/Engineer/삼성전자 [Wed, 28 Apr 2021 07:59:48 +0000 (16:59 +0900)]
Merge branch 'master' into master
hyunho [Wed, 28 Apr 2021 07:40:39 +0000 (16:40 +0900)]
Remove wrong null check
Signed-off-by: hyunho <hhstark.kang@samsung.com>
hyunho [Wed, 28 Apr 2021 07:33:59 +0000 (16:33 +0900)]
Check null data send
Signed-off-by: hyunho <hhstark.kang@samsung.com>
hyunho [Wed, 28 Apr 2021 07:26:36 +0000 (16:26 +0900)]
Fix wrong signature
Signed-off-by: hyunho <hhstark.kang@samsung.com>
hyunho [Wed, 28 Apr 2021 06:56:57 +0000 (15:56 +0900)]
Fix null ref
Signed-off-by: hyunho <hhstark.kang@samsung.com>
hyunho [Wed, 28 Apr 2021 06:19:55 +0000 (15:19 +0900)]
Add Reject / Accept methods
Signed-off-by: hyunho <hhstark.kang@samsung.com>
hyunho [Tue, 27 Apr 2021 07:27:50 +0000 (16:27 +0900)]
Implement missing conn result callback implementation
Signed-off-by: hyunho <hhstark.kang@samsung.com>
jusung [Fri, 23 Apr 2021 02:49:55 +0000 (11:49 +0900)]
Fix multiple transmission
Signed-off-by: jusung <jusung07.son@samsung.com>
강현호/Tizen Platform Lab(SR)/Engineer/삼성전자 [Tue, 27 Apr 2021 02:33:43 +0000 (11:33 +0900)]
Merge pull request #17 from appfw/master
Sync
hyunho [Fri, 23 Apr 2021 04:48:13 +0000 (13:48 +0900)]
Call ServerChannel OnDisconnected on main thread
Signed-off-by: hyunho <hhstark.kang@samsung.com>
hyunho [Thu, 22 Apr 2021 08:20:30 +0000 (17:20 +0900)]
Call OnDisconnected on main thread
Signed-off-by: hyunho <hhstark.kang@samsung.com>
hyunho [Fri, 23 Apr 2021 04:48:13 +0000 (13:48 +0900)]
Call ServerChannel OnDisconnected on main thread
Signed-off-by: hyunho <hhstark.kang@samsung.com>
hyunho [Thu, 22 Apr 2021 08:20:30 +0000 (17:20 +0900)]
Call OnDisconnected on main thread
Signed-off-by: hyunho <hhstark.kang@samsung.com>
jusung [Wed, 21 Apr 2021 00:41:46 +0000 (09:41 +0900)]
Fix coding rule
Signed-off-by: jusung <jusung07.son@samsung.com>
jusung [Tue, 20 Apr 2021 09:57:43 +0000 (18:57 +0900)]
Set dp max connection
Signed-off-by: jusung <jusung07.son@samsung.com>
강현호/Tizen Platform Lab(SR)/Engineer/삼성전자 [Wed, 21 Apr 2021 01:22:01 +0000 (10:22 +0900)]
Merge pull request #16 from appfw/master
Sync
jusung [Tue, 20 Apr 2021 09:37:39 +0000 (18:37 +0900)]
Add async sender
Signed-off-by: jusung <jusung07.son@samsung.com>
SukHyung, Kang [Wed, 24 Mar 2021 05:32:06 +0000 (14:32 +0900)]
Add Fileload
Signed-off-by: SukHyung, Kang <shine.kang@samsung.com>