Add network transport for image transfer 51/177851/10
authorDongwoo Lee <dwoo08.lee@samsung.com>
Wed, 27 Sep 2017 07:17:21 +0000 (16:17 +0900)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Thu, 31 May 2018 09:56:04 +0000 (18:56 +0900)
commit00e415f90e602ce21d7f984ebdf303737bd6dd6a
tree6fad436ed316c36490a5942956099413880562c5
parentc34bb09c195829235f6921812b4d85c30cc44f2b
Add network transport for image transfer

This patch adds network transport which can transfer image via tcp
layer. If the option "--net=<ip[:port]>" is passed, lthor tries to
connect the target with given ip and port, or else, it just try to
connect via usb.

When the port nubmer is not provided for network option, it uses
default port.

Change-Id: I14bea3523d01e3a4f547e41d40d353790a870460
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
CMakeLists.txt
libthor/thor.h
libthor/thor_net.c [new file with mode: 0644]
libthor/thor_transport.c
libthor/thor_transport.h
lthor.c