summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
hwajeong.son [Thu, 4 Oct 2018 02:19:58 +0000 (11:19 +0900)]
Merge branch 'tizen', remote-tracking branch 'upstream/master'
손화정/Data Service Lab(SR)/Staff Engineer/삼성전자 [Thu, 4 Oct 2018 02:17:36 +0000 (11:17 +0900)]
Merge pull request #6 from RS7-DeviceManagement/fix/build_warning
fix build warning
hwajeong.son [Thu, 4 Oct 2018 01:48:20 +0000 (10:48 +0900)]
fix build warning
hwajeong.son [Mon, 1 Oct 2018 10:58:43 +0000 (19:58 +0900)]
Fix for SVACE (WGID 322531) in setup-adaptor
The issue is caused by g_main_loop_new.
If the thread is completed, it should be freed.
In case of error like unitializing case, it should be properly freed.
Change-Id: I1305cfcd24ccd53218818427978fac5242523089
손화정/Data Service Lab(SR)/Staff Engineer/삼성전자 [Tue, 2 Oct 2018 02:09:55 +0000 (11:09 +0900)]
Merge pull request #5 from RS7-DeviceManagement/v0.3-apply_tizen_4.0_patch
V0.3 apply tizen 4.0 patch
hwajeong.son [Mon, 1 Oct 2018 10:58:43 +0000 (19:58 +0900)]
Fix for SVACE (WGID 322531) in setup-adaptor
The issue is caused by g_main_loop_new.
If the thread is completed, it should be freed.
In case of error like unitializing case, it should be properly freed.
hwajeong.son [Mon, 1 Oct 2018 10:56:58 +0000 (19:56 +0900)]
Fix for Coverity defect(CID 104926)
Due to conditional free, the defect was occured.
Change the code to free properly.
If memory is alloced, it will be freed at the end of 'if'
hwajeong.son [Mon, 1 Oct 2018 10:56:07 +0000 (19:56 +0900)]
Change the path to manage config and flag files for setup-adaptor
from /etc/setup-adaptor -> /opt/etc/setup-adaptor
the file will be written on running time therefore, it should be rw area
hwajeong.son [Mon, 1 Oct 2018 10:54:55 +0000 (19:54 +0900)]
Fixed coverity(prevent) issue
hwajeong.son [Mon, 1 Oct 2018 10:52:22 +0000 (19:52 +0900)]
Modify handling case for not found ssid
If ssid is not able to find, setup-adaptor has to be retried to re connect next booting.
In order to provide the scenario __Wifl_scan_finished_ca() would be waited forever.
And systemd kills the service.
hwajeong.son [Mon, 1 Oct 2018 10:51:14 +0000 (19:51 +0900)]
Update version v0.3.0
hwajeong.son [Mon, 1 Oct 2018 10:50:22 +0000 (19:50 +0900)]
Fixed TPLDOCKER-382 related to ethernet cable
If the cable is detached, config.json is removed.
In this case, it has to be retried when the cable is connected.
Therefore, the flag file has to be kept
Change-Id: Ic1b52e8cc5a1e4a00acb59ca48e53c30381873e1
Signed-off-by: nshero.lee <nshero.lee@samsung.com>
Removed unnecessary value in print log
hwajeong.son [Mon, 1 Oct 2018 10:48:53 +0000 (19:48 +0900)]
Fixed TPLDOCKER-381 defect regarding invalid ssid connection
If setup-adaptor tries to connection with invalid ssid,
it will not be completed properly.
1) wifi ssid : docker, password : dockerdocker111 => Okay (invaild password case)
2) wifi ssid : docker11, password : dockerdocker => Fail (invalid ssid case)
setup-adaptor uses __wifi_scan_finished_cb function to connect.
wifi_manager_foreach_found_ap will be worked according to __wifi_connect_ap_cb() return
If all of ssids are searched and compared, it will go down and has to meet
__wifi_exit_loop() function to be completed properly.
hwajeong.son [Mon, 1 Oct 2018 10:47:54 +0000 (19:47 +0900)]
Fixed the defect TPLDPCLER-380
wifi connection is not established if wifi is already activated.
Wifi has steps to connect, before connection, it has to be activated.
If the device is activated and not connected, it would be return 'alreay
exists'. Therefore it must cover to deal with
hwajeong.son [Mon, 1 Oct 2018 10:46:47 +0000 (19:46 +0900)]
Fixed coding rule due to white space
hwajeong.son [Mon, 1 Oct 2018 10:45:40 +0000 (19:45 +0900)]
Fixed SVACE bug
Locally, the codes are checked with SVACE tool and fixed critical
and major issues
hwajeong.son [Mon, 1 Oct 2018 10:43:59 +0000 (19:43 +0900)]
Applied coding rule
Not to make coding rule error, check tizen coding rule
박지환/Advanced DX Lab(SR)/Principal Engineer/삼성전자 [Tue, 2 Jan 2018 06:29:11 +0000 (15:29 +0900)]
Merge pull request #4 from RS7-DeviceManagement/v0.1-resolve-duplication
V0.1 resolve duplication
jiehwan.park [Tue, 2 Jan 2018 06:13:03 +0000 (15:13 +0900)]
Merge branch 'master' of https://github.sec.samsung.net/RS7-DeviceManagement/setup-adaptor into v0.1-resolve-duplication
Signed-off-by: jiehwan.park <jiehwan.park@samsung.com>
박지환/Advanced DX Lab(SR)/Principal Engineer/삼성전자 [Tue, 2 Jan 2018 05:01:31 +0000 (14:01 +0900)]
Merge pull request #3 from RS7-DeviceManagement/v0.1-enable_ethernet
enable ethernet setting
wansu.yoo [Tue, 2 Jan 2018 04:38:09 +0000 (13:38 +0900)]
Removed delay for checking network state
there need some delay for sync after network setting
but delay is not proper method for waiting
so, remove delay and check routine
it have to be considered through callback or others
Signed-off-by: wansu.yoo <wansu.yoo@samsung.com>
nshero.lee [Tue, 2 Jan 2018 03:03:17 +0000 (12:03 +0900)]
Fixed excption when it prints logs
In case of dynamic allocation, it needs to check memory and print out
It was missed and added it before printing logs
Signed-off-by: nshero.lee <nshero.lee@samsung.com>
wansu.yoo [Thu, 28 Dec 2017 01:22:40 +0000 (10:22 +0900)]
Fix ethernet setting errors
1. fix parsing error of "secondaryDnsServer" key
ethernet is being enabled successfully with correct "secondaryDnsServer" value.
2. increase delay time for sync after setting. (2 -> 5 sec)
currently, __network_get_state is returning wrong value using previous connection handle.
there need more delay time after setting network to get new connection.
3. remove temporary blocked code / add some debug info
Signed-off-by: wansu.yoo <wansu.yoo@samsung.com>
jiehwan.park [Wed, 27 Dec 2017 11:21:33 +0000 (20:21 +0900)]
consider re-entrance issue.
delete config file if completed.
add each flag of configuration items because wifi has async return.
Signed-off-by: jiehwan.park <jiehwan.park@samsung.com>
sy1124.kim [Wed, 27 Dec 2017 10:09:15 +0000 (19:09 +0900)]
enable ethernet setting
Signed-off-by: sy1124.kim <sy1124.kim@samsung.com>
박지환/Advanced DX Lab(SR)/Principal Engineer/삼성전자 [Wed, 27 Dec 2017 07:01:04 +0000 (16:01 +0900)]
Merge pull request #2 from RS7-DeviceManagement/v0.1-enable_wifi
enable wifi setting
jiehwan.park [Wed, 27 Dec 2017 06:43:01 +0000 (15:43 +0900)]
enable wifi setting
Signed-off-by: jiehwan.park <jiehwan.park@samsung.com>
nshero.lee [Thu, 21 Dec 2017 08:28:18 +0000 (17:28 +0900)]
Update readme
Signed-off-by: nshero.lee <nshero.lee@samsung.com>
nshero.lee [Thu, 21 Dec 2017 06:28:24 +0000 (15:28 +0900)]
Update readme
Signed-off-by: nshero.lee <nshero.lee@samsung.com>
nshero.lee [Thu, 21 Dec 2017 06:27:09 +0000 (15:27 +0900)]
Update sample config
Signed-off-by: nshero.lee <nshero.lee@samsung.com>
nshero.lee [Thu, 21 Dec 2017 01:17:31 +0000 (10:17 +0900)]
Update
Signed-off-by: nshero.lee <nshero.lee@samsung.com>
nshero.lee [Thu, 21 Dec 2017 01:16:52 +0000 (10:16 +0900)]
Update
Signed-off-by: nshero.lee <nshero.lee@samsung.com>
nshero.lee [Thu, 21 Dec 2017 01:11:09 +0000 (10:11 +0900)]
Update
Signed-off-by: nshero.lee <nshero.lee@samsung.com>
nshero.lee [Wed, 20 Dec 2017 17:11:38 +0000 (02:11 +0900)]
Update
Signed-off-by: nshero.lee <nshero.lee@samsung.com>
nshero.lee [Wed, 20 Dec 2017 12:50:30 +0000 (21:50 +0900)]
Fixed parsing issue
Signed-off-by: nshero.lee <nshero.lee@samsung.com>
nshero.lee [Wed, 20 Dec 2017 11:09:27 +0000 (20:09 +0900)]
Change parsing structure
Signed-off-by: nshero.lee <nshero.lee@samsung.com>
nshero.lee [Wed, 20 Dec 2017 10:08:02 +0000 (19:08 +0900)]
Update implementaion
Signed-off-by: nshero.lee <nshero.lee@samsung.com>
nshero.lee [Wed, 20 Dec 2017 00:23:43 +0000 (09:23 +0900)]
Update build error according to resturctuing
Signed-off-by: nshero.lee <nshero.lee@samsung.com>
nshero.lee [Tue, 19 Dec 2017 07:23:21 +0000 (16:23 +0900)]
Modify design and apply
Signed-off-by: nshero.lee <nshero.lee@samsung.com>
nshero.lee [Tue, 19 Dec 2017 03:29:20 +0000 (12:29 +0900)]
Change file name
Signed-off-by: nshero.lee <nshero.lee@samsung.com>
nshero.lee [Mon, 18 Dec 2017 13:10:41 +0000 (22:10 +0900)]
Implement 18th Dec
Signed-off-by: nshero.lee <nshero.lee@samsung.com>
nshero.lee [Mon, 18 Dec 2017 11:17:45 +0000 (20:17 +0900)]
Update parsing code in sa_systemdata.c
Signed-off-by: nshero.lee <nshero.lee@samsung.com>
nshero.lee [Mon, 18 Dec 2017 10:23:58 +0000 (19:23 +0900)]
Update setup-adaptor implementation
Signed-off-by: nshero.lee <nshero.lee@samsung.com>
nshero.lee [Fri, 15 Dec 2017 08:39:33 +0000 (17:39 +0900)]
Modify coding rule
Signed-off-by: nshero.lee <nshero.lee@samsung.com>
Merge pull request #1 from RS7-DeviceManagement/v0.1-Skeleton_Developement
Skeleton developement
nshero.lee [Mon, 20 Nov 2017 07:28:42 +0000 (16:28 +0900)]
Skeleton developement
Signed-off-by: nshero.lee <nshero.lee@samsung.com>
Initial commit